ArrayStream.hpp
The class used to serialize/deserialize data using array.
Definition: ArrayStream.hpp:28
ArrayStream(const Args &... args)
Construct an ArrayStream object with given list of scalars and/or arrays.
Definition: ArrayStream.hpp:38
auto from(const Args &... args)
Initialize this ArrayStream object with given list of scalars and/or arrays.
Definition: ArrayStream.hpp:46
auto to(Args &... args) const
Transfer this ArrayStream object data to given list of scalars and/or arrays.
Definition: ArrayStream.hpp:54
ArrayX< Decay< T > > ArrayType
The array type used to store data.
Definition: ArrayStream.hpp:31
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
Eigen::Array< T, -1, 1, 0, -1, 1 > ArrayX
Convenient alias to Eigen type.
Definition: Matrix.hpp:46
constexpr static auto serialize(Array &array, const Args &... args) -> void
Copy the data in args into array.
Definition: ArraySerialization.hpp:134
constexpr static auto resize(Array &array, const Args &... args) -> void
Resize array so that it can store the data in args.
Definition: ArraySerialization.hpp:126
constexpr static auto deserialize(const Array &array, Args &... args) -> void
Copy the data in array to args.
Definition: ArraySerialization.hpp:141