C++ matrix template classe for mathematics.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Marc Wäckerlin 99afc89f53 documentation anhanced 8 years ago
debian stream any size of matrix 8 years ago
doc documentation anhanced 8 years ago
examples first approach including first tests 8 years ago
src improved doxygen 8 years ago
test documentation anhanced 8 years ago
AUTHORS initial project 8 years ago
COPYING documentation anhanced 8 years ago
ChangeLog documentation anhanced 8 years ago
INSTALL documentation anhanced 8 years ago
NEWS initial project 8 years ago
README documentation anhanced 8 years ago
autogen.sh initial project 8 years ago
ax_check_qt.m4 initial project 8 years ago
ax_cxx_compile_stdcxx_11.m4 fix C++11 detection 8 years ago
ax_init_standard_project.m4 documentation anhanced 8 years ago
bootstrap.sh improved doxygen 8 years ago
build-in-docker.conf initial project 8 years ago
build-in-docker.sh initial project 8 years ago
build-resource-file.sh initial project 8 years ago
configure.ac works perfectly, fully tested 8 years ago
libmatricxx.desktop.in initial project 8 years ago
libmatricxx.spec.in initial project 8 years ago
mac-create-app-bundle.sh initial project 8 years ago
makefile.am initial project 8 years ago
makefile_test.inc.am fix C++11 detection 8 years ago
resolve-debbuilddeps.sh initial project 8 years ago
resolve-rpmbuilddeps.sh initial project 8 years ago
sql-to-dot.sed initial project 8 years ago

README

C++ Matrix Template Library

Library to provide mathematical matices as standard C++ 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 of values, given as template üarameter
* Supports matrix specific functions:
* transposition
* gaussian algorithm
* determinant
* inversion
* Supports mathematical operations:
* addition
* subtraction,
* multiplication
* division (using the inverse matrix)
* Higly stable and well tested

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 templated 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";
}