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

#include <tensors.h>

Public Member Functions

 Tensor1d (int d1)
 
 Tensor1d (string name, int d1)
 
 Tensor1d ()
 
 ~Tensor1d ()
 
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 SharedTensor1d &vec)
 
void add (const SharedTensor1d &Adum)
 
void add (int i, double value)
 
void subtract (const SharedTensor1d &Adum)
 
void subtract (int i, double value)
 
double get (int i)
 
void to_shared_vector (SharedVector A)
 
double rms ()
 
double rms (const SharedTensor1d &Atemp)
 
double dot (const SharedTensor1d &y)
 
void gemv (bool transa, const SharedTensor2d &a, const SharedTensor1d &b, double alpha, double beta)
 
void gemv (bool transa, int m, int n, const SharedTensor2d &a, const SharedTensor2d &b, double alpha, double beta)
 
void gemv (bool transa, const SharedTensor2d &a, const SharedTensor2d &b, double alpha, double beta)
 
void gemv (bool transa, int m, int n, const SharedTensor2d &a, const SharedTensor2d &b, int start_a, int start_b, double alpha, double beta)
 
void gemv (bool transa, int m, int n, const SharedTensor2d &a, const SharedTensor2d &b, int start_a, int start_b, int start_c, double alpha, double beta)
 
void gbmv (bool transa, const SharedTensor2d &a, const SharedTensor1d &b, double alpha, double beta)
 
double xay (const SharedTensor2d &a, const SharedTensor1d &y)
 
void axpy (const SharedTensor1d &a, double alpha)
 
void scale (double a)
 
void copy (double *x)
 
void copy (const SharedTensor1d &x)
 
void row_vector (SharedTensor2d &A, int n)
 
void column_vector (SharedTensor2d &A, int n)
 
int dim1 () const
 
void dirprd (SharedTensor1d &a, SharedTensor1d &b)
 
void symm_packed (const SharedTensor2d &A)
 
void ltm (const SharedTensor2d &A)
 

Private Attributes

double * A1d_
 
int dim1_
 
string name_
 

Friends

class Tensor2d
 
class Tensor3d
 

Constructor & Destructor Documentation

psi::dfoccwave::Tensor1d::Tensor1d ( int  d1)
psi::dfoccwave::Tensor1d::Tensor1d ( string  name,
int  d1 
)
psi::dfoccwave::Tensor1d::Tensor1d ( )
psi::dfoccwave::Tensor1d::~Tensor1d ( )

Member Function Documentation

void psi::dfoccwave::Tensor1d::add ( const SharedTensor1d Adum)
void psi::dfoccwave::Tensor1d::add ( int  i,
double  value 
)
void psi::dfoccwave::Tensor1d::axpy ( const SharedTensor1d a,
double  alpha 
)
void psi::dfoccwave::Tensor1d::column_vector ( SharedTensor2d A,
int  n 
)
void psi::dfoccwave::Tensor1d::copy ( double *  x)
void psi::dfoccwave::Tensor1d::copy ( const SharedTensor1d x)
int psi::dfoccwave::Tensor1d::dim1 ( ) const
inline
void psi::dfoccwave::Tensor1d::dirprd ( SharedTensor1d a,
SharedTensor1d b 
)
double psi::dfoccwave::Tensor1d::dot ( const SharedTensor1d y)
void psi::dfoccwave::Tensor1d::gbmv ( bool  transa,
const SharedTensor2d a,
const SharedTensor1d b,
double  alpha,
double  beta 
)
void psi::dfoccwave::Tensor1d::gemv ( bool  transa,
const SharedTensor2d a,
const SharedTensor1d b,
double  alpha,
double  beta 
)
void psi::dfoccwave::Tensor1d::gemv ( bool  transa,
int  m,
int  n,
const SharedTensor2d a,
const SharedTensor2d b,
double  alpha,
double  beta 
)
void psi::dfoccwave::Tensor1d::gemv ( bool  transa,
const SharedTensor2d a,
const SharedTensor2d b,
double  alpha,
double  beta 
)
void psi::dfoccwave::Tensor1d::gemv ( bool  transa,
int  m,
int  n,
const SharedTensor2d a,
const SharedTensor2d b,
int  start_a,
int  start_b,
double  alpha,
double  beta 
)
void psi::dfoccwave::Tensor1d::gemv ( bool  transa,
int  m,
int  n,
const SharedTensor2d a,
const SharedTensor2d b,
int  start_a,
int  start_b,
int  start_c,
double  alpha,
double  beta 
)
double psi::dfoccwave::Tensor1d::get ( int  i)
void psi::dfoccwave::Tensor1d::init ( string  name,
int  d1 
)
void psi::dfoccwave::Tensor1d::init ( int  d1)
void psi::dfoccwave::Tensor1d::ltm ( const SharedTensor2d A)
void psi::dfoccwave::Tensor1d::memalloc ( )
void psi::dfoccwave::Tensor1d::print ( void  )
void psi::dfoccwave::Tensor1d::print ( std::string  OutFileRMR)
void psi::dfoccwave::Tensor1d::release ( )
double psi::dfoccwave::Tensor1d::rms ( )
double psi::dfoccwave::Tensor1d::rms ( const SharedTensor1d Atemp)
void psi::dfoccwave::Tensor1d::row_vector ( SharedTensor2d A,
int  n 
)
void psi::dfoccwave::Tensor1d::scale ( double  a)
void psi::dfoccwave::Tensor1d::set ( int  i,
double  value 
)
void psi::dfoccwave::Tensor1d::set ( double *  vec)
void psi::dfoccwave::Tensor1d::set ( const SharedTensor1d vec)
void psi::dfoccwave::Tensor1d::subtract ( const SharedTensor1d Adum)
void psi::dfoccwave::Tensor1d::subtract ( int  i,
double  value 
)
void psi::dfoccwave::Tensor1d::symm_packed ( const SharedTensor2d A)
void psi::dfoccwave::Tensor1d::to_shared_vector ( SharedVector  A)
double psi::dfoccwave::Tensor1d::xay ( const SharedTensor2d a,
const SharedTensor1d y 
)
void psi::dfoccwave::Tensor1d::zero ( void  )

Friends And Related Function Documentation

friend class Tensor2d
friend
friend class Tensor3d
friend

Member Data Documentation

double* psi::dfoccwave::Tensor1d::A1d_
private
int psi::dfoccwave::Tensor1d::dim1_
private
string psi::dfoccwave::Tensor1d::name_
private

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