Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
SVD factorization of CTF matrices. More...
Functions | |
template<typename dtype > | |
bool | svd (Matrix< dtype > A, int m, int n, int k, World &dw) |
bool | test_svd (int m, int n, int k, World dw) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
SVD factorization of CTF matrices.
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 116 of file svd.cxx.
References getCmdOption(), ctf.core::np(), ctf.core::rank(), and test_svd().
Definition at line 14 of file svd.cxx.
References CTF::Tensor< dtype >::norm2(), CTF::World::rank, and CTF::Matrix< dtype >::svd().
bool test_svd | ( | int | m, |
int | n, | ||
int | k, | ||
World | dw | ||
) |
Definition at line 70 of file svd.cxx.
References ctf.core::a, ctf.core::b, CTF::Tensor< dtype >::fill_random(), and CTF::World::rank.
Referenced by main().