summaryrefslogtreecommitdiffstats
path: root/test/matrix_example.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update access model for operator|Nao Pross2019-10-101-22/+50
| | | | | | | | | | | | | | | | | The operator | can access the matrix either by directly changing the values (by reference, mm::mutate(M)) or by creating first a a copy of the matrix (mm::clone(M)). ToDo: The order of destruction of the mutate object is not yet well defined, and therefore it is not yet deterministic enough to work with expressions like (pseudocode) matrix m = a * b * (a | mm::alg::invert) because operator| (defaults to mutate), should not but could, change the value of a before the product a * b gets evaluated.
* New matrix data model (breaks everything)Nao Pross2019-10-051-22/+0
|
* Implicit convertion to basic_vec to vec2 or vec3ancarola2019-07-101-1/+5
|
* The matrix library is compiling and all tested operations work fine.ancarola2019-07-011-7/+7
| | | | | | | | | Next goals: - Implement optimisations for multiplication in K-diagonal - Add adjoint operation for complex matrices - Determinant - Algorithms: Gauss Jordan
* Optimized matrix sectionancarola2019-06-301-9/+9
| | | | | - Vector iterators: allow to iterate on rows, columns or diagonals - Transposition doesn't affect allocated space, O(1)
* Merge branch 'master' into matricesNao Pross2019-06-241-1/+1
|
* Update matrix test, add square matrix trace and fix commentsNao Pross2019-03-021-1/+26
|
* Fix matrix operator[] to allow M[j][k] and operator<< formattingNao Pross2019-03-011-0/+4
|
* Change storage for matrix to std::array, update matrix_exampleNao Pross2019-02-231-2/+14
|
* Add initializer_list constructor to basic_matrix and matrix testNao Pross2019-02-231-0/+13