diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-07-10 10:24:37 +0200 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-07-10 10:24:37 +0200 |
commit | eb5cdb04efc9984d0937b65620606f8043dd1831 (patch) | |
tree | 46b750f4f2228e532e2041d873b37caf2940d15c /test/matrix_example.cpp | |
parent | Small correction on basic multiplication (diff) | |
download | libmm-eb5cdb04efc9984d0937b65620606f8043dd1831.tar.gz libmm-eb5cdb04efc9984d0937b65620606f8043dd1831.zip |
Implicit convertion to basic_vec to vec2 or vec3
Diffstat (limited to 'test/matrix_example.cpp')
-rw-r--r-- | test/matrix_example.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/matrix_example.cpp b/test/matrix_example.cpp index a835ee0..a3f0eac 100644 --- a/test/matrix_example.cpp +++ b/test/matrix_example.cpp @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) { std::cout << "a.td() = \n" << a.t(); // or a.trasposed(); std::cout << std::endl; - // special matrices + // square matrix mm::square_matrix<std::complex<int>, 2> f {{{2, 3}, {1, 4}}, {{6, 1}, {-3, 4}}}; std::cout << "Square matrix" << std::endl; @@ -50,5 +50,9 @@ int main(int argc, char *argv[]) { std::cout << "I = \n" << identity; std::cout << std::endl; + // vector + + // + return 0; } |