63 const Eigen::MatrixBase<DerivedG>& G,
64 const Eigen::MatrixBase<DerivedW>& W,
65 typename DerivedF::Scalar dt)
74 Eigen::Matrix<typename DerivedF::Scalar, Eigen::Dynamic, Eigen::Dynamic>
75 A = Eigen::Matrix<typename DerivedF::Scalar, Eigen::Dynamic, Eigen::Dynamic>::Zero(2 * F.rows(), 2 * F.cols());
76 A.topLeftCorner(F.rows(), F.cols()) = -F;
77 A.topRightCorner(F.rows(), F.cols()) = G * W * G.transpose();
78 A.bottomRightCorner(F.rows(), F.cols()) = F.transpose();
82 Eigen::Matrix<typename DerivedF::Scalar, Eigen::Dynamic, Eigen::Dynamic> B = A.exp();
89 typename DerivedF::PlainObject Phi = B.bottomRightCorner(F.rows(), F.cols()).transpose();
90 typename DerivedF::PlainObject Q = Phi * B.topRightCorner(F.rows(), F.cols());
std::pair< typename DerivedF::PlainObject, typename DerivedF::PlainObject > calcPhiAndQWithVanLoanMethod(const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedG > &G, const Eigen::MatrixBase< DerivedW > &W, typename DerivedF::Scalar dt)
Numerical Method to calculate the State transition matrix 𝚽 and System/Process noise covariance matri...
Definition VanLoan.hpp:62