maliput
|
A collection of values i.e.
initial time t₀, initial state vector 𝐱₀ and parameters vector 𝐤.to further specify the ODE system (in order to become an initial value problem). This places the same role as systems::Context, but is intentionally much simpler.
#include <src/maliput/drake/systems/analysis/initial_value_problem.h>
Public Member Functions | |
OdeContext ()=default | |
Default constructor, leaving all values unspecified. More... | |
OdeContext (const std::optional< T > &t0_in, const std::optional< VectorX< T >> &x0_in, const std::optional< VectorX< T >> &k_in) | |
Constructor specifying all values. More... | |
bool | operator== (const OdeContext &rhs) const |
bool | operator!= (const OdeContext &rhs) const |
Public Attributes | |
std::optional< T > | t0 |
The initial time t₀ for the IVP. More... | |
std::optional< VectorX< T > > | x0 |
The initial state vector 𝐱₀ for the IVP. More... | |
std::optional< VectorX< T > > | k |
The parameter vector 𝐤 for the IVP. More... | |
|
default |
Default constructor, leaving all values unspecified.
OdeContext | ( | const std::optional< T > & | t0_in, |
const std::optional< VectorX< T >> & | x0_in, | ||
const std::optional< VectorX< T >> & | k_in | ||
) |
Constructor specifying all values.
t0_in | Specified initial time t₀. |
x0_in | Specified initial state vector 𝐱₀. |
k_in | Specified parameter vector 𝐤. |
bool operator!= | ( | const OdeContext & | rhs | ) | const |
bool operator== | ( | const OdeContext & | rhs | ) | const |
std::optional<VectorX<T> > k |
The parameter vector 𝐤 for the IVP.
std::optional<T> t0 |
The initial time t₀ for the IVP.
std::optional<VectorX<T> > x0 |
The initial state vector 𝐱₀ for the IVP.