Go to the source code of this file.
Functions | |
template<typename ScalarType > | |
ScalarType | diff (ScalarType &s1, viennacl::scalar< ScalarType > &s2) |
template<typename NumericT , typename Epsilon > | |
int | test (Epsilon const &epsilon) |
int | main () |
Tests operations for viennacl::scalar objects.
Definition in file scalar.cpp.
ScalarType diff | ( | ScalarType & | s1, |
viennacl::scalar< ScalarType > & | s2 | ||
) |
Definition at line 39 of file scalar.cpp.
int main | ( | ) |
Definition at line 407 of file scalar.cpp.
int test | ( | Epsilon const & | epsilon | ) |
Definition at line 50 of file scalar.cpp.