25 #ifndef LOADCOMBINATIONVECTOR_HXX 26 #define LOADCOMBINATIONVECTOR_HXX 28 #include "utility/load_combinations/actions/Action.h" 29 #include "utility/matrices/m_double.h" 39 bool Existe(
const Action &f)
const;
40 bool Nula(
const double &tol)
const;
41 size_t CuentaNulas(
const double &tol)
const;
49 void Numera(
const std::string &prefix=
"H");
54 void Print(std::ostream &os)
const;
Routines to generate combinations of actions.
boost::python::list getCoefficientsPy(const boost::python::list &) const
Return the factors that correspond to the actions in the argument in each of the load combinations of...
Definition: LoadCombinationVector.cc:212
LoadCombinationVector(const size_t &sz=0)
Constructor.
Definition: LoadCombinationVector.cc:27
Action or linear combination of actions.
Definition: Action.h:44
void Numera(const std::string &prefix="H")
Appends the prefix text 'HNNN=' to the name of each of the vector components, where NNN is the hypoth...
Definition: LoadCombinationVector.cc:186
static LoadCombinationVector Concat(const LoadCombinationVector &f1, const LoadCombinationVector &f2, const double &tol)
Concatenate the combination of the vector arguments.
Definition: LoadCombinationVector.cc:166
const LoadCombinationVector & GetDistintas(void) const
Return the combinations filtering the repeated ones.
Definition: LoadCombinationVector.cc:83
Objet that can execute python scripts.
Definition: CommandEntity.h:40
void Print(std::ostream &os) const
Print stuff.
Definition: LoadCombinationVector.cc:223
static LoadCombinationVector ProdCartesiano(const LoadCombinationVector &f1, const LoadCombinationVector &f2, const double &tol)
Builds the cartesian product of the combinations from both vectors.
Definition: LoadCombinationVector.cc:145
Combination container.
Definition: LoadCombinationVector.h:36
m_double getCoefficients(const std::vector< std::string > &) const
Return the factors that correspond to the actions in the argument in each of the load combinations of...
Definition: LoadCombinationVector.cc:195
const LoadCombinationVector & GetNoNulas(const double &tol) const
Return the non-zero combinations.
Definition: LoadCombinationVector.cc:51