Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
weigh_4D

tests custom element-wise functions by implementing division elementwise on 4D tensors More...

Collaboration diagram for weigh_4D:

Functions

double divide (double a, double b)
 
int weigh_4D (int const n, int const sym, World &dw)
 
char * getCmdOption (char **begin, char **end, const std::string &option)
 
int main (int argc, char **argv)
 

Detailed Description

tests custom element-wise functions by implementing division elementwise on 4D tensors

Function Documentation

double divide ( double  a,
double  b 
)

Definition at line 13 of file weigh_4D.cxx.

References ctf.core::b.

Referenced by weigh_4D().

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

Definition at line 86 of file weigh_4D.cxx.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 97 of file weigh_4D.cxx.

References AS, getCmdOption(), ctf.core::np(), NS, ctf.core::rank(), SY, and weigh_4D().

int weigh_4D ( int const  n,
int const  sym,
World dw 
)