Initial commit.

This commit is contained in:
jgoppert
2015-11-03 14:46:54 -05:00
commit 76e86cf937
22 changed files with 1093 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "Matrix.hpp"
#include <assert.h>
#include <stdio.h>
using namespace matrix;
int main()
{
float data[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
Matrix3f A(data);
A = A * 2;
float data_check[9] = {2, 4, 6, 8, 10, 12, 14, 16, 18};
Matrix3f A_check(data_check);
A.print();
A_check.print();
assert(A == A_check);
return 0;
}