Psi4
Public Member Functions | Private Attributes | List of all members
psi::mcscf::VectorBase Class Reference

#include <vector_base.h>

Public Member Functions

 VectorBase ()
 
 VectorBase (int rows)
 
 ~VectorBase ()
 
int get_elements ()
 
void set (int i, double value)
 
void add (int i, double value)
 
double get (int i)
 
double * get_vector ()
 
void print ()
 
void copy (VectorBase &source)
 

Private Attributes

size_t elements_
 
double * vector_
 

Constructor & Destructor Documentation

psi::mcscf::VectorBase::VectorBase ( )
psi::mcscf::VectorBase::VectorBase ( int  rows)
psi::mcscf::VectorBase::~VectorBase ( )

Member Function Documentation

void psi::mcscf::VectorBase::add ( int  i,
double  value 
)
inline
void psi::mcscf::VectorBase::copy ( VectorBase source)
double psi::mcscf::VectorBase::get ( int  i)
inline
int psi::mcscf::VectorBase::get_elements ( )
inline
double* psi::mcscf::VectorBase::get_vector ( )
inline
void psi::mcscf::VectorBase::print ( void  )
void psi::mcscf::VectorBase::set ( int  i,
double  value 
)
inline

Member Data Documentation

size_t psi::mcscf::VectorBase::elements_
private
double* psi::mcscf::VectorBase::vector_
private

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