PEXSI
 All Classes Namespaces Files Functions Variables Typedefs Pages
Namespaces | Functions
NumTns_impl.hpp File Reference

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).
 

Detailed Description

Implementation of numerical tensor.

Date
2010-09-27