expm testing and fixes.

This commit is contained in:
jgoppert
2015-11-05 15:39:41 -05:00
parent 5517532c90
commit 5566b3dc77
7 changed files with 93 additions and 27 deletions
+6 -1
View File
@@ -14,7 +14,7 @@
#include <string.h>
#include <math.h>
#include "Vector.hpp"
#include "matrix.hpp"
namespace matrix
{
@@ -175,6 +175,11 @@ public:
return res;
}
inline Matrix<Type, M, N> operator/(Type scalar) const
{
return (*this)*(1/scalar);
}
Matrix<Type, M, N> operator+(Type scalar) const
{
Matrix<Type, M, N> res;