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

#include <arrays.h>

Public Member Functions

 Array1d (int d1)
 
 Array1d (string name, int d1)
 
 Array1d ()
 
 ~Array1d ()
 
Array1dgenerate (int d1)
 
Array1dgenerate (string name, int d1)
 
void init (string name, int d1)
 
void init (int d1)
 
void memalloc ()
 
void zero ()
 
void print ()
 
void print (std::string OutFileRMR)
 
void release ()
 
void set (int i, double value)
 
void set (double *vec)
 
void set (const Array1d *vec)
 
void add (const Array1d *Adum)
 
void add (int i, double value)
 
void subtract (const Array1d *Adum)
 
void subtract (int i, double value)
 
double get (int i)
 
double rms ()
 
double rms (const Array1d *Atemp)
 
double dot (const Array1d *y)
 
void gemv (bool transa, double alpha, const Array2d *a, const Array1d *b, double beta)
 
void gbmv (bool transa, double alpha, const Array2d *a, const Array1d *b, double beta)
 
double xay (const Array2d *a, const Array1d *y)
 
void scale (double a)
 
void copy (double *x)
 
void copy (const Array1d *x)
 
void row_vector (Array2d *A, int n)
 
void column_vector (Array2d *A, int n)
 
int dim1 () const
 
void dirprd (Array1d *a, Array1d *b)
 

Private Attributes

double * A1d_
 
int dim1_
 
string name_
 

Friends

class Array2d
 
class Array3d
 

Constructor & Destructor Documentation

psi::occwave::Array1d::Array1d ( int  d1)
psi::occwave::Array1d::Array1d ( string  name,
int  d1 
)
psi::occwave::Array1d::Array1d ( )
psi::occwave::Array1d::~Array1d ( )

Member Function Documentation

void psi::occwave::Array1d::add ( const Array1d Adum)
void psi::occwave::Array1d::add ( int  i,
double  value 
)
void psi::occwave::Array1d::column_vector ( Array2d A,
int  n 
)
void psi::occwave::Array1d::copy ( double *  x)
void psi::occwave::Array1d::copy ( const Array1d x)
int psi::occwave::Array1d::dim1 ( ) const
inline
void psi::occwave::Array1d::dirprd ( Array1d a,
Array1d b 
)
double psi::occwave::Array1d::dot ( const Array1d y)
void psi::occwave::Array1d::gbmv ( bool  transa,
double  alpha,
const Array2d a,
const Array1d b,
double  beta 
)
void psi::occwave::Array1d::gemv ( bool  transa,
double  alpha,
const Array2d a,
const Array1d b,
double  beta 
)
Array1d * psi::occwave::Array1d::generate ( int  d1)
Array1d * psi::occwave::Array1d::generate ( string  name,
int  d1 
)
double psi::occwave::Array1d::get ( int  i)
void psi::occwave::Array1d::init ( string  name,
int  d1 
)
void psi::occwave::Array1d::init ( int  d1)
void psi::occwave::Array1d::memalloc ( )
void psi::occwave::Array1d::print ( void  )
void psi::occwave::Array1d::print ( std::string  OutFileRMR)
void psi::occwave::Array1d::release ( )
double psi::occwave::Array1d::rms ( )
double psi::occwave::Array1d::rms ( const Array1d Atemp)
void psi::occwave::Array1d::row_vector ( Array2d A,
int  n 
)
void psi::occwave::Array1d::scale ( double  a)
void psi::occwave::Array1d::set ( int  i,
double  value 
)
void psi::occwave::Array1d::set ( double *  vec)
void psi::occwave::Array1d::set ( const Array1d vec)
void psi::occwave::Array1d::subtract ( const Array1d Adum)
void psi::occwave::Array1d::subtract ( int  i,
double  value 
)
double psi::occwave::Array1d::xay ( const Array2d a,
const Array1d y 
)
void psi::occwave::Array1d::zero ( void  )

Friends And Related Function Documentation

friend class Array2d
friend
friend class Array3d
friend

Member Data Documentation

double* psi::occwave::Array1d::A1d_
private
int psi::occwave::Array1d::dim1_
private
string psi::occwave::Array1d::name_
private

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