Implementation of numerical tensor. More...
Go to the source code of this file.
Namespaces | |
PEXSI | |
The main namespace. | |
Functions | |
template<class F > | |
void | PEXSI::SetValue (NumTns< F > &T, F val) |
SetValue sets a numerical tensor to a constant val. | |
template<class F > | |
Real | PEXSI::Energy (const NumTns< F > &T) |
Energy computes the L2 norm of a tensor (treated as a vector). | |
Implementation of numerical tensor.