mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-09 11:00:34 +08:00
Added vector data ctor.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user