35#ifndef _BLAZE_MATH_EXPRESSIONS_VECSCALARMULTEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_VECSCALARMULTEXPR_H_
73template<
typename VT >
100template<
typename VT >
105 return (*vec).leftOperand() * ( -(*vec).rightOperand() );
135inline decltype(
auto)
operator*(
const VecScalarMultExpr<VT>& vec, ST scalar )
139 return (*vec).leftOperand() * ( (*vec).rightOperand() * scalar );
165 return (*vec).leftOperand() * ( scalar * (*vec).rightOperand() );
195 return (*vec).leftOperand() * ( (*vec).rightOperand() / scalar );
215template<
typename VT1
223 return ( (*lhs).leftOperand() * (*rhs) ) * (*lhs).rightOperand();
243template<
typename VT1
251 return ( (*lhs) * (*rhs).leftOperand() ) * (*rhs).rightOperand();
271template<
typename VT1
279 return ( (*lhs).leftOperand() * (*rhs) ) * (*lhs).rightOperand();
299template<
typename VT1
307 return ( (*lhs) * (*rhs).leftOperand() ) * (*rhs).rightOperand();
327template<
typename VT1
334 return ( (*lhs).leftOperand() * (*rhs).leftOperand() ) * ( (*lhs).rightOperand() * (*rhs).rightOperand() );
362 return ( (*mat) * (*vec).leftOperand() ) * (*vec).rightOperand();
390 return ( (*vec).leftOperand() * (*mat) ) * (*vec).rightOperand();
418 return ( (*mat) * (*vec).leftOperand() ) * (*vec).rightOperand();
446 return ( (*vec).leftOperand() * (*mat) ) * (*vec).rightOperand();
472template<
typename VT >
477 return trans( (*vector).leftOperand() ) * (*vector).rightOperand();
495template<
typename VT >
500 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.
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 all forward declarations for expression class templates.
Base class for all multiplication expression templates.
Definition MultExpr.h:70
Base class for all vector/scalar multiplication expression templates.
Definition VecScalarMultExpr.h:76