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

#include <matrix_base.h>

Public Member Functions

 MatrixBase ()
 
 MatrixBase (size_t rows, size_t cols)
 
 ~MatrixBase ()
 
size_t get_rows ()
 
size_t get_cols ()
 
size_t get_elements ()
 
void set (size_t i, size_t j, double value)
 
void add (size_t i, size_t j, double value)
 
double get (size_t i, size_t j)
 
double ** get_matrix ()
 
void multiply (bool transpose_A, bool transpose_B, MatrixBase *A, MatrixBase *B)
 
void diagonalize (MatrixBase *eigenmatrix, VectorBase *eigenvalues)
 
void print ()
 
void zero ()
 
void zero_diagonal ()
 
void scale (double factor)
 
void transpose ()
 
MatrixBaseoperator+= (const MatrixBase &rhs)
 
MatrixBaseoperator-= (const MatrixBase &rhs)
 

Private Attributes

size_t rows_
 
size_t cols_
 
size_t elements_
 
double ** matrix_
 

Friends

double dot (MatrixBase *A, MatrixBase *B)
 

Constructor & Destructor Documentation

psi::mcscf::MatrixBase::MatrixBase ( )
psi::mcscf::MatrixBase::MatrixBase ( size_t  rows,
size_t  cols 
)
psi::mcscf::MatrixBase::~MatrixBase ( )

Member Function Documentation

void psi::mcscf::MatrixBase::add ( size_t  i,
size_t  j,
double  value 
)
inline
void psi::mcscf::MatrixBase::diagonalize ( MatrixBase eigenmatrix,
VectorBase eigenvalues 
)
double psi::mcscf::MatrixBase::get ( size_t  i,
size_t  j 
)
inline
size_t psi::mcscf::MatrixBase::get_cols ( )
inline
size_t psi::mcscf::MatrixBase::get_elements ( )
inline
double** psi::mcscf::MatrixBase::get_matrix ( )
inline
size_t psi::mcscf::MatrixBase::get_rows ( )
inline
void psi::mcscf::MatrixBase::multiply ( bool  transpose_A,
bool  transpose_B,
MatrixBase A,
MatrixBase B 
)
MatrixBase & psi::mcscf::MatrixBase::operator+= ( const MatrixBase rhs)
MatrixBase & psi::mcscf::MatrixBase::operator-= ( const MatrixBase rhs)
void psi::mcscf::MatrixBase::print ( void  )
void psi::mcscf::MatrixBase::scale ( double  factor)
void psi::mcscf::MatrixBase::set ( size_t  i,
size_t  j,
double  value 
)
inline
void psi::mcscf::MatrixBase::transpose ( )
void psi::mcscf::MatrixBase::zero ( void  )
void psi::mcscf::MatrixBase::zero_diagonal ( )

Friends And Related Function Documentation

double dot ( MatrixBase A,
MatrixBase B 
)
friend

Member Data Documentation

size_t psi::mcscf::MatrixBase::cols_
private
size_t psi::mcscf::MatrixBase::elements_
private
double** psi::mcscf::MatrixBase::matrix_
private
size_t psi::mcscf::MatrixBase::rows_
private

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