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

Numerical tensor. More...

#include "pexsi/environment.hpp"
#include "pexsi/NumMat.hpp"
#include "pexsi/NumTns_impl.hpp"

Go to the source code of this file.

Classes

class  PEXSI::NumTns< F >
 Numerical tensor. More...
 

Namespaces

 PEXSI
 The main namespace.
 

Typedefs

typedef NumTns< bool > PEXSI::BolNumTns
 
typedef NumTns< Int > PEXSI::IntNumTns
 
typedef NumTns< Real > PEXSI::DblNumTns
 
typedef NumTns< Complex > PEXSI::CpxNumTns
 

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

Numerical tensor.

Date
2010-09-27