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
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: TestDiscreteNonlinearSystemLinearized.h:35
ct::core::ControlVector< control_dim > u
interface class for a general discrete linear system or linearized discrete system ...
Definition: DiscreteLinearSystem.h:23
Definition: TestDiscreteNonlinearSystemLinearized.h:14
Base::state_matrix_t state_matrix_t
Definition: TestDiscreteNonlinearSystemLinearized.h:23
StateVector< STATE_DIM, double > state_vector_t
Definition: DiscreteSystem.h:16
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ct::core::DiscreteLinearSystem< 2, 1, double > Base
Definition: TestDiscreteNonlinearSystemLinearized.h:19
virtual const state_control_matrix_t & getDerivativeControl(const state_vector_t &x, const control_vector_t &u, const int t=0)
Definition: TestDiscreteNonlinearSystemLinearized_B.cpp:14
Base::state_control_matrix_t state_control_matrix_t
Definition: TestDiscreteNonlinearSystemLinearized.h:24
clear all close all load ct GNMSLog0 mat reformat t
TestDiscreteNonlinearSystemLinearized(const TestDiscreteNonlinearSystemLinearized &other)
Definition: TestDiscreteNonlinearSystemLinearized.h:31
virtual const state_matrix_t & getDerivativeState(const state_vector_t &x, const control_vector_t &u, const int t=0)
Definition: TestDiscreteNonlinearSystemLinearized_A.cpp:14
virtual ~TestDiscreteNonlinearSystemLinearized()
Definition: TestDiscreteNonlinearSystemLinearized.h:32
constexpr size_t n
Definition: MatrixInversionTest.cpp:14
TestDiscreteNonlinearSystemLinearized(const ct::core::SYSTEM_TYPE &type=ct::core::SYSTEM_TYPE::GENERAL)
Definition: TestDiscreteNonlinearSystemLinearized.h:26
ct::core::StateVector< state_dim > x
SYSTEM_TYPE
type of system
Definition: System.h:15
any non-specific system
Definition: System.h:17
Base::control_vector_t control_vector_t
Definition: TestDiscreteNonlinearSystemLinearized.h:22
Base::state_vector_t state_vector_t
Definition: TestDiscreteNonlinearSystemLinearized.h:21
virtual TestDiscreteNonlinearSystemLinearized * clone() const override
deep cloning
Definition: TestDiscreteNonlinearSystemLinearized.h:34