Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays

SVD factorization of CTF matrices. More...

Collaboration diagram for svd:

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)
 

Detailed Description

SVD factorization of CTF matrices.

Function Documentation

char* getCmdOption ( char **  begin,
char **  end,
const std::string &  option 
)

Definition at line 105 of file svd.cxx.

Referenced by main().

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().

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 
)

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().