35#ifndef _BLAZE_MATH_EXPRESSIONS_MATSCALARMULTEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_MATSCALARMULTEXPR_H_
74template<
typename MT >
101template<
typename MT >
106 return (*mat).leftOperand() * ( -(*mat).rightOperand() );
136inline decltype(
auto)
operator*(
const MatScalarMultExpr<MT>& mat, ST scalar )
140 return (*mat).leftOperand() * ( (*mat).rightOperand() * scalar );
166 return (*mat).leftOperand() * ( scalar * (*mat).rightOperand() );
196 return (*mat).leftOperand() * ( (*mat).rightOperand() / scalar );
223 return ( (*mat).leftOperand() * (*vec) ) * (*mat).rightOperand();
250 return ( (*vec) * (*mat).leftOperand() ) * (*mat).rightOperand();
277 return ( (*mat).leftOperand() * (*vec) ) * (*mat).rightOperand();
304 return ( (*vec) * (*mat).leftOperand() ) * (*mat).rightOperand();
332 return ( (*mat).leftOperand() * (*vec).leftOperand() ) * ( (*mat).rightOperand() * (*vec).rightOperand() );
360 return ( (*vec).leftOperand() * (*mat).leftOperand() ) * ( (*vec).rightOperand() * (*mat).rightOperand() );
380template<
typename MT1
388 return ( (*lhs).leftOperand() * (*rhs) ) * (*lhs).rightOperand();
408template<
typename MT1
416 return ( (*lhs) * (*rhs).leftOperand() ) * (*rhs).rightOperand();
436template<
typename MT1
444 return ( (*lhs).leftOperand() * (*rhs) ) * (*lhs).rightOperand();
464template<
typename MT1
472 return ( (*lhs) * (*rhs).leftOperand() ) * (*rhs).rightOperand();
492template<
typename MT1
499 return ( (*lhs).leftOperand() * (*rhs).leftOperand() ) * ( (*lhs).rightOperand() * (*rhs).rightOperand() );
525template<
typename MT >
530 return trans( (*matrix).leftOperand() ) * (*matrix).rightOperand();
548template<
typename MT >
553 return conj( (*matrix).leftOperand() ) * (*matrix).rightOperand();
Header file for auxiliary alias declarations.
Header file for run time assertion macros.
Header file for the EnableIf class template.
Header file for the function trace functionality.
Header file for the IsInvertible type trait.
Header file for the IsScalar type trait.
Base class for dense matrices.
Definition DenseMatrix.h:82
Base class for N-dimensional dense vectors.
Definition DenseVector.h:77
Base class for sparse matrices.
Definition SparseMatrix.h:77
Base class for sparse vectors.
Definition SparseVector.h:72
Header file for the MultExpr base class.
decltype(auto) conj(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the complex conjugate of each single element of dm.
Definition DMatMapExpr.h:1464
decltype(auto) trans(const DenseMatrix< MT, SO > &dm)
Calculation of the transpose of the given dense matrix.
Definition DMatTransExpr.h:766
constexpr bool IsInvertible_v
Auxiliary variable template for the IsInvertible type trait.
Definition IsInvertible.h:103
#define BLAZE_USER_ASSERT(expr, msg)
Run time assertion macro for user checks.
Definition Assert.h:117
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition EnableIf.h:138
#define BLAZE_FUNCTION_TRACE
Function trace macro.
Definition FunctionTrace.h:94
Header file for the exception macros of the math module.
Header file for all forward declarations for expression class templates.
Base class for all matrix/scalar multiplication expression templates.
Definition MatScalarMultExpr.h:77
Base class for all multiplication expression templates.
Definition MultExpr.h:70
Base class for all vector/scalar multiplication expression templates.
Definition VecScalarMultExpr.h:76