#include <CoeffsMatrix.h>

Public Member Functions | |
| CoeffsMatrix (const std::string &, const std::vector< std::string > &, const std::vector< unsigned int > &, Communicator &cc, const bool diagonal=true, const bool use_iteration_counter=false) | |
| CoeffsMatrix (const std::string &, std::vector< Value *> &, std::vector< BasisFunctions *> &, Communicator &cc, const bool diagonal=true, const bool use_iteration_counter=false) | |
| CoeffsMatrix (const std::string &, std::vector< std::vector< Value *> > &argsv, std::vector< std::vector< BasisFunctions *> > &basisfv, Communicator &cc, const bool diagonal=true, const bool use_iteration_counter=false, const std::string &multicoeffs_label="bias") | |
| CoeffsMatrix (const std::string &, CoeffsVector *, Communicator &cc, const bool diagonal=true) | |
| ~CoeffsMatrix () | |
| void | activate () |
| void | addToAverage (const CoeffsMatrix &) |
| void | addToAverage (const CoeffsMatrix &, const unsigned int) |
| void | addToValue (const size_t, const size_t, const double) |
| void | addToValue (const std::vector< unsigned int > &, const std::vector< unsigned int > &, const double) |
| void | addToValues (const double) |
| void | addToValues (const std::vector< double > &) |
| void | addToValues (const CoeffsMatrix &) |
| void | checkCoeffsInfo (const std::string &, const std::string &, const unsigned int, const size_t, const std::vector< unsigned int > &) |
| void | clear () |
| void | deactivate () |
| std::vector< std::string > | getAllCoeffsDescriptions () const |
| std::vector< std::string > | getAllDimensionLabels () const |
| std::string | getCoeffDescription (const size_t index) const |
| std::string | getCoeffDescription (const std::vector< unsigned int > &) const |
| void | getCoeffsInfoFromFile (IFile &, const bool ignore_coeffs_info=false) |
| Communicator & | getCommunicator () const |
| std::vector< double > | getDataAsVector () const |
| std::string | getDataLabel () const |
| std::string | getDimensionLabel (const unsigned int) const |
| size_t | getIndex (const std::vector< unsigned int > &) const |
| std::vector< unsigned int > | getIndices (const size_t) const |
| unsigned int | getIterationCounter () const |
| std::string | getLabel () const |
| size_t | getMatrixIndex (const size_t, const size_t) const |
| double | getMaxValue () const |
| double | getMinValue () const |
| std::string | getOutputFmt () const |
| Action * | getPntrToAction () const |
| VesBias * | getPntrToVesBias () const |
| size_t | getSize () const |
| double | getTimeValue () const |
| CoeffsType | getType () const |
| std::string | getTypeStr () const |
| double | getValue (const size_t, const size_t) const |
| double | getValue (const std::vector< unsigned int > &, const std::vector< unsigned int > &) const |
| bool | indicesExist (const std::vector< unsigned int > &) const |
| bool | isActive () const |
| bool | isDiagonal () const |
| bool | isGenericCoeffs () const |
| bool | isIterationCounterActive () const |
| bool | isLinearBasisSetCoeffs () const |
| bool | isMultiLinearBasisSetCoeffs () const |
| bool | isSymmetric () const |
| void | linkAction (Action *) |
| void | linkVesBias (VesBias *) |
| size_t | numberOfCoeffs () const |
| unsigned int | numberOfDimensions () const |
| double & | operator() (const size_t, const size_t) |
| const double & | operator() (const size_t, const size_t) const |
| double & | operator() (const std::vector< unsigned int > &, const std::vector< unsigned int > &) |
| const double & | operator() (const std::vector< unsigned int > &, const std::vector< unsigned int > &) const |
| CoeffsMatrix | operator* (const CoeffsMatrix &) const |
| CoeffsMatrix & | operator*= (const double) |
| CoeffsMatrix & | operator*= (const CoeffsMatrix &) |
| CoeffsMatrix | operator+ () const |
| CoeffsMatrix | operator+ (const CoeffsMatrix &) const |
| CoeffsMatrix & | operator+= (const double) |
| CoeffsMatrix & | operator+= (const std::vector< double > &) |
| CoeffsMatrix & | operator+= (const CoeffsMatrix &) |
| CoeffsMatrix | operator- () const |
| CoeffsMatrix | operator- (const CoeffsMatrix &) const |
| CoeffsMatrix & | operator-= (const double) |
| CoeffsMatrix & | operator-= (const std::vector< double > &) |
| CoeffsMatrix & | operator-= (const CoeffsMatrix &) |
| CoeffsMatrix & | operator= (const double) |
| CoeffsMatrix & | operator= (const std::vector< double > &) |
| void | randomizeValuesGaussian (int) |
| void | resetAveraging () |
| void | resetAveragingCounter () |
| void | resetOutputFmt () |
| bool | sameShape (CoeffsVector &) const |
| bool | sameShape (CoeffsMatrix &) const |
| void | scaleAllValues (const double) |
| void | setAllCoeffsDescriptions (const std::string &description_prefix="C") |
| void | setAllCoeffsDescriptions (const std::vector< std::string > &) |
| void | setAllDimensionLabels (const std::string &) |
| void | setAllDimensionLabels (const std::vector< std::string > &) |
| void | setAllValuesToZero () |
| void | setCoeffDescription (const size_t, const std::string &) |
| void | setCoeffDescription (const std::vector< unsigned int > &, const std::string &) |
| void | setDataLabel (const std::string &) |
| void | setDimensionLabel (const unsigned int, const std::string &) |
| void | setIterationCounter (const unsigned int) |
| void | setIterationCounterAndTime (const unsigned int, const double) |
| void | setLabel (const std::string &) |
| void | setLabels (const std::string &) |
| void | setLabels (const std::string &, const std::string &) |
| void | setOutputFmt (const std::string &ss) |
| void | setTime (const double) |
| void | setType (const CoeffsType coeffs_type) |
| void | setupExponentiallyDecayingAveraging (const unsigned int averaging_exp_decay_in) |
| void | setValue (const size_t, const size_t, const double) |
| void | setValue (const std::vector< unsigned int > &, const std::vector< unsigned int > &, const double) |
| void | setValues (const double) |
| void | setValues (const std::vector< double > &) |
| void | setValues (const CoeffsMatrix &) |
| std::vector< unsigned int > | shapeOfIndices () const |
| unsigned int | shapeOfIndices (const unsigned int dim_index) const |
| void | subtractFromValues (const double) |
| void | subtractFromValues (const std::vector< double > &) |
| void | subtractFromValues (const CoeffsMatrix &) |
| void | sumCommMPI () |
| void | sumCommMPI (Communicator &) |
| void | sumMultiSimCommMPI (Communicator &) |
| void | turnOffExponentiallyDecayingAveraging () |
| void | turnOffIterationCounter () |
| void | turnOnIterationCounter () |
| void | writeCoeffsInfoToFile (OFile &) const |
| void | writeTimeInfoToFile (OFile &, const double) const |
| void | writeToFile (OFile &) |
| void | writeToFile (const std::string &, const bool append_file=false, Action *action_pntr=NULL) |
Static Public Member Functions | |
| static void | averageMatrices (CoeffsMatrix &, CoeffsMatrix &) |
| static void | averageMatrices (const std::vector< CoeffsMatrix *> &) |
| static bool | sameShape (CoeffsMatrix &, CoeffsMatrix &) |
| static bool | sameShape (CoeffsVector &, CoeffsMatrix &) |
| static bool | sameShape (CoeffsMatrix &, CoeffsVector &) |
Protected Member Functions | |
| bool | getIterationCounterAndTimeFromFile (IFile &) |
| void | resizeIndices (const std::vector< unsigned int > &) |
| void | resizeIndices (std::vector< BasisFunctions *> &) |
| bool | sameShape (const CoeffsBase &) const |
| void | setupBasisFunctionsInfo () |
| void | writeIterationCounterAndTimeToFile (OFile &) const |
Private Member Functions | |
| CoeffsMatrix & | operator= (const CoeffsMatrix &) |
| void | setupMatrix () |
| void | writeDataDiagonalToFile (OFile &) |
| void | writeDataFullToFile (OFile &) |
| void | writeDataToFile (OFile &) |
| void | writeHeaderToFile (OFile &) |
| void | writeMatrixInfoToFile (OFile &) |
Private Attributes | |
| unsigned int | averaging_counter |
| unsigned int | averaging_exp_decay_ |
| std::vector< double > | data |
| bool | diagonal_ |
| Communicator & | mycomm |
| size_t | ncolumns_ |
| size_t | nrows_ |
| size_t | size_ |
Friends | |
| CoeffsVector | operator* (const CoeffsMatrix &, const CoeffsVector &) |
| CoeffsMatrix | operator* (const double, const CoeffsMatrix &) |
| CoeffsMatrix | operator* (const CoeffsMatrix &, const double) |
| CoeffsMatrix | operator+ (const double, const CoeffsMatrix &) |
| CoeffsMatrix | operator+ (const CoeffsMatrix &, const double) |
| CoeffsMatrix | operator+ (const std::vector< double > &, const CoeffsMatrix &) |
| CoeffsMatrix | operator+ (const CoeffsMatrix &, const std::vector< double > &) |
| CoeffsMatrix | operator- (const double, const CoeffsMatrix &) |
| CoeffsMatrix | operator- (const CoeffsMatrix &, const double) |
| CoeffsMatrix | operator- (const std::vector< double > &, const CoeffsMatrix &) |
| CoeffsMatrix | operator- (const CoeffsMatrix &, const std::vector< double > &) |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
| PLMD::ves::CoeffsMatrix::~CoeffsMatrix | ( | ) |
|
inlineinherited |
| void PLMD::ves::CoeffsMatrix::addToAverage | ( | const CoeffsMatrix & | coeffsmat | ) |
| void PLMD::ves::CoeffsMatrix::addToAverage | ( | const CoeffsMatrix & | , |
| const unsigned | int | ||
| ) |
| void PLMD::ves::CoeffsMatrix::addToValue | ( | const size_t | index1, |
| const size_t | index2, | ||
| const double | value | ||
| ) |
| void PLMD::ves::CoeffsMatrix::addToValue | ( | const std::vector< unsigned int > & | indices1, |
| const std::vector< unsigned int > & | indices2, | ||
| const double | value | ||
| ) |
| void PLMD::ves::CoeffsMatrix::addToValues | ( | const double | value | ) |
| void PLMD::ves::CoeffsMatrix::addToValues | ( | const std::vector< double > & | values | ) |
| void PLMD::ves::CoeffsMatrix::addToValues | ( | const CoeffsMatrix & | other_coeffsmatrix | ) |
|
static |
|
static |
|
inherited |
| void PLMD::ves::CoeffsMatrix::clear | ( | ) |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
inlineinherited |
| size_t PLMD::ves::CoeffsMatrix::getMatrixIndex | ( | const size_t | index1, |
| const size_t | index2 | ||
| ) | const |
| double PLMD::ves::CoeffsMatrix::getMaxValue | ( | ) | const |
| double PLMD::ves::CoeffsMatrix::getMinValue | ( | ) | const |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
| size_t PLMD::ves::CoeffsMatrix::getSize | ( | ) | const |
|
inlineinherited |
|
inlineinherited |
|
inherited |
| double PLMD::ves::CoeffsMatrix::getValue | ( | const size_t | index1, |
| const size_t | index2 | ||
| ) | const |
| double PLMD::ves::CoeffsMatrix::getValue | ( | const std::vector< unsigned int > & | indices1, |
| const std::vector< unsigned int > & | indices2 | ||
| ) | const |
|
inherited |
|
inlineinherited |
| bool PLMD::ves::CoeffsMatrix::isDiagonal | ( | ) | const |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
| bool PLMD::ves::CoeffsMatrix::isSymmetric | ( | ) | const |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
| double & PLMD::ves::CoeffsMatrix::operator() | ( | const size_t | index1, |
| const size_t | index2 | ||
| ) |
| const double & PLMD::ves::CoeffsMatrix::operator() | ( | const size_t | index1, |
| const size_t | index2 | ||
| ) | const |
| double & PLMD::ves::CoeffsMatrix::operator() | ( | const std::vector< unsigned int > & | indices1, |
| const std::vector< unsigned int > & | indices2 | ||
| ) |
| const double & PLMD::ves::CoeffsMatrix::operator() | ( | const std::vector< unsigned int > & | indices1, |
| const std::vector< unsigned int > & | indices2 | ||
| ) | const |
| CoeffsMatrix PLMD::ves::CoeffsMatrix::operator* | ( | const CoeffsMatrix & | other_coeffsmatrix | ) | const |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator*= | ( | const double | scalef | ) |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator*= | ( | const CoeffsMatrix & | other_coeffsmatrix | ) |
| CoeffsMatrix PLMD::ves::CoeffsMatrix::operator+ | ( | ) | const |
| CoeffsMatrix PLMD::ves::CoeffsMatrix::operator+ | ( | const CoeffsMatrix & | other_coeffsmatrix | ) | const |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator+= | ( | const double | value | ) |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator+= | ( | const std::vector< double > & | values | ) |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator+= | ( | const CoeffsMatrix & | other_coeffsmatrix | ) |
| CoeffsMatrix PLMD::ves::CoeffsMatrix::operator- | ( | ) | const |
| CoeffsMatrix PLMD::ves::CoeffsMatrix::operator- | ( | const CoeffsMatrix & | other_coeffsmatrix | ) | const |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator-= | ( | const double | value | ) |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator-= | ( | const std::vector< double > & | values | ) |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator-= | ( | const CoeffsMatrix & | other_coeffsmatrix | ) |
|
private |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator= | ( | const double | value | ) |
| CoeffsMatrix & PLMD::ves::CoeffsMatrix::operator= | ( | const std::vector< double > & | values | ) |
| void PLMD::ves::CoeffsMatrix::randomizeValuesGaussian | ( | int | randomSeed | ) |
| void PLMD::ves::CoeffsMatrix::resetAveraging | ( | ) |
|
inline |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
| bool PLMD::ves::CoeffsMatrix::sameShape | ( | CoeffsVector & | coeffsvector_in | ) | const |
| bool PLMD::ves::CoeffsMatrix::sameShape | ( | CoeffsMatrix & | coeffsmat_in | ) | const |
|
static |
|
static |
|
static |
|
protectedinherited |
| void PLMD::ves::CoeffsMatrix::scaleAllValues | ( | const double | scalef | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| void PLMD::ves::CoeffsMatrix::setAllValuesToZero | ( | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
protectedinherited |
|
inline |
|
private |
| void PLMD::ves::CoeffsMatrix::setValue | ( | const size_t | index1, |
| const size_t | index2, | ||
| const double | value | ||
| ) |
| void PLMD::ves::CoeffsMatrix::setValue | ( | const std::vector< unsigned int > & | indices1, |
| const std::vector< unsigned int > & | indices2, | ||
| const double | value | ||
| ) |
| void PLMD::ves::CoeffsMatrix::setValues | ( | const double | value | ) |
| void PLMD::ves::CoeffsMatrix::setValues | ( | const std::vector< double > & | values | ) |
| void PLMD::ves::CoeffsMatrix::setValues | ( | const CoeffsMatrix & | other_coeffsmatrix | ) |
|
inlineinherited |
|
inlineinherited |
| void PLMD::ves::CoeffsMatrix::subtractFromValues | ( | const double | value | ) |
| void PLMD::ves::CoeffsMatrix::subtractFromValues | ( | const std::vector< double > & | values | ) |
| void PLMD::ves::CoeffsMatrix::subtractFromValues | ( | const CoeffsMatrix & | other_coeffsmatrix | ) |
| void PLMD::ves::CoeffsMatrix::sumCommMPI | ( | ) |
| void PLMD::ves::CoeffsMatrix::sumCommMPI | ( | Communicator & | cc | ) |
| void PLMD::ves::CoeffsMatrix::sumMultiSimCommMPI | ( | Communicator & | multi_sim_cc | ) |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
private |
|
private |
|
private |
|
private |
|
protectedinherited |
|
private |
|
inherited |
| void PLMD::ves::CoeffsMatrix::writeToFile | ( | OFile & | ofile | ) |
| void PLMD::ves::CoeffsMatrix::writeToFile | ( | const std::string & | filepath, |
| const bool | append_file = false, |
||
| Action * | action_pntr = NULL |
||
| ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Hosted by GitHub
|
1.8.14
|