diff options
Diffstat (limited to 'test/matrix_example.cpp')
-rw-r--r-- | test/matrix_example.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/matrix_example.cpp b/test/matrix_example.cpp new file mode 100644 index 0000000..3fb7c78 --- /dev/null +++ b/test/matrix_example.cpp @@ -0,0 +1,13 @@ +#include "mmmatrix.hpp" + +#include <iostream> +#include <complex> + +int main(int argc, char *argv[]) { + std::cout << "MxN dimensional (int) matrices" << std::endl; + mm::matrix<int, 3, 2> m {{1, 2}, {3, 4}, {5, 6}}; + + std::cout << m; + + return 0; +} |