Added vector2.

This commit is contained in:
jgoppert
2015-11-07 14:27:12 -05:00
parent ace2751715
commit 9b995e19f3
12 changed files with 160 additions and 45 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ SquareMatrix<Type, M> diag(Vector<Type, M> d) {
}
template<typename Type, size_t M>
SquareMatrix<Type, M> expm(const SquareMatrix<Type, M> & A, size_t order=5)
SquareMatrix<Type, M> expm(const Matrix<Type, M, M> & A, size_t order=5)
{
SquareMatrix<Type, M> res;
SquareMatrix<Type, M> A_pow = A;