Collaboration diagram for Scalar multiplication:
![]() |
Functions | |
template<typename T> | |
DenseVector< T > | operator * (const DenseVector< T > &v, T scalar) |
Returns a scalar multiple of a vector, as a new DenseVector<T>. | |
template<typename T> | |
DenseVector< T > | operator * (T scalar, const DenseVector< T > &v) |
Returns a scalar multiple of a vector, as a new DenseVector<T>. | |
template<typename T> | |
DenseVector< T > | operator/ (const DenseVector< T > &v, T scalar) |
Returns an inverse scalar multiple of a vector, as a new DenseVector<T>. | |
template<typename T> | |
DenseMatrix< T > | operator * (const DenseMatrix< T > &m, T scalar) |
Returns a scalar multiple of a matrix, as a new DenseMatrix<T>. | |
template<typename T> | |
DenseMatrix< T > | operator * (T scalar, const DenseMatrix< T > &m) |
Returns a scalar multiple of a matrix, as a new DenseMatrix<T>. | |
template<typename T> | |
DenseMatrix< T > | operator/ (const DenseMatrix< T > &m, T scalar) |
Returns an inverse scalar multiple of a matrix, as a new DenseMatrix<T>. | |
template<typename T> | |
PermScaleMatrix< T > | operator * (const PermScaleMatrix< T > &m, const T &scalar) |
Takes a [const reference to a] PermScaleMatrix and a scalar, and returns their product. | |
template<typename T> | |
PermScaleMatrix< T > | operator * (const T &scalar, const PermScaleMatrix< T > &m) |
Takes a scalar and a [const reference to a] PermScaleMatrix, and returns their product. | |
template<typename T> | |
PermScaleMatrix< T > | operator/ (const PermScaleMatrix< T > &m, const T &scalar) |
Takes a [const reference to a] PermScaleMatrix and a scalar, and returns their quotient. |