put the new matrix implementation in place

This commit is contained in:
Hartmut Seichter 2019-01-18 21:45:23 +01:00
parent 55b7361717
commit 9dd862018b
6 changed files with 293 additions and 220 deletions

View file

@ -1,7 +1,8 @@
#include <pw/core/matrixbase.hpp>
//#include <pw/core/matrix.hpp>
#include <pw/core/matrix.hpp>
#include <pw/core/vector.hpp>
//#include <pw/core/serialize.hpp>
#include <pw/core/debug.hpp>
@ -62,6 +63,12 @@ int main(int argc,char **argv) {
std::cout << "v2_f " << v2_f << std::endl;
std::cout << "v2_b " << v2_b << std::endl;
std::cout << "v2_b.norm " << v2_b.norm() << std::endl;
v2_b.normalize();
std::cout << "v2_b.normalized " << v2_b << std::endl;