44 #ifndef IE_CORE_MATRIXOPS_H
45 #define IE_CORE_MATRIXOPS_H
47 #include "IECore/MatrixTraits.h"
54 inline void matSet( T &m,
unsigned int i,
unsigned int j,
typename MatrixTraits<T>::BaseType x );
58 inline void matSetAll( T &m,
typename MatrixTraits<T>::BaseType x );
62 inline typename MatrixTraits<T>::BaseType
matGet(
const T &m,
unsigned int i,
unsigned int j );
65 template<
typename T,
typename S>
69 template<
typename T,
typename S>
74 template<
typename T,
typename S>
77 inline S operator()(
const T &m )
const;
82 #include "IECore/MatrixOps.inl"
84 #endif // IE_CORE_MATRIXOPS_H
MatrixTraits< T >::BaseType matGet(const T &m, unsigned int i, unsigned int j)
Returns the value of the specified component of v.
void matSetAll(T &m, typename MatrixTraits< T >::BaseType x)
Sets all components of m to the value x.
S matConvert(const T &m)
Converts from one matrix type to another.
Definition: MatrixOps.h:75
void matSet(T &m, unsigned int i, unsigned int j, typename MatrixTraits< T >::BaseType x)
Sets the specified component of m to the value x.
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43