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

#include <arrays.h>

Public Member Functions

 Array2i (int d1, int d2)
 
 Array2i (std::string name, int d1, int d2)
 
 Array2i ()
 
 ~Array2i ()
 
Array2igenerate (int d1, int d2)
 
Array2igenerate (std::string name, int d1, int d2)
 
void init (std::string name, int d1, int d2)
 
void init (int d1, int d2)
 
void memalloc ()
 
void zero ()
 
void zero_diagonal ()
 
void print ()
 
void print (std::string out_fname)
 
void release ()
 
void set (int i, int j, int value)
 
void set (int **A)
 
double get (int i, int j)
 
void add (const Array2i *Adum)
 
void add (int i, int j, int value)
 
void subtract (const Array2i *Adum)
 
void subtract (int i, int j, int value)
 
Array2itranspose ()
 
void copy (const Array2i *Adum)
 
void copy (int **a)
 
void identity ()
 
int trace ()
 
int ** to_int_matrix ()
 
int dim1 () const
 
int dim2 () const
 

Private Attributes

int ** A2i_
 
int dim1_
 
int dim2_
 
std::string name_
 

Friends

class Array1i
 
class Array3i
 
class Array1d
 
class Array2d
 

Constructor & Destructor Documentation

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

Member Function Documentation

void psi::dfoccwave::Array2i::add ( const Array2i Adum)
void psi::dfoccwave::Array2i::add ( int  i,
int  j,
int  value 
)
void psi::dfoccwave::Array2i::copy ( const Array2i Adum)
void psi::dfoccwave::Array2i::copy ( int **  a)
int psi::dfoccwave::Array2i::dim1 ( ) const
inline
int psi::dfoccwave::Array2i::dim2 ( ) const
inline
Array2i * psi::dfoccwave::Array2i::generate ( int  d1,
int  d2 
)
Array2i * psi::dfoccwave::Array2i::generate ( std::string  name,
int  d1,
int  d2 
)
double psi::dfoccwave::Array2i::get ( int  i,
int  j 
)
void psi::dfoccwave::Array2i::identity ( )
void psi::dfoccwave::Array2i::init ( std::string  name,
int  d1,
int  d2 
)
void psi::dfoccwave::Array2i::init ( int  d1,
int  d2 
)
void psi::dfoccwave::Array2i::memalloc ( )
void psi::dfoccwave::Array2i::print ( void  )
void psi::dfoccwave::Array2i::print ( std::string  out_fname)
void psi::dfoccwave::Array2i::release ( )
void psi::dfoccwave::Array2i::set ( int  i,
int  j,
int  value 
)
void psi::dfoccwave::Array2i::set ( int **  A)
void psi::dfoccwave::Array2i::subtract ( const Array2i Adum)
void psi::dfoccwave::Array2i::subtract ( int  i,
int  j,
int  value 
)
int ** psi::dfoccwave::Array2i::to_int_matrix ( )
int psi::dfoccwave::Array2i::trace ( )
Array2i * psi::dfoccwave::Array2i::transpose ( )
void psi::dfoccwave::Array2i::zero ( void  )
void psi::dfoccwave::Array2i::zero_diagonal ( )

Friends And Related Function Documentation

friend class Array1d
friend
friend class Array1i
friend
friend class Array2d
friend
friend class Array3i
friend

Member Data Documentation

int** psi::dfoccwave::Array2i::A2i_
private
int psi::dfoccwave::Array2i::dim1_
private
int psi::dfoccwave::Array2i::dim2_
private
std::string psi::dfoccwave::Array2i::name_
private

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