44 #ifndef ILQGAMES_UTILS_LINEAR_DYNAMICS_APPROXIMATION_H 45 #define ILQGAMES_UTILS_LINEAR_DYNAMICS_APPROXIMATION_H 47 #include <ilqgames/utils/types.h> 55 std::vector<MatrixXf> Bs;
63 template <
typename MultiPlayerSystemType>
65 : A(MatrixXf::Identity(system.XDim(), system.XDim())),
66 Bs(system.NumPlayers()) {
67 for (
size_t ii = 0; ii < system.NumPlayers(); ii++)
68 Bs[ii] = MatrixXf::Zero(system.XDim(), system.UDim(ii));
71 EIGEN_MAKE_ALIGNED_OPERATOR_NEW