Utils.hpp
auto names(const NamedValues &values) -> std::vector< std::string >
Return the names of the entries in a container.
Definition: Utils.hxx:22
A template base class to represent a chemical scalar and its partial derivatives.
Definition: ChemicalScalar.hpp:49
auto molarMasses(const SpeciesValues &species) -> Vector
Return the molar masses of all species in a list of species (in units of kg/mol)
Definition: Utils.hxx:41
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
A type that describes temperature in units of K.
Definition: ChemicalVector.hpp:377
auto zeros(const ChemicalVectorBase< V, T, P, N > &v) -> ChemicalVectorBase< decltype(zeros(0)), decltype(zeros(0)), decltype(zeros(0)), decltype(zeros(0, 0))>
Return a ChemicalVectorBase expression representing zeros with same dimension of given vector.
Definition: ChemicalVector.hpp:361
auto moleFractions(Composition n) -> ChemicalVector
Return the mole fractions of the species.
Definition: Utils.hpp:45
auto ones(const ChemicalVectorBase< V, T, P, N > &v) -> ChemicalVectorBase< decltype(ones(0)), decltype(zeros(0)), decltype(zeros(0)), decltype(zeros(0, 0))>
Return a ChemicalVectorBase expression representing ones with same dimension of given vector.
Definition: ChemicalVector.hpp:369
auto charges(const ChargedValues &values) -> Vector
Return the electrical charges of all species in a list of species.