C++ matrix template classe for mathematics.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
Marc Wäckerlin 0644f3b2d0 tested for rpm and deb pirms 6 gadiem
debian tested for rpm and deb pirms 6 gadiem
doc tested for rpm and deb pirms 6 gadiem
examples tested for rpm and deb pirms 6 gadiem
src new feature p-norm pirms 7 gadiem
test new feature p-norm pirms 7 gadiem
AUTHORS initial project pirms 8 gadiem
COPYING updated build system pirms 6 gadiem
ChangeLog tested for rpm and deb pirms 6 gadiem
INSTALL updated build system pirms 6 gadiem
NEWS initial project pirms 8 gadiem
README.md tested for rpm and deb pirms 6 gadiem
autogen.sh initial project pirms 8 gadiem
ax_check_qt.m4 tested for rpm and deb pirms 6 gadiem
ax_cxx_compile_stdcxx_11.m4 fix C++11 detection pirms 8 gadiem
ax_init_standard_project.m4 tested for rpm and deb pirms 6 gadiem
bootstrap.sh tested for rpm and deb pirms 6 gadiem
build-in-docker.conf build system updated pirms 7 gadiem
build-in-docker.sh tested for rpm and deb pirms 6 gadiem
build-resource-file.sh initial project pirms 8 gadiem
configure.ac tested for rpm and deb pirms 6 gadiem
dependency-graph.sh updated build system pirms 6 gadiem
libmatricxx.desktop.in initial project pirms 8 gadiem
libmatricxx.spec.in tested for rpm and deb pirms 6 gadiem
mac-create-app-bundle.sh tested for rpm and deb pirms 6 gadiem
makefile.am tested for rpm and deb pirms 6 gadiem
makefile_test.inc.am fix C++11 detection pirms 8 gadiem
resolve-debbuilddeps.sh tested for rpm and deb pirms 6 gadiem
resolve-rpmbuilddeps.sh tested for rpm and deb pirms 6 gadiem
rpmsign.exp updated build system pirms 6 gadiem
sql-to-dot.sed initial project pirms 8 gadiem
template.sh updated build system pirms 6 gadiem

README.md

C++ Matrix Template Library

Library to provide mathematical matrices as standard C++ types that behave like standard types.

Features:

  • Allows any size of Matrix
    • Either fixed size, size given as template parameter
    • Or variable size, size is given in constructor
  • Allows any type of values, given as template parameter
  • Supports matrix specific functions:
    • transposition
    • gaussian algorithm
    • determinant using gauss algorithm
    • inversion using gauss-jordan algorithm
  • Supports mathematical operations:
    • addition
    • subtraction
    • multiplication
    • division (using the inverse matrix)
  • Higly stable and well tested in >200 tests

Example with templated size:

  const Matrix<T,2,4> m1(1, 2, 3, 4,
                         5, 6, 7, 8);
  const Matrix<T,2,4> m2(2, 4, 6, 8,
                         1, 3, 5, 7);
  const Matrix<T,2,4> m(m1+m2);
  const Matrix<T,2,4> res(3, 6, 9, 12,
                          6, 9, 12, 15);
  if (m==res) {
    std::cout<<"Yes, it is that easy!\n"<<m<<"\n";
  } else {
    std::cerr<<"Ooops!\n";
  }

Example with given size:

  const Matrix<T> m1(2, 4,
                     1, 2, 3, 4,
                     5, 6, 7, 8);
  const Matrix<T> m2(2, 4,
                     2, 4, 6, 8,
                     1, 3, 5, 7);
  const Matrix<T> m(m1+m2);
  const Matrix<T> res(2, 4,
                      3, 6, 9, 12,
                      6, 9, 12, 15);
  if (m==res) {
    std::cout<<"Yes, it is that easy!\n"<<m<<"\n";
  } else {
    std::cerr<<"Ooops!\n";
  }