Drake
Drake C++ Documentation
batch_eval.h File Reference
#include <variant>
#include <vector>
#include "drake/common/parallelism.h"
#include "drake/systems/framework/system.h"
Include dependency graph for batch_eval.h:

Namespaces

 drake
 
 drake::systems
 

Functions

template<typename T >
MatrixX< T > BatchEvalUniquePeriodicDiscreteUpdate (const System< T > &system, const Context< T > &context, const Eigen::Ref< const RowVectorX< T >> &times, const Eigen::Ref< const MatrixX< T >> &states, const Eigen::Ref< const MatrixX< T >> &inputs, int num_time_steps=1, std::variant< InputPortSelection, InputPortIndex > input_port_index=InputPortSelection::kUseFirstInputIfItExists, Parallelism parallelize=Parallelism::Max())
 Evaluates the dynamics of a difference equation system at many times, states, and inputs. More...
 
template<typename T >
MatrixX< T > BatchEvalTimeDerivatives (const System< T > &system, const Context< T > &context, const Eigen::Ref< const RowVectorX< T >> &times, const Eigen::Ref< const MatrixX< T >> &states, const Eigen::Ref< const MatrixX< T >> &inputs, std::variant< InputPortSelection, InputPortIndex > input_port_index=InputPortSelection::kUseFirstInputIfItExists, Parallelism parallelize=Parallelism::Max())
 Evaluates the time derivatives of a system at many times, states, and inputs. More...