|
ViennaCL - The Vienna Computing Library
1.5.1
|
Generic clear functionality for different vector and matrix types. More...
#include <string>#include <fstream>#include <sstream>#include "viennacl/forwards.h"#include "viennacl/traits/size.hpp"#include <vector>#include <map>Go to the source code of this file.
Namespaces | |
| namespace | viennacl |
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them. | |
| namespace | viennacl::traits |
Namespace providing traits-information as well as generic wrappers to common routines for vectors and matrices such as size() or clear() | |
Functions | |
| template<typename VectorType > | |
| void | clear (VectorType &vec) |
| Generic routine for setting all entries of a vector to zero. This is the version for non-ViennaCL objects. | |
| template<typename ScalarType , unsigned int ALIGNMENT> | |
| void | clear (viennacl::vector< ScalarType, ALIGNMENT > &vec) |
| Generic routine for setting all entries of a vector to zero. This is the version for ViennaCL objects. | |
Generic clear functionality for different vector and matrix types.
1.7.6.1