Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
jacobi

Jacobi iterative method using gemv and spmv. More...

Collaboration diagram for jacobi:

Functions

void jacobi_iter (Matrix<> &R, Vector<> &b, Vector<> &d, Vector<> &x)
 
int jacobi (int n, World &dw)
 
char * getCmdOption (char **begin, char **end, const std::string &option)
 
int main (int argc, char **argv)
 

Detailed Description

Jacobi iterative method using gemv and spmv.

Function Documentation

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

Definition at line 103 of file jacobi.cxx.

Referenced by main().

void jacobi_iter ( Matrix<> &  R,
Vector<> &  b,
Vector<> &  d,
Vector<> &  x 
)

Definition at line 13 of file jacobi.cxx.

Referenced by jacobi().

int main ( int  argc,
char **  argv 
)

Definition at line 114 of file jacobi.cxx.

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