Blaze 3.9
Loading...
Searching...
No Matches
blaze::DMatSVDExpr< MT, SO > Class Template Reference

Expression object for dense matrix singular value solvers. More...

#include <DMatSVDExpr.h>

Inherits blaze::SVDExpr< DenseVector< DMatSVDExpr< MT, SO >, false > >, and blaze::Computation.

Public Types

using This = DMatSVDExpr<MT,SO>
 Type of this DMatSVDExpr instance.
using BaseType = SVDExpr< DenseMatrix<This,SO> >
 Base type of this DMatSVDExpr instance.
using ResultType = Rebind_t<VT,ET>
 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 Operand = If_t< IsExpression_v<MT>, const MT, const MT& >
 Composite data type of the dense matrix expression.

Public Member Functions

 DMatSVDExpr (const MT &dm) noexcept
 Constructor for the DMatSVDExpr class.
size_t size () const noexcept
 Returns the current size/dimension of the vector.
Operand operand () const noexcept
 Returns the dense matrix operand.
template<typename T>
bool canAlias (const T *alias) const noexcept
 Returns whether the expression can alias with the given address alias.
template<typename T>
bool isAliased (const T *alias) const noexcept
 Returns whether the expression is aliased with the given address alias.

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.

Private Types

using CRT = ColumnTrait_t< ResultType_t<MT> >
 Column type of the matrix result type.
using CTT = ColumnTrait_t< TransposeType_t<MT> >
 Column type of the matrix transpose type.
using VT
 Type of the resulting vector.
using ET = UnderlyingElement_t< ElementType_t<MT> >
 Element type of the resulting vector.

Private Attributes

Operand dm_
 Dense matrix of the singular value expression.

Detailed Description

template<typename MT, bool SO>
class blaze::DMatSVDExpr< MT, SO >

Expression object for dense matrix singular value solvers.

The DMatSVDExpr class represents the compile time expression for dense matrix singular value solvers.

Member Typedef Documentation

◆ VT

template<typename MT, bool SO>
using blaze::DMatSVDExpr< MT, SO >::VT
private
Initial value:
ColumnTrait_t< ResultType_t< MT > > CRT
Column type of the matrix result type.
Definition DMatSVDExpr.h:88
ColumnTrait_t< TransposeType_t< MT > > CTT
Column type of the matrix transpose type.
Definition DMatSVDExpr.h:89
constexpr ptrdiff_t MaxSize_v
Auxiliary variable template for the MaxSize type trait.
Definition MaxSize.h:175
constexpr ptrdiff_t Size_v
Auxiliary variable template for the Size type trait.
Definition Size.h:176
typename If< Condition >::template Type< T1, T2 > If_t
Auxiliary alias template for the If class template.
Definition If.h:108

Type of the resulting vector.

Constructor & Destructor Documentation

◆ DMatSVDExpr()

template<typename MT, bool SO>
blaze::DMatSVDExpr< MT, SO >::DMatSVDExpr ( const MT & dm)
inlineexplicitnoexcept

Constructor for the DMatSVDExpr class.

Parameters
dmThe dense matrix operand of the singular value expression.

Member Function Documentation

◆ canAlias()

template<typename MT, bool SO>
template<typename T>
bool blaze::DMatSVDExpr< MT, 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 the expression can alias, false otherwise.

◆ isAliased()

template<typename MT, bool SO>
template<typename T>
bool blaze::DMatSVDExpr< MT, 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 an alias effect is detected, false otherwise.

◆ operand()

template<typename MT, bool SO>
Operand blaze::DMatSVDExpr< MT, SO >::operand ( ) const
inlinenoexcept

Returns the dense matrix operand.

Returns
The dense matrix operand.

◆ size()

template<typename MT, bool SO>
size_t blaze::DMatSVDExpr< MT, SO >::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: