35#ifndef _BLAZE_MATH_EXPRESSIONS_MATSCALARDIVEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_MATSCALARDIVEXPR_H_
72template<
typename MT >
105inline decltype(
auto) operator*( const
MatScalarDivExpr<MT>& mat, ST scalar )
109 return (*mat).leftOperand() * ( scalar / (*mat).rightOperand() );
133inline decltype(
auto)
operator*( ST scalar,
const MatScalarDivExpr<MT>& mat )
137 return (*mat).leftOperand() * ( scalar / (*mat).rightOperand() );
165 return (*mat).leftOperand() / ( (*mat).rightOperand() * scalar );
191template<
typename MT >
196 return trans( (*matrix).leftOperand() ) / (*matrix).rightOperand();
214template<
typename MT >
219 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.
Header file for the DivExpr 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
decltype(auto) operator*(const DenseMatrix< MT1, false > &lhs, const DenseMatrix< MT2, false > &rhs)
Multiplication operator for the multiplication of two row-major dense matrices ( ).
Definition DMatDMatMultExpr.h:9640
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.
Base class for all division expression templates.
Definition DivExpr.h:69
Base class for all matrix/scalar division expression templates.
Definition MatScalarDivExpr.h:75