Psi4
Public Member Functions | Private Attributes | List of all members
psi::dfoccwave::Tensor1i Class Reference

#include <tensors.h>

Public Member Functions

 Tensor1i (int d1)
 
 Tensor1i (std::string name, int d1)
 
 Tensor1i ()
 
 ~Tensor1i ()
 
void init (std::string name, int d1)
 
void init (int d1)
 
void memalloc ()
 
void zero ()
 
void print ()
 
void release ()
 
void set (int i, int value)
 
int get (int i)
 
void add (const SharedTensor1i &Adum)
 
void add (int i, int value)
 
void subtract (const SharedTensor1i &Adum)
 
void subtract (int i, int value)
 

Private Attributes

int * A1i_
 
int dim1_
 
std::string name_
 

Constructor & Destructor Documentation

psi::dfoccwave::Tensor1i::Tensor1i ( int  d1)
psi::dfoccwave::Tensor1i::Tensor1i ( std::string  name,
int  d1 
)
psi::dfoccwave::Tensor1i::Tensor1i ( )
psi::dfoccwave::Tensor1i::~Tensor1i ( )

Member Function Documentation

void psi::dfoccwave::Tensor1i::add ( const SharedTensor1i Adum)
void psi::dfoccwave::Tensor1i::add ( int  i,
int  value 
)
int psi::dfoccwave::Tensor1i::get ( int  i)
void psi::dfoccwave::Tensor1i::init ( std::string  name,
int  d1 
)
void psi::dfoccwave::Tensor1i::init ( int  d1)
void psi::dfoccwave::Tensor1i::memalloc ( )
void psi::dfoccwave::Tensor1i::print ( void  )
void psi::dfoccwave::Tensor1i::release ( )
void psi::dfoccwave::Tensor1i::set ( int  i,
int  value 
)
void psi::dfoccwave::Tensor1i::subtract ( const SharedTensor1i Adum)
void psi::dfoccwave::Tensor1i::subtract ( int  i,
int  value 
)
void psi::dfoccwave::Tensor1i::zero ( void  )

Member Data Documentation

int* psi::dfoccwave::Tensor1i::A1i_
private
int psi::dfoccwave::Tensor1i::dim1_
private
std::string psi::dfoccwave::Tensor1i::name_
private

The documentation for this class was generated from the following files: