#include "math/square_mat.h" 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 fsqmat Fsq(A); cout << "Testing constructors:" << endl << "A = " << A << endl << "Fsq.to_mat() = " << Fsq.to_mat() << endl << endl; //Test inversion fsqmat iFsq(3); Fsq.inv(iFsq); cout << "inv(A) = " << inv(A) <