Scalar multiplication [Non-member C-style functions]

Collaboration diagram for Scalar multiplication:

Non-member methods that multiply a matrix or vector by a scalar. More...

Functions

template<typename T>
void Multiply (DenseVector< T > &result, const Vector< T > &v, T scalar)
Multiplies a vector by a scalar, and stores the result.
template<typename T>
void Multiply (DenseVector< T > &result, const DenseVector< T > &v, T scalar)
Multiplies a vector by a scalar, and stores the result. Uses BLAS if possible (T = complex, double).
template<typename T>
void MultiplyBy (DenseVector< T > &result, T scalar)
Multiplies a vector by a scalar in place. Uses BLAS if possible (T = complex, double).
template<typename T>
void Multiply (DenseMatrix< T > &result, const DenseMatrix< T > &m, T scalar)
Multiplies a matrix by a scalar, and stores the result. Uses BLAS if possible (T = complex, double).
template<typename T>
void MultiplyBy (DenseMatrix< T > &result, T scalar)
Multiplies a matrix by a scalar in place. Uses BLAS if possible (T = complex, double).
template<>
void Multiply (DenseVector< double > &result, const DenseVector< double > &v, double scalar)
Scales one DenseVector<double> by a scalar, storing the result in another. Uses BLAS if possible.
template<>
void MultiplyBy (DenseVector< double > &result, double scalar)
Scales a DenseVector<double> by a scalar in place. Uses BLAS if possible.
template<>
void Multiply (DenseMatrix< double > &result, const DenseMatrix< double > &m, double scalar)
Scales a DenseMatrix<double> by a scalar, storing the result in another. Uses BLAS if possible.
template<>
void MultiplyBy (DenseMatrix< double > &result, double scalar)
Scales a DenseMatrix<double> by a scalar in place. Uses BLAS if possible.
template<>
void Multiply (DenseMatrix< complex > &result, const DenseMatrix< complex > &m, complex scalar)
Scales a DenseMatrix<complex> by a scalar, storing the result in another. Uses BLAS if possible.
template<>
void MultiplyBy (DenseMatrix< complex > &result, complex scalar)
Scales a DenseMatrix<complex> by a scalar in place. Uses BLAS if possible.

Detailed Description

Non-member methods that multiply a matrix or vector by a scalar.

Generated on Wed Jun 14 22:25:32 2006 for linalg by  1.4.4