maliput
InitialValueProblem< T >::OdeContext Struct Reference

Detailed Description

template<typename T>
struct maliput::drake::systems::InitialValueProblem< T >::OdeContext

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...
 

Constructor & Destructor Documentation

◆ OdeContext() [1/2]

OdeContext ( )
default

Default constructor, leaving all values unspecified.

◆ OdeContext() [2/2]

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.

Parameters
t0_inSpecified initial time t₀.
x0_inSpecified initial state vector 𝐱₀.
k_inSpecified parameter vector 𝐤.

Member Function Documentation

◆ operator!=()

bool operator!= ( const OdeContext rhs) const

◆ operator==()

bool operator== ( const OdeContext rhs) const

Member Data Documentation

◆ k

std::optional<VectorX<T> > k

The parameter vector 𝐤 for the IVP.

◆ t0

std::optional<T> t0

The initial time t₀ for the IVP.

◆ x0

std::optional<VectorX<T> > x0

The initial state vector 𝐱₀ for the IVP.


The documentation for this struct was generated from the following file: