This file implements command line interface for the QUIC-SVD method. More...
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
double | norm (const Matrix &A) |
Variables | |
const fx_module_doc | quicsvd_main_doc |
const fx_entry_doc | quicsvd_main_entries [] |
const fx_submodule_doc | quicsvd_main_submodules [] |
This file implements command line interface for the QUIC-SVD method.
It approximate the original matrix by another matrix with smaller dimension to a certain accuracy degree specified by the user and then make SVD decomposition in the projected supspace.
Run with --help for more usage.
Definition in file quicsvd_main.cc.
const fx_module_doc quicsvd_main_doc |
{ quicsvd_main_entries, quicsvd_main_submodules, "This is a program calculating an approximated Singular " "Value Decomposition using QUIC-SVD method.\n" }
Definition at line 78 of file quicsvd_main.cc.
const fx_entry_doc quicsvd_main_entries[] |
{ {"A_in", FX_REQUIRED, FX_STR, NULL, " File consists of matrix A to be decomposed A = U S VT. \n"}, {"relErr", FX_PARAM, FX_DOUBLE, NULL, " Target relative error |A|-|A'|/|A|, default = 0.1.\n"}, {"U_out", FX_PARAM, FX_STR, NULL, " File to hold matrix U.\n"}, {"s_out", FX_PARAM, FX_STR, NULL, " File to hold the singular values vector s.\n"}, {"VT_out", FX_PARAM, FX_STR, NULL, " File to hold matrix VT (V transposed).\n"}, {"SVT_out", FX_PARAM, FX_STR, NULL, " File to hold matrix S * VT (the dimension reduced data).\n"}, {"lasvd", FX_PARAM, FX_STR, NULL, " Use this parameter to compare running time to that of la::SVDInit().\n"}, {"quicsvd_time", FX_TIMER, FX_CUSTOM, NULL, " time to run the QUIC-SVD algorithm.\n"}, {"lasvd_time", FX_TIMER, FX_CUSTOM, NULL, " time to run the SVD algorithm from LAPACK.\n"}, {"actualErr", FX_RESULT, FX_DOUBLE, NULL, " actual relative norm error.\n"}, {"dimension", FX_RESULT, FX_INT, NULL, " the reduced dimension of the data.\n"}, FX_ENTRY_DOC_DONE }
Definition at line 48 of file quicsvd_main.cc.
const fx_submodule_doc quicsvd_main_submodules[] |
{ FX_SUBMODULE_DOC_DONE }
Definition at line 74 of file quicsvd_main.cc.