Blaze 3.9
Public Types | Public Member Functions | Static Public Attributes | Private Types | Private Attributes | List of all members
blaze::DMatDVecSolveExpr< MT, VT, TF > Class Template Reference

Expression object for dense matrix-dense vector solvers. More...

#include <DMatDVecSolveExpr.h>

Inherits blaze::MatVecSolveExpr< DenseVector< DMatDVecSolveExpr< MT, VT, TF >, TF > >, and blaze::Computation.

Public Types

using This = DMatDVecSolveExpr< MT, VT, TF >
 Type of this DMatDVecSolveExpr instance.
 
using BaseType = MatVecSolveExpr< DenseVector< This, TF > >
 Base type of this DMatDVecSolveExpr instance.
 
using ResultType = SolveTrait_t< MRT, VRT >
 Result type for expression template evaluations.
 
using TransposeType = TransposeType_t< ResultType >
 Transpose type for expression template evaluations.
 
using ElementType = ElementType_t< ResultType >
 Resulting element type.
 
using ReturnType = ReturnType_t< ResultType >
 Return type for expression template evaluations.
 
using CompositeType = const ResultType
 Data type for composite expression templates.
 
using LeftOperand = If_t< IsExpression_v< MT >, const MT, const MT & >
 Composite type of the left-hand side dense matrix expression.
 
using RightOperand = If_t< IsExpression_v< VT >, const VT, const VT & >
 Composite type of the right-hand side dense vector expression.
 
using VectorType = DMatDVecSolveExpr< MT, VT, TF >
 Type of the vector.
 

Public Member Functions

 DMatDVecSolveExpr (const MT &mat, const VT &vec) noexcept
 Constructor for the DMatDVecSolveExpr class. More...
 
size_t size () const noexcept
 Returns the current size/dimension of the vector. More...
 
LeftOperand leftOperand () const noexcept
 Returns the left-hand side dense matrix operand. More...
 
RightOperand rightOperand () const noexcept
 Returns the right-hand side dense vector operand. More...
 
template<typename T >
bool canAlias (const T *alias) const noexcept
 Returns whether the expression can alias with the given address alias. More...
 
template<typename T >
bool isAliased (const T *alias) const noexcept
 Returns whether the expression is aliased with the given address alias. More...
 
Conversion operators
BLAZE_ALWAYS_INLINE constexpr DMatDVecSolveExpr< MT, VT, TF > & operator~ () noexcept
 CRTP-based conversion operation for non-constant vectors. More...
 
BLAZE_ALWAYS_INLINE constexpr const DMatDVecSolveExpr< MT, VT, TF > & operator~ () const noexcept
 CRTP-based conversion operation for constant vectors. More...
 
constexpr DMatDVecSolveExpr< MT, VT, TF > & operator* () noexcept
 CRTP-based conversion operation for non-constant vectors. More...
 
constexpr const DMatDVecSolveExpr< MT, VT, TF > & operator* () const noexcept
 CRTP-based conversion operation for constant vectors. More...
 

Static Public Attributes

static constexpr bool simdEnabled = false
 Compilation switch for the expression template evaluation strategy.
 
static constexpr bool smpAssignable = false
 Compilation switch for the expression template assignment strategy.
 
static constexpr bool transposeFlag
 Transpose flag of the vector.
 

Private Types

using MRT = ResultType_t< MT >
 Result type of the left-hand side dense matrix expression.
 
using VRT = ResultType_t< VT >
 Result type of the right-hand side dense vector expression.
 

Private Attributes

LeftOperand mat_
 Left-hand side dense matrix of the solver expression.
 
RightOperand vec_
 Right-hand side dense vector of the solver expression.
 

Detailed Description

template<typename MT, typename VT, bool TF>
class blaze::DMatDVecSolveExpr< MT, VT, TF >

Expression object for dense matrix-dense vector solvers.

The DMatDVecSolveExpr class represents the compile time expression for a dense linear system of equations (LSE) with a single right-hand side vector.

Constructor & Destructor Documentation

◆ DMatDVecSolveExpr()

template<typename MT , typename VT , bool TF>
blaze::DMatDVecSolveExpr< MT, VT, TF >::DMatDVecSolveExpr ( const MT &  mat,
const VT &  vec 
)
inlinenoexcept

Constructor for the DMatDVecSolveExpr class.

Parameters
matThe left-hand side matrix operand of the solver expression.
vecThe right-hand side vector operand of the solver expression.

Member Function Documentation

◆ canAlias()

template<typename MT , typename VT , bool TF>
template<typename T >
bool blaze::DMatDVecSolveExpr< MT, VT, TF >::canAlias ( const T *  alias) const
inlinenoexcept

Returns whether the expression can alias with the given address alias.

Parameters
aliasThe alias to be checked.
Returns
true in case an aliasing effect is possible, false if not.

◆ isAliased()

template<typename MT , typename VT , bool TF>
template<typename T >
bool blaze::DMatDVecSolveExpr< MT, VT, TF >::isAliased ( const T *  alias) const
inlinenoexcept

Returns whether the expression is aliased with the given address alias.

Parameters
aliasThe alias to be checked.
Returns
true in case the given alias is contained in this expression, false if not.

◆ leftOperand()

template<typename MT , typename VT , bool TF>
LeftOperand blaze::DMatDVecSolveExpr< MT, VT, TF >::leftOperand ( ) const
inlinenoexcept

Returns the left-hand side dense matrix operand.

Returns
The left-hand side dense matrix operand.

◆ operator*() [1/2]

BLAZE_ALWAYS_INLINE constexpr const DMatDVecSolveExpr< MT, VT, TF > & blaze::Vector< DMatDVecSolveExpr< MT, VT, TF > , TF >::operator*
constexprnoexceptinherited

CRTP-based conversion operation for constant vectors.

Returns
Const reference of the actual type of the vector.

This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a constant reference to the actual type VT.

◆ operator*() [2/2]

BLAZE_ALWAYS_INLINE constexpr DMatDVecSolveExpr< MT, VT, TF > & blaze::Vector< DMatDVecSolveExpr< MT, VT, TF > , TF >::operator*
constexprnoexceptinherited

CRTP-based conversion operation for non-constant vectors.

Returns
Mutable reference of the actual type of the vector.

This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a mutable reference to the actual type VT.

◆ operator~() [1/2]

BLAZE_ALWAYS_INLINE constexpr const DMatDVecSolveExpr< MT, VT, TF > & blaze::Vector< DMatDVecSolveExpr< MT, VT, TF > , TF >::operator~
constexprnoexceptinherited

CRTP-based conversion operation for constant vectors.

Returns
Constant reference of the actual type of the vector.

This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a constant reference to the actual type VT.

◆ operator~() [2/2]

BLAZE_ALWAYS_INLINE constexpr DMatDVecSolveExpr< MT, VT, TF > & blaze::Vector< DMatDVecSolveExpr< MT, VT, TF > , TF >::operator~
constexprnoexceptinherited

CRTP-based conversion operation for non-constant vectors.

Returns
Mutable reference of the actual type of the vector.

This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a mutable reference to the actual type VT.

◆ rightOperand()

template<typename MT , typename VT , bool TF>
RightOperand blaze::DMatDVecSolveExpr< MT, VT, TF >::rightOperand ( ) const
inlinenoexcept

Returns the right-hand side dense vector operand.

Returns
The right-hand side dense vector operand.

◆ size()

template<typename MT , typename VT , bool TF>
size_t blaze::DMatDVecSolveExpr< MT, VT, TF >::size ( ) const
inlinenoexcept

Returns the current size/dimension of the vector.

Returns
The size of the vector.

The documentation for this class was generated from the following file: