A template base class to represent a vector of chemical properties and their partial derivatives.
More...
|
| ChemicalVectorBase () |
| Construct a default ChemicalVectorBase instance.
|
|
| ChemicalVectorBase (Index nspecies) |
| Construct a ChemicalVectorBase instance with number of rows equal to given number of species. More...
|
|
| ChemicalVectorBase (Index nrows, Index nspecies) |
| Construct a ChemicalVectorBase instance with given number of rows and species. More...
|
|
| ChemicalVectorBase (Index nrows, Index nspecies, double val) |
| Construct a ChemicalVectorBase instance with given number of rows and species, and a constant value. More...
|
|
| ChemicalVectorBase (const V &val, const T &ddT, const P &ddP, const N &ddn) |
| Construct a ChemicalVectorBase instance with given values and derivatives. More...
|
|
template<typename VR , typename TR , typename PR , typename NR > |
| ChemicalVectorBase (ChemicalVectorBase< VR, TR, PR, NR > &other) |
| Construct a ChemicalVectorBase instance from another.
|
|
template<typename VR , typename TR , typename PR , typename NR > |
| ChemicalVectorBase (const ChemicalVectorBase< VR, TR, PR, NR > &other) |
| Construct a ChemicalVectorBase instance from another.
|
|
auto | size () const -> Index |
| Return the number of rows in this ChemicalVectorBase instance.
|
|
auto | resize (Index nrows, Index nspecies) -> void |
| Resize this ChemicalVectorBase instance with new number of rows and number of species. More...
|
|
auto | resize (Index nspecies) -> void |
| Resize this ChemicalVectorBase instance with number of rows equal the number of species. More...
|
|
template<typename VR , typename NR > |
auto | fill (const ChemicalScalarBase< VR, NR > &other) -> void |
| Assign a ChemicalScalarBase instance to this.
|
|
template<typename VR > |
auto | fill (const ThermoScalarBase< VR > &other) -> void |
| Assign a ThermoScalarBase instance to this.
|
|
auto | fill (double value) -> void |
| Assign a scalarsto this.
|
|
template<typename VR , typename TR , typename PR , typename NR > |
auto | operator= (const ChemicalVectorBase< VR, TR, PR, NR > &other) -> ChemicalVectorBase & |
| Assign another ChemicalVectorBase instance to this.
|
|
template<typename VR , typename NR > |
auto | operator= (const ChemicalScalarBase< VR, NR > &other) -> ChemicalVectorBase & |
| Assign a ChemicalScalarBase instance to this.
|
|
template<typename VR > |
auto | operator= (const ThermoScalarBase< VR > &other) -> ChemicalVectorBase & |
| Assign a ThermoScalarBase instance to this.
|
|
auto | operator= (double other) -> ChemicalVectorBase & |
| Assign a scalar to this.
|
|
template<typename VR , typename TR , typename PR , typename NR > |
auto | operator+= (const ChemicalVectorBase< VR, TR, PR, NR > &other) -> ChemicalVectorBase & |
| Assign-addition of a ChemicalVectorBase instance to this.
|
|
template<typename VR , typename TR , typename PR > |
auto | operator+= (const ThermoVectorBase< VR, TR, PR > &other) -> ChemicalVectorBase & |
| Assign-addition of a ThermoVectorBase instance to this.
|
|
template<typename VR > |
auto | operator+= (const ThermoScalarBase< VR > &other) -> ChemicalVectorBase & |
| Assign-addition of a ThermoScalarBase instance to this.
|
|
auto | operator+= (double other) -> ChemicalVectorBase & |
| Assign-addition of a scalar to this.
|
|
template<typename VR , typename TR , typename PR , typename NR > |
auto | operator-= (const ChemicalVectorBase< VR, TR, PR, NR > &other) -> ChemicalVectorBase & |
| Assign-subtraction of a ChemicalVectorBase instance to this.
|
|
template<typename VR , typename TR , typename PR > |
auto | operator-= (const ThermoVectorBase< VR, TR, PR > &other) -> ChemicalVectorBase & |
| Assign-subtraction of a ThermoVectorBase instance to this.
|
|
template<typename VR > |
auto | operator-= (const ThermoScalarBase< VR > &other) -> ChemicalVectorBase & |
| Assign-subtraction of a ThermoScalarBase instance to this.
|
|
auto | operator-= (double other) -> ChemicalVectorBase & |
| Assign-subtraction of a scalar to this.
|
|
template<typename VR , typename TR , typename PR , typename NR > |
auto | operator*= (const ChemicalVectorBase< VR, TR, PR, NR > &other) -> ChemicalVectorBase & |
| Assign-multiplication of a ChemicalVectorBase instance to this.
|
|
auto | operator*= (double other) -> ChemicalVectorBase & |
| Assign-multiplication of a scalar to this.
|
|
auto | operator/= (double other) -> ChemicalVectorBase & |
| Assign-division of a scalar to this.
|
|
auto | operator[] (Index irow) -> ChemicalScalarBase< decltype(val[irow]), decltype(ddn.row(irow))> |
| Return a ChemicalScalarBase with reference to the chemical scalar in a given row.
|
|
auto | operator[] (Index irow) const -> ChemicalScalarBase< decltype(val[irow]), decltype(ddn.row(irow))> |
| Return a ChemicalScalarBase with const reference to the chemical scalar in a given row.
|
|
auto | view (Index irow, Index nrows) -> ChemicalVectorRef |
| Return a view of an interval of the ChemicalVectorBase instance. More...
|
|
auto | view (Index irow, Index nrows) const -> ChemicalVectorConstRef |
| Return a view of an interval of the ChemicalVectorBase instance. More...
|
|
auto | view (Index irow, Index icol, Index nrows, Index ncols) -> ChemicalVectorRef |
| Return a view of an interval of the ChemicalVectorBase instance. More...
|
|
auto | view (Index irow, Index icol, Index nrows, Index ncols) const -> ChemicalVectorConstRef |
| Return a view of an interval of the ChemicalVectorBase instance. More...
|
|
| operator Vector () const |
| Explicitly converts this ChemicalVector instance into a Vector.
|
|
template<typename V, typename T, typename P, typename N>
class Reaktoro::ChemicalVectorBase< V, T, P, N >
A template base class to represent a vector of chemical properties and their partial derivatives.
- See also
- ThermoScalar, ThermoVector, ChemicalScalar, ChemicalVector