mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 00:03:33 +08:00
More features: longerThan, norm, copyTo and slice on a Slice (#97)
* Allow slices of slices, add longerThan to Vector/Slice
This commit is contained in:
+2
-2
@@ -90,12 +90,12 @@ public:
|
||||
return (*this);
|
||||
}
|
||||
|
||||
void copyTo(Type dst [M*N]) const
|
||||
void copyTo(Type dst[M*N]) const
|
||||
{
|
||||
memcpy(dst, _data, sizeof(Type)*M*N);
|
||||
}
|
||||
|
||||
void copyToColumnMajor(Type (&dst)[M*N]) const
|
||||
void copyToColumnMajor(Type dst[M*N]) const
|
||||
{
|
||||
const Matrix<Type, M, N> &self = *this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user