new constructor from vector
parent
b65b0c367e
commit
7151e7b24a
|
@ -37,6 +37,11 @@ Matrix Matrix_( size_t m, size_t n, const double* const data);
|
||||||
*/
|
*/
|
||||||
Matrix Matrix_(size_t m, size_t n, const Vector& v);
|
Matrix Matrix_(size_t m, size_t n, const Vector& v);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* constructor from Vector yielding v.size()*1 vector
|
||||||
|
*/
|
||||||
|
inline Matrix Matrix_(const Vector& v) { return Matrix_(v.size(),1,v);}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* nice constructor, dangerous as number of arguments must be exactly right
|
* nice constructor, dangerous as number of arguments must be exactly right
|
||||||
* and you have to pass doubles !!! always use 0.0 never 0
|
* and you have to pass doubles !!! always use 0.0 never 0
|
||||||
|
|
Loading…
Reference in New Issue