Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays

QR factorization of CTF matrices. More...

Collaboration diagram for qr:

Functions

template<typename dtype >
bool qr (Matrix< dtype > A, int m, int n, World &dw)
 
bool test_qr (int m, int n, World dw)
 
char * getCmdOption (char **begin, char **end, const std::string &option)
 
int main (int argc, char **argv)
 

Detailed Description

QR factorization of CTF matrices.

Function Documentation

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

Definition at line 89 of file qr.cxx.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 100 of file qr.cxx.

References getCmdOption(), ctf.core::np(), ctf.core::rank(), and test_qr().

template<typename dtype >
bool qr ( Matrix< dtype >  A,
int  m,
int  n,
World dw 
)
bool test_qr ( int  m,
int  n,
World  dw 
)

Definition at line 54 of file qr.cxx.

References ctf.core::a, ctf.core::b, CTF::Tensor< dtype >::fill_random(), and CTF::World::rank.

Referenced by main().