1 #ifndef UTIL_SET_TO_ZERO_H 2 #define UTIL_SET_TO_ZERO_H 11 #include <util/space/Vector.h> 12 #include <util/space/Tensor.h> 66 { value = complex<float>(0.0, 0.0); }
74 { value = complex<double>(0.0, 0.0); }
Vector & zero()
Set all elements of a 3D vector to zero.
A Vector is a Cartesian vector.
Tensor & zero()
Set all elements of this tensor to zero.
A Tensor represents a Cartesian tensor.
void setToZero(int &value)
Set an int variable to zero.
Utility classes for scientific computation.