Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
bivar_function

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

Collaboration diagram for bivar_function:

Functions

double f2 (double a, double b)
 
int bivar_function (int n, 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

int bivar_function ( int  n,
World dw 
)
double f2 ( double  a,
double  b 
)

Definition at line 13 of file bivar_function.cxx.

References ctf.core::a.

Referenced by bivar_function(), train_dns_vec_mat(), and train_sps_vec_mat().

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

Definition at line 71 of file bivar_function.cxx.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 82 of file bivar_function.cxx.

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