mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add unary operator-(), computing the opposite.
This commit is contained in:
@@ -119,6 +119,8 @@ template<typename Scalar, typename Derived> class Object
|
||||
Product<Derived, OtherDerived>
|
||||
lazyProduct(const Object<Scalar, OtherDerived>& other) const EI_ALWAYS_INLINE;
|
||||
|
||||
Opposite<Derived> operator-() const;
|
||||
|
||||
template<typename OtherDerived>
|
||||
Derived& operator+=(const Object<Scalar, OtherDerived>& other);
|
||||
template<typename OtherDerived>
|
||||
|
||||
Reference in New Issue
Block a user