17 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
36 const control_vector_t& u,
37 const state_vector_t& x_next,
41 state_control_matrix_t& B)
override 51 const control_vector_t&
u,
55 const control_vector_t& u,
68 state_control_matrix_t dFdu_;
69 std::array<double, 0> vX_;
70 std::array<double, 0> vU_;
ControlVector< CONTROL_DIM, double > control_vector_t
Definition: DiscreteSystem.h:17
virtual const state_matrix_t & getDerivativeState(const state_vector_t &x, const control_vector_t &u, const int t=0)
Definition: TestDiscreteNonlinearSystemLinearizedDouble_A.cpp:14
Base::state_matrix_t state_matrix_t
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:23
ct::core::ControlVector< control_dim > u
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:14
interface class for a general discrete linear system or linearized discrete system ...
Definition: DiscreteLinearSystem.h:23
StateVector< STATE_DIM, double > state_vector_t
Definition: DiscreteSystem.h:16
clear all close all load ct GNMSLog0 mat reformat t
virtual TestDiscreteNonlinearSystemLinearizedDouble * clone() const override
deep cloning
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:34
Base::state_control_matrix_t state_control_matrix_t
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:24
Base::control_vector_t control_vector_t
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:22
TestDiscreteNonlinearSystemLinearizedDouble(const TestDiscreteNonlinearSystemLinearizedDouble &other)
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:31
constexpr size_t n
Definition: MatrixInversionTest.cpp:14
ct::core::StateVector< state_dim > x
SYSTEM_TYPE
type of system
Definition: System.h:15
any non-specific system
Definition: System.h:17
TestDiscreteNonlinearSystemLinearizedDouble(const ct::core::SYSTEM_TYPE &type=ct::core::SYSTEM_TYPE::GENERAL)
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:26
Base::state_vector_t state_vector_t
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:21
virtual const state_control_matrix_t & getDerivativeControl(const state_vector_t &x, const control_vector_t &u, const int t=0)
Definition: TestDiscreteNonlinearSystemLinearizedDouble_B.cpp:14
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ct::core::DiscreteLinearSystem< 2, 1, double > Base
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:19
void getAandB(const state_vector_t &x, const control_vector_t &u, const state_vector_t &x_next, const int n, size_t numSteps, state_matrix_t &A, state_control_matrix_t &B) override
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:35
virtual ~TestDiscreteNonlinearSystemLinearizedDouble()
Definition: TestDiscreteNonlinearSystemLinearizedDouble.h:32