#include #include using namespace itpp; //These lines are needed for use of cout and endl using std::cout; using std::endl; int main() { // Kalman filter mat A0 = randu(3,3); mat A = A0*A0.T(); //Test constructor ldmat LD(A); cout << "Testing constructors:" << endl << "A = " << A << endl << "LD.to_mat() = " << LD.to_mat() << endl << endl; //Test inversion ldmat iLD(3); LD.inv(iLD); cout << "inv(A) = " << inv(A) <