mirror of https://github.com/ArduPilot/ardupilot
AP_Math: rename * operator for vector3f * matrix3f
This commit is contained in:
parent
3fdcf5f940
commit
5470c6435e
|
@ -437,7 +437,7 @@ T Vector3<T>::angle(const Vector3<T> &v2) const
|
|||
|
||||
// multiplication of transpose by a vector
|
||||
template <typename T>
|
||||
Vector3<T> Vector3<T>::operator *(const Matrix3<T> &m) const
|
||||
Vector3<T> Vector3<T>::row_times_mat(const Matrix3<T> &m) const
|
||||
{
|
||||
return Vector3<T>(*this * m.colx(),
|
||||
*this * m.coly(),
|
||||
|
|
|
@ -158,7 +158,7 @@ public:
|
|||
}
|
||||
|
||||
// multiply a row vector by a matrix, to give a row vector
|
||||
Vector3<T> operator *(const Matrix3<T> &m) const;
|
||||
Vector3<T> row_times_mat(const Matrix3<T> &m) const;
|
||||
|
||||
// multiply a column vector by a row vector, returning a 3x3 matrix
|
||||
Matrix3<T> mul_rowcol(const Vector3<T> &v) const;
|
||||
|
|
Loading…
Reference in New Issue