Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
Summation along tensor diagonals. More...
Functions | |
int | diag_sym (int n, World &dw) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
Summation along tensor diagonals.
int diag_sym | ( | int | n, |
World & | dw | ||
) |
Definition at line 14 of file diag_sym.cxx.
References CTF::Tensor< dtype >::get_local_data(), CTF::Tensor< dtype >::norm2(), ctf.core::np(), NS, ctf.core::rank(), SY, and CTF::Tensor< dtype >::write().
Referenced by main().
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 70 of file diag_sym.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 81 of file diag_sym.cxx.
References diag_sym(), getCmdOption(), ctf.core::np(), and ctf.core::rank().