Skip to content

C++ lightweight Matrix Library with several numeric methods included (system solvers, least squares fittings, etc.)

License

Notifications You must be signed in to change notification settings

Tellicious/MatLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MatLib

C++ lightweight Matrix Library with several numeric methods included (system solvers, least squares fittings, etc.)

  • Include with #include "MatLib.h"

  • Available types:

    typedef MatrixX<int8_t>      MatrixXs;
    typedef MatrixX<uint8_t>     MatrixXus;
    typedef MatrixX<int16_t>     MatrixXi;
    typedef MatrixX<uint16_t>    MatrixXui;
    typedef MatrixX<int32_t>     MatrixXl;
    typedef MatrixX<uint32_t>    MatrixXul;
    typedef MatrixX<float>       MatrixXf;
    typedef MatrixX<double>      MatrixXd;
  • Example of constructor with data:

    double _data0[] = {0, 0, 0, 1, 0, 0, 1, 0, 1};
    MatrixXd X0(9, 1, _data0);
  • Example of constructor without data:

    MatrixXf AA(3, 3);
    MatrixXf BB(4, 4);
  • Example of usage:

    MatrixXf RES2 = AA * (~AA) * (!BB) * AA * (~AA);
  • Description of numeric methods included available in Num_methods.h

About

C++ lightweight Matrix Library with several numeric methods included (system solvers, least squares fittings, etc.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published