35#ifndef _BLAZE_MATH_EXPRESSIONS_VECSCALARDIVEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_VECSCALARDIVEXPR_H_
72template<
typename VT >
103 ( IsInvertible_v<ST> ||
104 IsInvertible_v< RightOperand_t< VectorType_t<VT> > > ) >* =
nullptr >
105inline decltype(
auto) operator*( const
VecScalarDivExpr<VT>& vec, ST scalar )
109 return (*vec).leftOperand() * ( scalar / (*vec).rightOperand() );
130 , EnableIf_t< IsScalar_v<ST> &&
131 ( IsInvertible_v<ST> ||
132 IsInvertible_v< RightOperand_t< VectorType_t<VT> > > ) >* =
nullptr >
133inline decltype(
auto) operator*( ST scalar, const VecScalarDivExpr<VT>& vec )
137 return (*vec).leftOperand() * ( scalar / (*vec).rightOperand() );
158 , EnableIf_t< IsScalar_v<ST> >* =
nullptr >
159inline decltype(
auto)
operator/(
const VecScalarDivExpr<VT>& vec, ST scalar )
165 return (*vec).leftOperand() / ( (*vec).rightOperand() * scalar );
191template<
typename VT >
192inline decltype(
auto)
trans(
const VecScalarDivExpr<VT>& vector )
196 return trans( (*vector).leftOperand() ) / (*vector).rightOperand();
214template<
typename VT >
215inline decltype(
auto)
conj(
const VecScalarDivExpr<VT>& vector )
219 return conj( (*vector).leftOperand() ) / (*vector).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
#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
Base class for all division expression templates.
Definition: DivExpr.h:69
Base class for all vector/scalar division expression templates.
Definition: VecScalarDivExpr.h:75