Added vector data ctor.

This commit is contained in:
jgoppert 2015-11-05 19:32:28 -05:00
parent cefe7b3e80
commit 44768fad35

View File

@ -35,6 +35,11 @@ public:
{
}
Vector(const Type *data_) :
Matrix<Type, M, 1>(data_)
{
}
inline Type operator()(size_t i) const
{
const Matrix<Type, M, 1> &v = *this;