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); }
A Tensor represents a Cartesian tensor.
Tensor & zero()
Set all elements of this tensor to zero.
A Vector is a Cartesian vector.
Vector & zero()
Set all elements of a 3D vector to zero.
Utility classes for scientific computation.
void setToZero(int &value)
Set an int variable to zero.