ergo
|
#include <MatrixBase.h>
Public Member Functions | |
void | resetSizesAndBlocks (SizesAndBlocks const &newRows) |
bool | is_empty () const |
void | clear_structure () |
VectorGeneral (SizesAndBlocks const &newRows) | |
VectorGeneral () | |
VectorGeneral (const VectorGeneral< Treal, Tvector > &other) | |
void | assign_from_full (std::vector< Treal > const &fullVector, SizesAndBlocks const &newRows) |
void | fullvector (std::vector< Treal > &fullVector) const |
VectorGeneral< Treal, Tvector > & | operator= (const VectorGeneral< Treal, Tvector > &other) |
void | clear () |
void | rand () |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator= (const XYZ< Treal, MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > &smv) |
y = alpha * op(A) * x More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator+= (const XYZ< Treal, MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > &smv) |
y += alpha * op(A) * x More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator= (const XYZpUV< Treal, MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector >, Treal, VectorGeneral< Treal, Tvector > > &smvpsv) |
y = alpha * op(A) * x + beta * y More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator= (const XY< MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > &mv) |
y = op(A) * x : A is general More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator= (const XYZ< Treal, MatrixSymmetric< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > &smv) |
y = alpha * A * x : A is symmetric More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator+= (const XYZ< Treal, MatrixSymmetric< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > &smv) |
y += alpha * A * x : A is symmetric More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator= (const XYZpUV< Treal, MatrixSymmetric< Treal, Tmatrix >, VectorGeneral< Treal, Tvector >, Treal, VectorGeneral< Treal, Tvector > > &smvpsv) |
y = alpha * A * x + beta * y : A is symmetric More... | |
template<typename Tmatrix > | |
VectorGeneral< Treal, Tvector > & | operator= (const XY< MatrixTriangular< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > &mv) |
y = op(A) * x : A is triangular More... | |
Treal | eucl () const |
VectorGeneral< Treal, Tvector > & | operator*= (Treal const alpha) |
VectorGeneral< Treal, Tvector > & | operator= (int const k) |
VectorGeneral< Treal, Tvector > & | operator+= (const XY< Treal, VectorGeneral< Treal, Tvector > > &sv) |
y += alpha * x More... | |
Tvector const & | getVector () const |
std::string | obj_type_id () const |
Protected Member Functions | |
void | writeToFileProt (std::ofstream &file) const |
void | readFromFileProt (std::ifstream &file) |
void | inMemorySet (bool inMem) |
Protected Attributes | |
ValidPtr< Tvector > | vectorPtr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References mat::VectorGeneral< Treal, Tvector >::is_empty(), and mat::VectorGeneral< Treal, Tvector >::vectorPtr.
Referenced by GetDensFromFock::create_checkpoint().
|
inline |
|
inline |
References mat::VectorGeneral< Treal, Tvector >::vectorPtr.
Referenced by eigvec::compute_rayleigh_quotient(), eigvec::lanczos_method(), main(), mainFun(), and eigvec::power_method().
|
inline |
References mat::VectorGeneral< Treal, Tvector >::vectorPtr.
Referenced by SCF_restricted::create_eigvec_file(), SCF_unrestricted::create_eigvec_file(), SCF_restricted::get_expected_values_pos_operator(), main(), mainFun(), SCF_restricted::output_density_images_orbital(), PurificationGeneral< MatrixType >::save_selected_eigenvector_to_file(), and test1().
|
inline |
References mat::VectorGeneral< Treal, Tvector >::vectorPtr.
|
inlineprotected |
|
inline |
References mat::ValidPtr< Tobj >::haveDataStructureGet(), and mat::VectorGeneral< Treal, Tvector >::vectorPtr.
Referenced by mat::VectorGeneral< Treal, Tvector >::clear(), GetDensFromFock::create_checkpoint(), SCF_restricted::create_eigvec_file(), SCF_unrestricted::create_eigvec_file(), SCF_restricted::get_expected_values_pos_operator(), SCF_restricted::output_density_images_orbital(), mat::VectorGeneral< Treal, Tvector >::readFromFileProt(), test1(), and mat::VectorGeneral< Treal, Tvector >::writeToFileProt().
|
inline |
|
inline |
References mat::VectorGeneral< Treal, Tvector >::vectorPtr.
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator+= | ( | const XY< Treal, VectorGeneral< Treal, Tvector > > & | sv | ) |
y += alpha * x
References mat::axpy().
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator+= | ( | const XYZ< Treal, MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > & | smv | ) |
y += alpha * op(A) * x
References mat::gemv().
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator+= | ( | const XYZ< Treal, MatrixSymmetric< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > & | smv | ) |
y += alpha * A * x : A is symmetric
References mat::symv().
|
inline |
|
inline |
y = op(A) * x : A is general
References mat::VectorGeneral< Treal, Tvector >::operator=().
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator= | ( | const XY< MatrixTriangular< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > & | mv | ) |
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator= | ( | const XYZ< Treal, MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > & | smv | ) |
y = alpha * op(A) * x
References mat::gemv().
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator= | ( | const XYZ< Treal, MatrixSymmetric< Treal, Tmatrix >, VectorGeneral< Treal, Tvector > > & | smv | ) |
y = alpha * A * x : A is symmetric
References mat::symv().
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator= | ( | const XYZpUV< Treal, MatrixGeneral< Treal, Tmatrix >, VectorGeneral< Treal, Tvector >, Treal, VectorGeneral< Treal, Tvector > > & | smvpsv | ) |
y = alpha * op(A) * x + beta * y
References mat::gemv().
VectorGeneral< Treal, Tvector > & mat::VectorGeneral< Treal, Tvector >::operator= | ( | const XYZpUV< Treal, MatrixSymmetric< Treal, Tmatrix >, VectorGeneral< Treal, Tvector >, Treal, VectorGeneral< Treal, Tvector > > & | smvpsv | ) |
y = alpha * A * x + beta * y : A is symmetric
References mat::symv().
|
inline |
References mat::VectorGeneral< Treal, Tvector >::vectorPtr.
|
inline |
|
inlineprotected |
|
inline |
References mat::ValidPtr< Tobj >::haveDataStructureSet(), and mat::VectorGeneral< Treal, Tvector >::vectorPtr.
Referenced by mat::VectorGeneral< Treal, Tvector >::assign_from_full(), mat::MatrixGeneral< Treal, Tmatrix >::eucl(), mat::MatrixSymmetric< Treal, Tmatrix >::eucl(), mat::MatrixTriangular< Treal, Tmatrix >::eucl(), main(), mainFun(), GetDensFromFock::restore_from_checkpoint(), and mat::VectorGeneral< Treal, Tvector >::VectorGeneral().
|
inlineprotected |
|
protected |
Referenced by mat::VectorGeneral< Treal, Tvector >::assign_from_full(), mat::VectorGeneral< Treal, Tvector >::clear(), mat::VectorGeneral< Treal, Tvector >::clear_structure(), mat::VectorGeneral< Treal, Tvector >::eucl(), mat::VectorGeneral< Treal, Tvector >::fullvector(), mat::VectorGeneral< Treal, Tvector >::getVector(), mat::VectorGeneral< Treal, Tvector >::inMemorySet(), mat::VectorGeneral< Treal, Tvector >::is_empty(), mat::VectorGeneral< Treal, Tvector >::operator*=(), mat::VectorGeneral< Treal, Tvector >::operator=(), mat::VectorGeneral< Treal, Tvector >::rand(), mat::VectorGeneral< Treal, Tvector >::readFromFileProt(), mat::VectorGeneral< Treal, Tvector >::resetSizesAndBlocks(), mat::VectorGeneral< Treal, Tvector >::VectorGeneral(), and mat::VectorGeneral< Treal, Tvector >::writeToFileProt().