8 #ifndef __SIM_DerScalar_h__
9 #define __SIM_DerScalar_h__
84 v() * rhs.
D() + rhs.
v() * D());
Mat3< typename promote< S, T >::type > operator*(S scalar, const Mat3< T > &m)
Multiply each element of the given matrix by scalar and return the result.
SIM_DerScalar & operator=(fpreal rhs)
SIM_DerScalar(fpreal v)
Initialize to a constant vector, with no derivative.
SIM_DerScalar operator*=(fpreal rhs)
SIM_DerScalar sqrt() const
Mat3< typename promote< T0, T1 >::type > operator+(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Add corresponding elements of m0 and m1 and return the result.
SIM_DerScalar operator/=(fpreal rhs)
SIM_DerScalar inverse() const
SIM_DerScalar(fpreal v, const UT_Vector3 &D)
SIM_DerScalar operator-=(const SIM_DerScalar &rhs)
SIM_DerScalar operator+(const SIM_DerScalar &rhs) const
SIM_DerScalar sqr() const
SIM_DerScalar operator-() const
SIM_DerScalar operator-(fpreal rhs) const
SIM_DerScalar operator*(const SIM_DerScalar &rhs) const
Mat3< typename promote< T0, T1 >::type > operator-(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Subtract corresponding elements of m0 and m1 and return the result.
SIM_DerScalar operator*(fpreal rhs) const
SIM_DerScalar operator*(fpreal lhs, const SIM_DerScalar &rhs)
SIM_DerScalar operator+(fpreal rhs) const
SIM_DerScalar operator/(fpreal rhs) const
SIM_DerScalar operator*=(const SIM_DerScalar &rhs)
const UT_Vector3 & D() const
SIM_DerScalar operator/=(const SIM_DerScalar &rhs)
SIM_DerScalar operator/(fpreal lhs, const SIM_DerScalar &rhs)
SIM_DerScalar operator-(const SIM_DerScalar &rhs) const
LeafData & operator=(const LeafData &)=delete
SIM_DerScalar operator/(const SIM_DerScalar &rhs) const
SIM_DerScalar operator+=(fpreal rhs)
SIM_DerScalar operator+=(const SIM_DerScalar &rhs)
SIM_DerScalar operator-=(fpreal rhs)