Blaze 3.9
Public Types | Public Member Functions | Static Public Attributes | Private Types | Private Attributes | List of all members
blaze::DMatDMatSolveExpr< MT1, MT2, SO > Class Template Reference

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

#include <DMatDMatSolveExpr.h>

Inherits blaze::MatMatSolveExpr< DenseMatrix< DMatDMatSolveExpr< MT1, MT2, SO >, SO > >, and blaze::Computation.

Public Types

using This = DMatDMatSolveExpr< MT1, MT2, SO >
 Type of this DMatDMatSolveExpr instance.
 
using BaseType = MatMatSolveExpr< DenseMatrix< This, SO > >
 Base type of this DMatDMatSolveExpr instance.
 
using ResultType = SolveTrait_t< RT1, RT2 >
 Result type for expression template evaluations.
 
using OppositeType = OppositeType_t< ResultType >
 Result type with opposite storage order 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< MT1 >, const MT1, const MT1 & >
 Composite type of the left-hand side dense matrix expression.
 
using RightOperand = If_t< IsExpression_v< MT2 >, const MT2, const MT2 & >
 Composite type of the right-hand side dense matrix expression.
 
using MatrixType = DMatDMatSolveExpr< MT1, MT2, SO >
 Type of the matrix.
 

Public Member Functions

 DMatDMatSolveExpr (const MT1 &lhs, const MT2 &rhs) noexcept
 Constructor for the DMatDMatSolveExpr class. More...
 
size_t rows () const noexcept
 Returns the current number of rows of the matrix. More...
 
size_t columns () const noexcept
 Returns the current number of columns of the matrix. More...
 
LeftOperand leftOperand () const noexcept
 Returns the left-hand side dense matrix operand. More...
 
RightOperand rightOperand () const noexcept
 Returns the right-hand side dense matrix 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 DMatDMatSolveExpr< MT1, MT2, SO > & operator~ () noexcept
 CRTP-based conversion operation for non-constant matrices. More...
 
BLAZE_ALWAYS_INLINE constexpr const DMatDMatSolveExpr< MT1, MT2, SO > & operator~ () const noexcept
 CRTP-based conversion operation for constant matrices. More...
 
constexpr DMatDMatSolveExpr< MT1, MT2, SO > & operator* () noexcept
 CRTP-based conversion operation for non-constant matrices. More...
 
constexpr const DMatDMatSolveExpr< MT1, MT2, SO > & operator* () const noexcept
 CRTP-based conversion operation for constant matrices. 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 storageOrder
 Storage order of the matrix.
 

Private Types

using RT1 = ResultType_t< MT1 >
 Result type of the left-hand side dense matrix expression.
 
using RT2 = ResultType_t< MT2 >
 Result type of the right-hand side dense matrix expression.
 

Private Attributes

LeftOperand lhs_
 Left-hand side dense matrix of the solver expression.
 
RightOperand rhs_
 Right-hand side dense matrix of the solver expression.
 

Detailed Description

template<typename MT1, typename MT2, bool SO>
class blaze::DMatDMatSolveExpr< MT1, MT2, SO >

Expression object for dense matrix-dense matrix solvers.

The DMatDMatSolveExpr class represents the compile time expression for a dense linear system of equations (LSE) with multiple right-hand side vectors.

Constructor & Destructor Documentation

◆ DMatDMatSolveExpr()

template<typename MT1 , typename MT2 , bool SO>
blaze::DMatDMatSolveExpr< MT1, MT2, SO >::DMatDMatSolveExpr ( const MT1 &  lhs,
const MT2 &  rhs 
)
inlinenoexcept

Constructor for the DMatDMatSolveExpr class.

Parameters
lhsThe left-hand side matrix operand of the solver expression.
rhsThe right-hand side matrix operand of the solver expression.

Member Function Documentation

◆ canAlias()

template<typename MT1 , typename MT2 , bool SO>
template<typename T >
bool blaze::DMatDMatSolveExpr< MT1, MT2, SO >::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.

◆ columns()

template<typename MT1 , typename MT2 , bool SO>
size_t blaze::DMatDMatSolveExpr< MT1, MT2, SO >::columns ( ) const
inlinenoexcept

Returns the current number of columns of the matrix.

Returns
The number of columns of the matrix.

◆ isAliased()

template<typename MT1 , typename MT2 , bool SO>
template<typename T >
bool blaze::DMatDMatSolveExpr< MT1, MT2, SO >::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 MT1 , typename MT2 , bool SO>
LeftOperand blaze::DMatDMatSolveExpr< MT1, MT2, SO >::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 DMatDMatSolveExpr< MT1, MT2, SO > & blaze::Matrix< DMatDMatSolveExpr< MT1, MT2, SO > , SO >::operator*
constexprnoexceptinherited

CRTP-based conversion operation for constant matrices.

Returns
Constant reference of the actual type of the matrix.

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

◆ operator*() [2/2]

BLAZE_ALWAYS_INLINE constexpr DMatDMatSolveExpr< MT1, MT2, SO > & blaze::Matrix< DMatDMatSolveExpr< MT1, MT2, SO > , SO >::operator*
constexprnoexceptinherited

CRTP-based conversion operation for non-constant matrices.

Returns
Mutable reference of the actual type of the matrix.

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

◆ operator~() [1/2]

BLAZE_ALWAYS_INLINE constexpr const DMatDMatSolveExpr< MT1, MT2, SO > & blaze::Matrix< DMatDMatSolveExpr< MT1, MT2, SO > , SO >::operator~
constexprnoexceptinherited

CRTP-based conversion operation for constant matrices.

Parameters
matrixThe matrix to be downcast.
Returns
Constant reference of the actual type of the matrix.

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

◆ operator~() [2/2]

BLAZE_ALWAYS_INLINE constexpr DMatDMatSolveExpr< MT1, MT2, SO > & blaze::Matrix< DMatDMatSolveExpr< MT1, MT2, SO > , SO >::operator~
constexprnoexceptinherited

CRTP-based conversion operation for non-constant matrices.

Parameters
matrixThe matrix to be downcast.
Returns
Mutable reference of the actual type of the matrix.

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

◆ rightOperand()

template<typename MT1 , typename MT2 , bool SO>
RightOperand blaze::DMatDMatSolveExpr< MT1, MT2, SO >::rightOperand ( ) const
inlinenoexcept

Returns the right-hand side dense matrix operand.

Returns
The right-hand side dense matrix operand.

◆ rows()

template<typename MT1 , typename MT2 , bool SO>
size_t blaze::DMatDMatSolveExpr< MT1, MT2, SO >::rows ( ) const
inlinenoexcept

Returns the current number of rows of the matrix.

Returns
The number of rows of the matrix.

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