diff options
Diffstat (limited to 'src/Core/Object.h')
-rw-r--r-- | src/Core/Object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Core/Object.h b/src/Core/Object.h index 5792385e6..6a3be1d05 100644 --- a/src/Core/Object.h +++ b/src/Core/Object.h @@ -117,6 +117,10 @@ template<typename Scalar, typename Derived> class Object zero(int rows = RowsAtCompileTime, int cols = ColsAtCompileTime); static Identity<Derived> identity(int rows = RowsAtCompileTime); + static FromArray<Derived> + fromArray(const Scalar* array, int rows = RowsAtCompileTime, int cols = ColsAtCompileTime); + static WrapArray<Derived> + wrapArray(Scalar* array, int rows = RowsAtCompileTime, int cols = ColsAtCompileTime); template<typename OtherDerived> bool isApprox( |