Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays

Summation along tensor diagonals. More...

Collaboration diagram for diag_ctr:


int diag_ctr (int n, int m, World &dw)
char * getCmdOption (char **begin, char **end, const std::string &option)
int main (int argc, char **argv)

Detailed Description

Summation along tensor diagonals.

Function Documentation

int diag_ctr ( int  n,
int  m,
World dw 
char* getCmdOption ( char **  begin,
char **  end,
const std::string &  option 

Definition at line 65 of file diag_ctr.cxx.

Referenced by main().

int main ( int  argc,
char **  argv 

Definition at line 76 of file diag_ctr.cxx.

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