maliput
ScalarInitialValueProblem< T >::ScalarOdeContext Struct Reference

Detailed Description

template<typename T>
struct maliput::drake::systems::ScalarInitialValueProblem< T >::ScalarOdeContext

A collection of values i.e.

initial time t₀, initial state x₀ and parameter vector 𝐤 to further specify the ODE system (in order to become a scalar initial value problem).

#include <src/maliput/drake/systems/analysis/scalar_initial_value_problem.h>

Public Member Functions

 ScalarOdeContext ()=default
 Default constructor, leaving all values unspecified. More...
 
 ScalarOdeContext (const std::optional< T > &t0_in, const std::optional< T > &x0_in, const std::optional< VectorX< T >> &k_in)
 Constructor specifying all values. More...
 

Public Attributes

std::optional< T > t0
 The initial time t₀ for the IVP. More...
 
std::optional< T > x0
 The initial state x₀ for the IVP. More...
 
std::optional< VectorX< T > > k
 The parameter vector 𝐤 for the IVP. More...
 

Constructor & Destructor Documentation

◆ ScalarOdeContext() [1/2]

ScalarOdeContext ( )
default

Default constructor, leaving all values unspecified.

◆ ScalarOdeContext() [2/2]

ScalarOdeContext ( const std::optional< T > &  t0_in,
const std::optional< T > &  x0_in,
const std::optional< VectorX< T >> &  k_in 
)

Constructor specifying all values.

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

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<T> x0

The initial state x₀ for the IVP.


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