mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 17:19:06 +08:00
Added vector data ctor.
This commit is contained in:
parent
cefe7b3e80
commit
44768fad35
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user