35 #ifndef _BLAZE_MATH_EXPRESSIONS_TSMATDMATSCHUREXPR_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_TSMATDMATSCHUREXPR_H_ 99 template<
typename MT1
101 class TSMatDMatSchurExpr
102 :
public SchurExpr< SparseMatrix< TSMatDMatSchurExpr<MT1,MT2>, true > >
103 ,
private Computation
122 static constexpr
bool returnExpr = ( !IsTemporary_v<RN1> && !IsTemporary_v<RN2> );
136 static constexpr
bool useAssign = ( RequiresEvaluation_v<MT1> || RequiresEvaluation_v<MT2> );
139 template<
typename MT >
141 static constexpr
bool UseAssign_v =
useAssign;
255 return left_->index();
344 if( i >=
lhs_.rows() ) {
347 if( j >=
lhs_.columns() ) {
381 inline size_t rows() const noexcept {
392 return lhs_.columns();
402 return lhs_.nonZeros();
413 return lhs_.nonZeros(j);
482 template<
typename T >
483 inline bool canAlias(
const T* alias )
const noexcept {
484 return (
lhs_.canAlias( alias ) ||
rhs_.isAliased( alias ) );
494 template<
typename T >
495 inline bool isAliased(
const T* alias )
const noexcept {
496 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
518 template<
typename MT
538 for(
size_t j=0UL; j<(~lhs).
columns(); ++j ) {
539 for(
auto element=A.begin(j); element!=A.end(j); ++element )
540 (~lhs)(element->index(),j) = element->value() * B(element->index(),j);
559 template<
typename MT >
578 const size_t m( rhs.rows() );
579 const size_t n( rhs.columns() );
582 std::vector<size_t> nonzeros( m, 0UL );
583 for(
size_t j=0UL; j<n; ++j ) {
584 const auto lend( A.end(j) );
585 for(
auto l=A.begin(j); l!=lend; ++l ) {
586 ++nonzeros[l->index()];
591 for(
size_t i=0UL; i<m; ++i ) {
592 (~lhs).reserve( i, nonzeros[i] );
596 for(
size_t j=0UL; j<(~lhs).
columns(); ++j ) {
597 for(
auto element=A.begin(j); element!=A.end(j); ++element )
598 (~lhs).append( element->index(), j, element->value() * B(element->index(),j) );
617 template<
typename MT >
618 friend inline auto assign( SparseMatrix<MT,true>& lhs,
const TSMatDMatSchurExpr& rhs )
619 -> EnableIf_t< UseAssign_v<MT> >
637 (~lhs).reserve( A.nonZeros() );
640 for(
size_t j=0UL; j<(~lhs).
columns(); ++j ) {
641 for(
auto element=A.begin(j); element!=A.end(j); ++element )
642 (~lhs).append( element->index(), j, element->value() * B(element->index(),j) );
643 (~lhs).finalize( j );
662 template<
typename MT
664 friend inline auto addAssign( DenseMatrix<MT,SO2>& lhs,
const TSMatDMatSchurExpr& rhs )
665 -> EnableIf_t< UseAssign_v<MT> >
682 for(
size_t j=0UL; j<(~lhs).
columns(); ++j ) {
683 for(
auto element=A.begin(j); element!=A.end(j); ++element )
684 (~lhs)(element->index(),j) += element->value() * B(element->index(),j);
707 template<
typename MT
709 friend inline auto subAssign( DenseMatrix<MT,SO2>& lhs,
const TSMatDMatSchurExpr& rhs )
710 -> EnableIf_t< UseAssign_v<MT> >
727 for(
size_t j=0UL; j<(~lhs).
columns(); ++j ) {
728 for(
auto element=A.begin(j); element!=A.end(j); ++element )
729 (~lhs)(element->index(),j) -= element->value() * B(element->index(),j);
752 template<
typename MT
754 friend inline void schurAssign( DenseMatrix<MT,SO2>& lhs,
const TSMatDMatSchurExpr& rhs )
771 for(
size_t j=0UL; j<(~lhs).
columns(); ++j )
773 const auto end( A.end(j) );
774 auto begin( A.begin(j) );
779 for( ; i<index; ++i )
780 reset( (~lhs)(i,j) );
781 (~lhs)(index,j) *=
begin->
value() * B(index,j);
785 for( ; i<(~lhs).
rows(); ++i )
786 reset( (~lhs)(i,j) );
841 template<
typename MT
902 template<
typename MT1
904 , DisableIf_t< ( IsUniLower_v<MT1> && IsUniUpper_v<MT2> ) ||
905 ( IsUniUpper_v<MT1> && IsUniLower_v<MT2> ) ||
906 ( IsStrictlyLower_v<MT1> && IsUpper_v<MT2> ) ||
907 ( IsStrictlyUpper_v<MT1> && IsLower_v<MT2> ) ||
908 ( IsLower_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
909 ( IsUpper_v<MT1> && IsStrictlyLower_v<MT2> ) ||
910 IsZero_v<MT1> >* =
nullptr >
911 inline const TSMatDMatSchurExpr<MT1,MT2>
912 tsmatdmatschur(
const SparseMatrix<MT1,true>& lhs,
const DenseMatrix<MT2,false>& rhs )
919 return TSMatDMatSchurExpr<MT1,MT2>( ~lhs, ~rhs );
939 template<
typename MT1
941 , EnableIf_t< ( IsUniLower_v<MT1> && IsUniUpper_v<MT2> ) ||
942 ( IsUniUpper_v<MT1> && IsUniLower_v<MT2> ) >* =
nullptr >
943 inline decltype(
auto)
944 tsmatdmatschur( const SparseMatrix<MT1,true>& lhs, const DenseMatrix<MT2,false>& rhs )
953 using ReturnType =
const SchurTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
978 template<
typename MT1
980 , EnableIf_t< ( IsStrictlyLower_v<MT1> && IsUpper_v<MT2> ) ||
981 ( IsStrictlyUpper_v<MT1> && IsLower_v<MT2> ) ||
982 ( IsLower_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
983 ( IsUpper_v<MT1> && IsStrictlyLower_v<MT2> ) ||
984 IsZero_v<MT1> >* =
nullptr >
985 inline decltype(
auto)
986 tsmatdmatschur( const SparseMatrix<MT1,true>& lhs, const DenseMatrix<MT2,false>& rhs )
995 using ReturnType =
const SchurTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1036 template<
typename MT1
1038 inline decltype(
auto)
1047 return tsmatdmatschur( ~lhs, ~rhs );
1065 template<
typename MT1
1067 , DisableIf_t< ( IsUniLower_v<MT1> && IsUniUpper_v<MT2> ) ||
1068 ( IsUniUpper_v<MT1> && IsUniLower_v<MT2> ) ||
1069 ( IsStrictlyLower_v<MT1> && IsUpper_v<MT2> ) ||
1070 ( IsStrictlyUpper_v<MT1> && IsLower_v<MT2> ) ||
1071 ( IsLower_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
1072 ( IsUpper_v<MT1> && IsStrictlyLower_v<MT2> ) ||
1073 IsZero_v<MT1> >* =
nullptr >
1074 inline const TSMatDMatSchurExpr<MT1,MT2>
1075 tsmattdmatschur(
const SparseMatrix<MT1,true>& lhs,
const DenseMatrix<MT2,true>& rhs )
1082 return TSMatDMatSchurExpr<MT1,MT2>( ~lhs, ~rhs );
1102 template<
typename MT1
1104 , EnableIf_t< ( IsUniLower_v<MT1> && IsUniUpper_v<MT2> ) ||
1105 ( IsUniUpper_v<MT1> && IsUniLower_v<MT2> ) >* =
nullptr >
1106 inline decltype(
auto)
1107 tsmattdmatschur( const SparseMatrix<MT1,true>& lhs, const DenseMatrix<MT2,true>& rhs )
1116 using ReturnType =
const SchurTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1141 template<
typename MT1
1143 , EnableIf_t< ( IsStrictlyLower_v<MT1> && IsUpper_v<MT2> ) ||
1144 ( IsStrictlyUpper_v<MT1> && IsLower_v<MT2> ) ||
1145 ( IsLower_v<MT1> && IsStrictlyUpper_v<MT2> ) ||
1146 ( IsUpper_v<MT1> && IsStrictlyLower_v<MT2> ) ||
1147 IsZero_v<MT1> >* =
nullptr >
1148 inline decltype(
auto)
1149 tsmattdmatschur( const SparseMatrix<MT1,true>& lhs, const DenseMatrix<MT2,true>& rhs )
1158 using ReturnType =
const SchurTrait_t< ResultType_t<MT1>, ResultType_t<MT2> >;
1198 template<
typename MT1
1200 inline decltype(
auto)
1209 return tsmattdmatschur( ~lhs, ~rhs );
1224 template<
typename MT1,
typename MT2 >
1225 struct Size< TSMatDMatSchurExpr<MT1,MT2>, 0UL >
1226 :
public Maximum< Size<MT1,0UL>, Size<MT2,0UL> >
1229 template<
typename MT1,
typename MT2 >
1230 struct Size< TSMatDMatSchurExpr<MT1,MT2>, 1UL >
1231 :
public Maximum< Size<MT1,1UL>, Size<MT2,1UL> >
Constraint on the data type.
#define BLAZE_THROW_INVALID_ARGUMENT(MESSAGE)
Macro for the emission of a std::invalid_argument exception.This macro encapsulates the default way o...
Definition: Exception.h:235
Pointer difference type of the Blaze library.
Header file for auxiliary alias declarations.
decltype(auto) column(Matrix< MT, SO > &matrix, RCAs... args)
Creating a view on a specific column of the given matrix.
Definition: Column.h:133
#define BLAZE_CONSTRAINT_MUST_BE_IDENTITY_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not an identity matrix type...
Definition: Identity.h:60
Header file for the Schur product trait.
size_t nonZeros(size_t j) const
Returns the number of non-zero elements in the specified column.
Definition: TSMatDMatSchurExpr.h:412
ValueIndexPair< ElementType > Element
Element type of the sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:175
Header file for the UNUSED_PARAMETER function template.
Header file for the IsUniUpper type trait.
Expression object for transpose sparse matrix-dense matrix Schur product.The TSMatDMatSchurExpr class...
Definition: Forward.h:170
Header file for basic type definitions.
LeftOperand lhs_
Left-hand side sparse matrix of the Schur product expression.
Definition: TSMatDMatSchurExpr.h:502
OppositeType_t< ResultType > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: TSMatDMatSchurExpr.h:150
typename If< Condition, T1, T2 >::Type If_t
Auxiliary alias declaration for the If class template.The If_t alias declaration provides a convenien...
Definition: If.h:109
ReturnType at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition: TSMatDMatSchurExpr.h:343
typename T::ResultType ResultType_t
Alias declaration for nested ResultType type definitions.The ResultType_t alias declaration provides ...
Definition: Aliases.h:390
Header file for the serial shim.
#define BLAZE_CONSTRAINT_MUST_BE_DENSE_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a dense, N-dimensional matrix type...
Definition: DenseMatrix.h:61
ElementType_t< ResultType > ElementType
Resulting element type.
Definition: TSMatDMatSchurExpr.h:152
void reset(const DiagonalProxy< MT > &proxy)
Resetting the represented element to the default initial values.
Definition: DiagonalProxy.h:591
ConstIterator upperBound(size_t i, size_t j) const
Returns an iterator to the first index greater then the given index.
Definition: TSMatDMatSchurExpr.h:450
Constraint on the data type.
ConstIterator lowerBound(size_t i, size_t j) const
Returns an iterator to the first index not less then the given index.
Definition: TSMatDMatSchurExpr.h:437
Header file for the Computation base class.
ResultType_t< MT1 > RT1
Result type of the left-hand side sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:107
ValueType * PointerType
Pointer return type.
Definition: TSMatDMatSchurExpr.h:182
ReturnType value() const
Access to the current value of the sparse element.
Definition: TSMatDMatSchurExpr.h:244
constexpr void UNUSED_PARAMETER(const Args &...)
Suppression of unused parameter warnings.
Definition: Unused.h:81
typename T::ReturnType ReturnType_t
Alias declaration for nested ReturnType type definitions.The ReturnType_t alias declaration provides ...
Definition: Aliases.h:410
Header file for the IsUniLower type trait.
ConstIterator(LeftIterator left, RightOperand right, size_t column)
Constructor for the ConstIterator class.
Definition: TSMatDMatSchurExpr.h:201
#define BLAZE_CONSTRAINT_MUST_FORM_VALID_SCHUREXPR(T1, T2)
Constraint on the data type.In case the given data types T1 and T2 do not form a valid matrix/matrix ...
Definition: SchurExpr.h:103
constexpr size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:514
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes...
Definition: DenseMatrix.h:80
Base class for sparse matrices.The SparseMatrix class is a base class for all sparse matrix classes...
Definition: Forward.h:137
typename T::ElementType ElementType_t
Alias declaration for nested ElementType type definitions.The ElementType_t alias declaration provide...
Definition: Aliases.h:170
Header file for all forward declarations for sparse vectors and matrices.
DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two expression iterators.
Definition: TSMatDMatSchurExpr.h:287
Header file for the SparseMatrix base class.
const ConstIterator * operator->() const
Direct access to the sparse matrix element at the current iterator position.
Definition: TSMatDMatSchurExpr.h:234
bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition: TSMatDMatSchurExpr.h:265
ConstIterator_t< RemoveReference_t< LeftOperand > > LeftIterator
Iterator type of the sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:178
Constraint on the data type.
Constraint on the data type.
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: TSMatDMatSchurExpr.h:391
Header file for the Maximum class template.
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.The EnableIf_t alias declaration provides a convenient...
Definition: EnableIf.h:138
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: TSMatDMatSchurExpr.h:381
Element ValueType
Type of the underlying pointers.
Definition: TSMatDMatSchurExpr.h:181
Header file for the ValueIndexPair class.
Header file for the DisableIf class template.
Header file for the IsTemporary type trait class.
Header file for the IsStrictlyUpper type trait.
ConstIterator & operator++()
Pre-increment operator.
Definition: TSMatDMatSchurExpr.h:213
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the If class template.
#define BLAZE_CONSTRAINT_MUST_BE_COLUMN_MAJOR_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a column-major dense or sparse matri...
Definition: ColumnMajorMatrix.h:61
#define BLAZE_CONSTRAINT_MUST_BE_ZERO_TYPE(T)
Constraint on the data type.In case the given data type T is not a zero vector or matrix type...
Definition: Zero.h:61
#define BLAZE_THROW_OUT_OF_RANGE(MESSAGE)
Macro for the emission of a std::out_of_range exception.This macro encapsulates the default way of Bl...
Definition: Exception.h:331
const Element * ConstIterator
Iterator over constant elements.
Definition: CompressedMatrix.h:3086
RightOperand rightOperand() const noexcept
Returns the right-hand side dense matrix operand.
Definition: TSMatDMatSchurExpr.h:471
Header file for the IsLower type trait.
If_t< IsExpression_v< MT2 >, const MT2, const MT2 &> RightOperand
Composite type of the right-hand side dense matrix expression.
Definition: TSMatDMatSchurExpr.h:164
static constexpr bool useAssign
Compilation switch for the evaluation strategy of the Schur product expression.
Definition: TSMatDMatSchurExpr.h:136
LeftOperand leftOperand() const noexcept
Returns the left-hand side transpose sparse matrix operand.
Definition: TSMatDMatSchurExpr.h:461
static constexpr bool returnExpr
Compilation switch for the selection of the subscript operator return type.
Definition: TSMatDMatSchurExpr.h:122
bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition: TSMatDMatSchurExpr.h:276
Header file for the exception macros of the math module.
size_t col_
The column index of the iterator.
Definition: TSMatDMatSchurExpr.h:296
ConstIterator end(size_t j) const
Returns an iterator just past the last non-zero element of column j.
Definition: TSMatDMatSchurExpr.h:371
Constraint on the data type.
Header file for all forward declarations for expression class templates.
ReturnType_t< MT1 > RN1
Return type of the left-hand side sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:109
Header file for the EnableIf class template.
Header file for the IsStrictlyLower type trait.
If_t< useAssign, const ResultType, const TSMatDMatSchurExpr &> CompositeType
Data type for composite expression templates.
Definition: TSMatDMatSchurExpr.h:158
typename T::OppositeType OppositeType_t
Alias declaration for nested OppositeType type definitions.The OppositeType_t alias declaration provi...
Definition: Aliases.h:270
std::forward_iterator_tag IteratorCategory
The iterator category.
Definition: TSMatDMatSchurExpr.h:180
const If_t< returnExpr, ExprReturnType, ElementType > ReturnType
Return type for expression template evaluations.
Definition: TSMatDMatSchurExpr.h:155
TSMatDMatSchurExpr(const MT1 &lhs, const MT2 &rhs) noexcept
Constructor for the TSMatDMatSchurExpr class.
Definition: TSMatDMatSchurExpr.h:312
decltype(std::declval< RN1 >() *std::declval< RN2 >()) ExprReturnType
Expression return type for the subscript operator.
Definition: TSMatDMatSchurExpr.h:125
const Element operator*() const
Direct access to the sparse matrix element at the current iterator position.
Definition: TSMatDMatSchurExpr.h:224
typename T::TransposeType TransposeType_t
Alias declaration for nested TransposeType type definitions.The TransposeType_t alias declaration pro...
Definition: Aliases.h:470
Header file for run time assertion macros.
ptrdiff_t DifferenceType
Difference between two iterators.
Definition: TSMatDMatSchurExpr.h:184
typename T::CompositeType CompositeType_t
Alias declaration for nested CompositeType type definitions.The CompositeType_t alias declaration pro...
Definition: Aliases.h:90
SchurTrait_t< RT1, RT2 > ResultType
Result type for expression template evaluations.
Definition: TSMatDMatSchurExpr.h:149
ResultType_t< MT2 > RT2
Result type of the right-hand side dense matrix expression.
Definition: TSMatDMatSchurExpr.h:108
size_t nonZeros() const
Returns the number of non-zero elements in the sparse matrix.
Definition: TSMatDMatSchurExpr.h:401
Header file for the SchurExpr base class.
typename SchurTrait< T1, T2 >::Type SchurTrait_t
Auxiliary alias declaration for the SchurTrait class template.The SchurTrait_t alias declaration prov...
Definition: SchurTrait.h:164
RightOperand right_
Right-hand side dense matrix expression.
Definition: TSMatDMatSchurExpr.h:295
Header file for the IsZero type trait.
#define BLAZE_FUNCTION_TRACE
Function trace macro.This macro can be used to reliably trace function calls. In case function tracin...
Definition: FunctionTrace.h:94
Iterator over the elements of the sparse matrix/dense matrix Schur product expression.
Definition: TSMatDMatSchurExpr.h:170
RightOperand rhs_
Right-hand side dense matrix of the Schur product expression.
Definition: TSMatDMatSchurExpr.h:503
Constraints on the storage order of matrix types.
decltype(auto) serial(const DenseMatrix< MT, SO > &dm)
Forces the serial evaluation of the given dense matrix expression dm.
Definition: DMatSerialExpr.h:808
ConstIterator begin(size_t j) const
Returns an iterator to the first non-zero element of column j.
Definition: TSMatDMatSchurExpr.h:360
#define BLAZE_CONSTRAINT_MUST_NOT_REQUIRE_EVALUATION(T)
Constraint on the data type.In case the given data type T requires an intermediate evaluation within ...
Definition: RequiresEvaluation.h:81
auto smpSchurAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs) -> EnableIf_t< IsDenseMatrix_v< MT1 > >
Default implementation of the SMP Schur product assignment of a matrix to dense matrix.
Definition: DenseMatrix.h:194
constexpr size_t rows(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of rows of the matrix.
Definition: Matrix.h:498
Header file for the RemoveReference type trait.
typename T::ConstIterator ConstIterator_t
Alias declaration for nested ConstIterator type definitions.The ConstIterator_t alias declaration pro...
Definition: Aliases.h:110
ReturnType_t< MT2 > RN2
Return type of the right-hand side dense matrix expression.
Definition: TSMatDMatSchurExpr.h:110
const Type & ReturnType
Return type for expression template evaluations.
Definition: CompressedMatrix.h:3081
If_t< IsExpression_v< MT1 >, const MT1, const MT1 &> LeftOperand
Composite type of the left-hand side sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:161
Index-value-pair for sparse vectors and matrices.The ValueIndexPair class represents a single index-v...
Definition: ValueIndexPair.h:73
LeftIterator left_
Iterator over the elements of the left-hand side sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:294
IteratorCategory iterator_category
The iterator category.
Definition: TSMatDMatSchurExpr.h:187
CompositeType_t< MT2 > CT2
Composite type of the right-hand side dense matrix expression.
Definition: TSMatDMatSchurExpr.h:112
bool isAliased(const T *alias) const noexcept
Returns whether the expression is aliased with the given address alias.
Definition: TSMatDMatSchurExpr.h:495
Header file for the IntegralConstant class template.
Header file for the IsUpper type trait.
CompositeType_t< MT1 > CT1
Composite type of the left-hand side sparse matrix expression.
Definition: TSMatDMatSchurExpr.h:111
ValueType & ReferenceType
Reference return type.
Definition: TSMatDMatSchurExpr.h:183
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: TSMatDMatSchurExpr.h:328
static constexpr bool smpAssignable
Compilation switch for the expression template assignment strategy.
Definition: TSMatDMatSchurExpr.h:303
ConstIterator find(size_t i, size_t j) const
Searches for a specific matrix element.
Definition: TSMatDMatSchurExpr.h:424
Header file for the Size type trait.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_ZERO_TYPE(T)
Constraint on the data type.In case the given data type T is a zero vector or matrix type...
Definition: Zero.h:81
bool canAlias(const T *alias) const noexcept
Returns whether the expression can alias with the given address alias.
Definition: TSMatDMatSchurExpr.h:483
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.In case of an invalid run time expression, the program execution is terminated. The BLAZE_INTERNAL_ASSERT macro can be disabled by setting the BLAZE_USER_ASSERTION flag to zero or by defining NDEBUG during the compilation.
Definition: Assert.h:101
TransposeType_t< ResultType > TransposeType
Transpose type for expression template evaluations.
Definition: TSMatDMatSchurExpr.h:151
size_t index() const
Access to the current index of the sparse element.
Definition: TSMatDMatSchurExpr.h:254
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a sparse, N-dimensional matrix type...
Definition: SparseMatrix.h:61
If_t< Less< T1, T2 >::value, T2, T1 > Maximum
Compile time value evaluation.The Maximum alias declaration selects the larger of the two given templ...
Definition: Maximum.h:73
Header file for the IsExpression type trait class.
Header file for the function trace functionality.
Constraint on the data type.