| Cyclops Tensor Framework
    parallel arithmetic on multidimensional arrays | 
Basic functionality test for CTF::Scalar<> type and tensors with a zero edge length. More...
|   | 
| Functions | |
| int | scalar (CTF::World &dw) | 
| char * | getCmdOption (char **begin, char **end, const std::string &option) | 
| int | main (int argc, char **argv) | 
Basic functionality test for CTF::Scalar<> type and tensors with a zero edge length.
| char* getCmdOption | ( | char ** | begin, | 
| char ** | end, | ||
| const std::string & | option | ||
| ) | 
Definition at line 137 of file test/scalar.cxx.
| int main | ( | int | argc, | 
| char ** | argv | ||
| ) | 
Definition at line 148 of file test/scalar.cxx.
References ctf.core::np(), ctf.core::rank(), and scalar().
| int scalar | ( | CTF::World & | dw | ) | 
Definition at line 12 of file test/scalar.cxx.
References ctf.core::abs(), AS, CTF::Tensor< dtype >::get_local_data(), CTF::Tensor< dtype >::norm2(), ctf.core::np(), NS, CTF::OP_SUMABS, CTF::Tensor< dtype >::print(), ctf.core::rank(), CTF::Tensor< dtype >::reduce(), SY, and CTF::Tensor< dtype >::write().
Referenced by main().