A template base class to represent a vector of thermodynamic scalars and their partial derivatives.
More...
|
| ThermoVectorBase () |
| Construct a default ThermoVectorBase instance.
|
|
| ThermoVectorBase (Index nrows) |
| Construct a ThermoVectorBase instance with given number of rows. More...
|
|
| ThermoVectorBase (Index nrows, double val) |
| Construct a ThermoVectorBase instance with given number of rows and value. More...
|
|
| ThermoVectorBase (const V &val, const T &ddT, const P &ddP) |
| Construct a ChemicalVectorBase instance with given values and derivatives. More...
|
|
template<typename VR , typename TR , typename PR > |
| ThermoVectorBase (ThermoVectorBase< VR, TR, PR > &other) |
| Construct a ChemicalVectorBase instance from another.
|
|
template<typename VR , typename TR , typename PR > |
| ThermoVectorBase (const ThermoVectorBase< VR, TR, PR > &other) |
| Construct a ChemicalVectorBase instance from another.
|
|
auto | size () const -> Index |
| Return the number of rows in this ChemicalVectorBase instance.
|
|
auto | resize (Index nrows) -> void |
| Resize this ChemicalVectorBase instance with new number of rows. More...
|
|
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 > |
auto | operator= (const ThermoVectorBase< VR, TR, PR > &other) -> ThermoVectorBase & |
| Assign a ThermoVectorBase instance to this ThermoVectorBase instance.
|
|
template<typename VR > |
auto | operator= (const ThermoScalarBase< VR > &other) -> ThermoVectorBase & |
| Assign a ThermoScalarBase instance to this ThermoVectorBase instance.
|
|
auto | operator= (double other) -> ThermoVectorBase & |
| Assign a scalar to this ThermoVectorBase instance.
|
|
template<typename VR , typename TR , typename PR > |
auto | operator+= (const ThermoVectorBase< VR, TR, PR > &other) -> ThermoVectorBase & |
| Assign-addition of a ThermoVectorBase instance.
|
|
template<typename VR > |
auto | operator+= (const ThermoScalarBase< VR > &other) -> ThermoVectorBase & |
| Assign-addition of a ThermoScalarBase instance.
|
|
auto | operator+= (double scalar) -> ThermoVectorBase & |
| Assign-addition of a scalar.
|
|
template<typename VR , typename TR , typename PR > |
auto | operator-= (const ThermoVectorBase< VR, TR, PR > &other) -> ThermoVectorBase & |
| Assign-subtraction of a ThermoVectorBase instance.
|
|
template<typename VR > |
auto | operator-= (const ThermoScalarBase< VR > &other) -> ThermoVectorBase & |
| Assign-subtraction of a ThermoVectorBase instance.
|
|
auto | operator-= (double other) -> ThermoVectorBase & |
| Assign-subtraction of a scalar.
|
|
template<typename VR , typename TR , typename PR > |
auto | operator*= (const ThermoVectorBase< VR, TR, PR > &other) -> ThermoVectorBase & |
| Assign-multiplication of a ThermoVectorBase instance.
|
|
auto | operator*= (double scalar) -> ThermoVectorBase & |
| Assign-multiplication of a ThermoVectorBase instance.
|
|
auto | operator/= (double scalar) -> ThermoVectorBase & |
| Assign-division of a ThermoVectorBase instance.
|
|
auto | operator[] (Index irow) -> ThermoScalarBase< decltype(val[irow])> |
| Return a ChemicalScalarBase with reference to the thermo scalar in a given row.
|
|
auto | operator[] (Index irow) const -> ThermoScalarBase< decltype(val[irow])> |
| Return a ChemicalScalarBase with const reference to the thermo scalar in a given row.
|
|
auto | view (Index irow, Index nrows) -> ThermoVectorRef |
| Return a view of an interval of the ThermoVectorBase instance. More...
|
|
auto | view (Index irow, Index nrows) const -> ThermoVectorConstRef |
| Return a view of an interval of the ThermoVectorBase instance. More...
|
|
| operator Vector () const |
| Explicitly converts this ThermoVector instance into a Vector.
|
|
template<typename V, typename T, typename P>
class Reaktoro::ThermoVectorBase< V, T, P >
A template base class to represent a vector of thermodynamic scalars and their partial derivatives.
- See also
- ThermoScalar, ThermoVector, ChemicalScalar, ChemicalVector