39 arma_bad(
"svd(): failed to converge",
false);
66 arma_bad(
"svd(): failed to converge");
89 typedef typename T1::elem_type eT;
93 ( ((
void*)(&U) == (
void*)(&S)) || (&U == &V) || ((
void*)(&S) == (
void*)(&V)) ),
94 "svd(): two or more output objects are the same object" 105 arma_bad(
"svd(): failed to converge",
false);
113 template<
typename T1>
122 const char mode =
'b',
129 typedef typename T1::elem_type eT;
133 ( ((
void*)(&U) == (
void*)(&S)) || (&U == &V) || ((
void*)(&S) == (
void*)(&V)) ),
134 "svd_econ(): two or more output objects are the same object" 139 ( (mode !=
'l') && (mode !=
'r') && (mode !=
'b') ),
140 "svd_econ(): parameter 'mode' is incorrect" 152 arma_bad(
"svd_econ(): failed to converge",
false);
160 template<
typename T1>
170 const char mode =
'b',
arma_deprecated bool svd_thin(Mat< typename T1::elem_type > &U, Col< typename T1::pod_type > &S, Mat< typename T1::elem_type > &V, const Base< typename T1::elem_type, T1 > &X, const char mode= 'b', const typename arma_blas_type_only< typename T1::elem_type >::result *junk=0)
Class for column vectors (matrices with only one column)
#define arma_ignore(variable)
bool svd_econ(Mat< typename T1::elem_type > &U, Col< typename T1::pod_type > &S, Mat< typename T1::elem_type > &V, const Base< typename T1::elem_type, T1 > &X, const char mode= 'b', const typename arma_blas_type_only< typename T1::elem_type >::result *junk=0)
#define arma_extra_debug_sigprint
void arma_cold arma_bad(const T1 &x, const bool hurl=true)
print a message to get_stream_err2() and/or throw a run-time error exception
bool svd(Col< typename T1::pod_type > &S, const Base< typename T1::elem_type, T1 > &X, const typename arma_blas_type_only< typename T1::elem_type >::result *junk=0)
static bool svd(Col< eT > &S, const Base< eT, T1 > &X, uword &n_rows, uword &n_cols)
static bool svd_econ(Mat< eT > &U, Col< eT > &S, Mat< eT > &V, const Base< eT, T1 > &X, const char mode)