35 #ifndef _BLAZE_MATH_EXPRESSIONS_DMATTRANSPOSER_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_DMATTRANSPOSER_H_ 105 enum :
bool { simdEnabled = MT::simdEnabled };
111 enum :
bool { smpAssignable = MT::smpAssignable };
145 inline ConstReference
operator()(
size_t i,
size_t j )
const {
160 inline Reference
at(
size_t i,
size_t j ) {
161 if( i >=
dm_.columns() ) {
164 if( j >=
dm_.rows() ) {
179 inline ConstReference
at(
size_t i,
size_t j )
const {
180 if( i >=
dm_.columns() ) {
183 if( j >=
dm_.rows() ) {
195 inline Pointer
data() noexcept {
205 inline ConstPointer
data() const noexcept {
222 return dm_.begin( i );
237 inline ConstIterator
begin(
size_t i )
const {
238 return dm_.cbegin( i );
253 inline ConstIterator
cbegin(
size_t i )
const {
254 return dm_.cbegin( i );
269 inline Iterator
end(
size_t i ) {
285 inline ConstIterator
end(
size_t i )
const {
286 return dm_.cend( i );
301 inline ConstIterator
cend(
size_t i )
const {
302 return dm_.cend( i );
313 template<
typename Other >
330 template<
typename Other >
345 inline size_t rows() const noexcept {
346 return dm_.columns();
366 return dm_.spacing();
397 template<
typename Other >
398 inline bool canAlias(
const Other* alias )
const noexcept
400 return dm_.canAlias( alias );
410 template<
typename Other >
411 inline bool isAliased(
const Other* alias )
const noexcept
413 return dm_.isAliased( alias );
424 return dm_.isAligned();
435 return dm_.canSMPAssign();
452 return dm_.load( j, i );
469 return dm_.loada( j, i );
486 return dm_.loadu( j, i );
504 dm_.store( j, i, value );
522 dm_.storea( j, i, value );
540 dm_.storeu( j, i, value );
558 dm_.stream( j, i, value );
573 template<
typename MT2 >
581 const size_t m(
rows() );
584 const size_t jpos( n &
size_t(-2) );
587 for(
size_t i=0UL; i<m; ++i ) {
588 for(
size_t j=0UL; j<jpos; j+=2UL ) {
589 dm_(j ,i) = (~rhs)(i,j );
590 dm_(j+1UL,i) = (~rhs)(i,j+1UL);
593 dm_(jpos,i) = (~rhs)(i,jpos);
610 template<
typename MT2 >
618 constexpr
size_t block( BLOCK_SIZE );
620 const size_t m(
rows() );
623 for(
size_t ii=0UL; ii<m; ii+=block ) {
624 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
625 for(
size_t jj=0UL; jj<n; jj+=block ) {
626 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
627 for(
size_t i=ii; i<iend; ++i ) {
628 for(
size_t j=jj; j<jend; ++j ) {
629 dm_(j,i) = (~rhs)(i,j);
648 template<
typename MT2 >
658 for(
size_t i=0UL; i<(~rhs).
rows(); ++i )
659 for( RhsConstIterator element=(~rhs).begin(i); element!=(~rhs).
end(i); ++element )
660 dm_(element->index(),i) = element->value();
675 template<
typename MT2 >
685 for(
size_t j=0UL; j<(~rhs).
columns(); ++j )
686 for( RhsConstIterator element=(~rhs).begin(j); element!=(~rhs).
end(j); ++element )
687 dm_(j,element->index()) = element->value();
702 template<
typename MT2 >
710 const size_t m(
rows() );
713 const size_t jpos( n &
size_t(-2) );
716 for(
size_t i=0UL; i<m; ++i ) {
717 for(
size_t j=0UL; j<jpos; j+=2UL ) {
718 dm_(j ,i) += (~rhs)(i,j );
719 dm_(j+1UL,i) += (~rhs)(i,j+1UL);
723 dm_(jpos,i) += (~rhs)(i,jpos);
740 template<
typename MT2 >
748 constexpr
size_t block( BLOCK_SIZE );
750 const size_t m(
rows() );
753 for(
size_t ii=0UL; ii<m; ii+=block ) {
754 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
755 for(
size_t jj=0UL; jj<n; jj+=block ) {
756 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
757 for(
size_t i=ii; i<iend; ++i ) {
758 for(
size_t j=jj; j<jend; ++j ) {
759 dm_(j,i) += (~rhs)(i,j);
778 template<
typename MT2 >
788 for(
size_t i=0UL; i<(~rhs).
rows(); ++i )
789 for( RhsConstIterator element=(~rhs).begin(i); element!=(~rhs).
end(i); ++element )
790 dm_(element->index(),i) += element->value();
805 template<
typename MT2 >
815 for(
size_t j=0UL; j<(~rhs).
columns(); ++j )
816 for( RhsConstIterator element=(~rhs).begin(j); element!=(~rhs).
end(j); ++element )
817 dm_(j,element->index()) += element->value();
832 template<
typename MT2 >
840 const size_t m(
rows() );
843 const size_t jpos( n &
size_t(-2) );
846 for(
size_t i=0UL; i<m; ++i ) {
847 for(
size_t j=0UL; j<jpos; j+=2UL ) {
848 dm_(j ,i) -= (~rhs)(i,j );
849 dm_(j+1UL,i) -= (~rhs)(i,j+1UL);
853 dm_(jpos,i) -= (~rhs)(i,jpos);
870 template<
typename MT2 >
878 constexpr
size_t block( BLOCK_SIZE );
880 const size_t m(
rows() );
883 for(
size_t ii=0UL; ii<m; ii+=block ) {
884 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
885 for(
size_t jj=0UL; jj<n; jj+=block ) {
886 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
887 for(
size_t i=ii; i<iend; ++i ) {
888 for(
size_t j=jj; j<jend; ++j ) {
889 dm_(j,i) -= (~rhs)(i,j);
908 template<
typename MT2 >
918 for(
size_t i=0UL; i<(~rhs).
rows(); ++i )
919 for( RhsConstIterator element=(~rhs).begin(i); element!=(~rhs).
end(i); ++element )
920 dm_(element->index(),i) -= element->value();
935 template<
typename MT2 >
945 for(
size_t j=0UL; j<(~rhs).
columns(); ++j )
946 for( RhsConstIterator element=(~rhs).begin(j); element!=(~rhs).
end(j); ++element )
947 dm_(j,element->index()) -= element->value();
991 template<
typename MT >
1017 enum :
bool { simdEnabled = MT::simdEnabled };
1023 enum :
bool { smpAssignable = MT::smpAssignable };
1043 inline Reference
operator()(
size_t i,
size_t j ) {
1057 inline ConstReference
operator()(
size_t i,
size_t j )
const {
1072 inline Reference
at(
size_t i,
size_t j ) {
1073 if( i >=
dm_.columns() ) {
1076 if( j >=
dm_.rows() ) {
1079 return (*
this)(i,j);
1091 inline ConstReference
at(
size_t i,
size_t j )
const {
1092 if( i >=
dm_.columns() ) {
1095 if( j >=
dm_.rows() ) {
1098 return (*
this)(i,j);
1107 inline Pointer
data() noexcept {
1117 inline ConstPointer
data() const noexcept {
1128 inline Iterator
begin(
size_t j ) {
1129 return dm_.begin(j);
1139 inline ConstIterator
begin(
size_t j )
const {
1140 return dm_.cbegin(j);
1150 inline ConstIterator
cbegin(
size_t j )
const {
1151 return dm_.cbegin(j);
1161 inline Iterator
end(
size_t j ) {
1172 inline ConstIterator
end(
size_t j )
const {
1183 inline ConstIterator
cend(
size_t j )
const {
1195 template<
typename Other >
1212 template<
typename Other >
1227 inline size_t rows() const noexcept {
1228 return dm_.columns();
1237 inline size_t columns() const noexcept {
1247 inline size_t spacing() const noexcept {
1248 return dm_.spacing();
1257 inline void reset() {
1267 inline bool isIntact() const noexcept {
1279 template<
typename Other >
1280 inline bool canAlias(
const Other* alias )
const noexcept
1282 return dm_.canAlias( alias );
1292 template<
typename Other >
1293 inline bool isAliased(
const Other* alias )
const noexcept
1295 return dm_.isAliased( alias );
1306 return dm_.isAligned();
1317 return dm_.canSMPAssign();
1334 return dm_.load( j, i );
1351 return dm_.loada( j, i );
1368 return dm_.loadu( j, i );
1386 dm_.store( j, i, value );
1404 dm_.storea( j, i, value );
1422 dm_.storeu( j, i, value );
1440 dm_.stream( j, i, value );
1455 template<
typename MT2 >
1463 const size_t m(
rows() );
1466 const size_t ipos( m &
size_t(-2) );
1469 for(
size_t j=0UL; j<n; ++j ) {
1470 for(
size_t i=0UL; i<ipos; i+=2UL ) {
1471 dm_(j,i ) = (~rhs)(i ,j);
1472 dm_(j,i+1UL) = (~rhs)(i+1UL,j);
1475 dm_(j,ipos) = (~rhs)(ipos,j);
1492 template<
typename MT2 >
1500 constexpr
size_t block( BLOCK_SIZE );
1502 const size_t m(
rows() );
1505 for(
size_t jj=0UL; jj<n; jj+=block ) {
1506 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
1507 for(
size_t ii=0UL; ii<m; ii+=block ) {
1508 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
1509 for(
size_t j=jj; j<jend; ++j ) {
1510 for(
size_t i=ii; i<iend; ++i ) {
1511 dm_(j,i) = (~rhs)(i,j);
1530 template<
typename MT2 >
1540 for(
size_t j=0UL; j<(~rhs).
columns(); ++j )
1541 for( RhsConstIterator element=(~rhs).begin(j); element!=(~rhs).
end(j); ++element )
1542 dm_(j,element->index()) = element->value();
1557 template<
typename MT2 >
1567 for(
size_t i=0UL; i<(~rhs).
rows(); ++i )
1568 for( RhsConstIterator element=(~rhs).begin(i); element!=(~rhs).
end(i); ++element )
1569 dm_(element->index(),i) = element->value();
1584 template<
typename MT2 >
1592 const size_t m(
rows() );
1595 const size_t ipos( m &
size_t(-2) );
1598 for(
size_t j=0UL; j<n; ++j ) {
1599 for(
size_t i=0UL; i<ipos; i+=2UL ) {
1600 dm_(j,i ) += (~rhs)(i ,j);
1601 dm_(j,i+1UL) += (~rhs)(i+1UL,j);
1604 dm_(j,ipos) += (~rhs)(ipos,j);
1621 template<
typename MT2 >
1629 constexpr
size_t block( BLOCK_SIZE );
1631 const size_t m(
rows() );
1634 for(
size_t jj=0UL; jj<n; jj+=block ) {
1635 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
1636 for(
size_t ii=0UL; ii<m; ii+=block ) {
1637 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
1638 for(
size_t j=jj; j<jend; ++j ) {
1639 for(
size_t i=ii; i<iend; ++i ) {
1640 dm_(j,i) += (~rhs)(i,j);
1659 template<
typename MT2 >
1669 for(
size_t j=0UL; j<(~rhs).
columns(); ++j )
1670 for( RhsConstIterator element=(~rhs).begin(j); element!=(~rhs).
end(j); ++element )
1671 dm_(j,element->index()) += element->value();
1686 template<
typename MT2 >
1696 for(
size_t i=0UL; i<(~rhs).
rows(); ++i )
1697 for( RhsConstIterator element=(~rhs).begin(i); element!=(~rhs).
end(i); ++element )
1698 dm_(element->index(),i) += element->value();
1713 template<
typename MT2 >
1721 const size_t m(
rows() );
1724 const size_t ipos( m &
size_t(-2) );
1727 for(
size_t j=0UL; j<n; ++j ) {
1728 for(
size_t i=0UL; i<ipos; i+=2UL ) {
1729 dm_(j,i ) -= (~rhs)(i ,j);
1730 dm_(j,i+1UL) -= (~rhs)(i+1UL,j);
1733 dm_(j,ipos) -= (~rhs)(ipos,j);
1750 template<
typename MT2 >
1758 constexpr
size_t block( BLOCK_SIZE );
1760 const size_t m(
rows() );
1763 for(
size_t jj=0UL; jj<n; jj+=block ) {
1764 const size_t jend( ( n < jj+block )?( n ):( jj+block ) );
1765 for(
size_t ii=0UL; ii<m; ii+=block ) {
1766 const size_t iend( ( m < ii+block )?( m ):( ii+block ) );
1767 for(
size_t j=jj; j<jend; ++j ) {
1768 for(
size_t i=ii; i<iend; ++i ) {
1769 dm_(j,i) -= (~rhs)(i,j);
1788 template<
typename MT2 >
1798 for(
size_t j=0UL; j<(~rhs).
columns(); ++j )
1799 for( RhsConstIterator element=(~rhs).begin(j); element!=(~rhs).
end(j); ++element )
1800 dm_(j,element->index()) -= element->value();
1815 template<
typename MT2 >
1825 for(
size_t i=0UL; i<(~rhs).
rows(); ++i )
1826 for( RhsConstIterator element=(~rhs).begin(i); element!=(~rhs).
end(i); ++element )
1827 dm_(element->index(),i) -= element->value();
1872 template<
typename MT
1890 template<
typename MT
1910 template<
typename MT,
bool SO >
1912 :
public BoolConstant< HasMutableDataAccess<MT>::value >
1928 template<
typename MT,
bool SO >
1946 template<
typename MT,
bool SO >
1964 template<
typename MT,
bool SO >
Pointer_< MT > Pointer
Pointer to a non-constant matrix value.
Definition: DMatTransposer.h:94
Constraint on the data type.
BLAZE_ALWAYS_INLINE void storea(size_t i, size_t j, const SIMDType &value) noexcept
Aligned store of a SIMD element of the matrix.
Definition: DMatTransposer.h:520
Header file for auxiliary alias declarations.
void addAssign(const SparseMatrix< MT2, SO > &rhs)
Implementation of the transpose addition assignment of a row-major sparse matrix. ...
Definition: DMatTransposer.h:779
Header file for kernel specific block sizes.
#define BLAZE_USER_ASSERT(expr, msg)
Run time assertion macro for user checks.In case of an invalid run time expression, the program execution is terminated. The BLAZE_USER_ASSERT macro can be disabled by setting the BLAZE_USER_ASSERT flag to zero or by defining NDEBUG during the compilation.
Definition: Assert.h:117
DMatTransposer< MT, SO > This
Type of this DMatTransposer instance.
Definition: DMatTransposer.h:84
BLAZE_ALWAYS_INLINE void storeu(size_t i, size_t j, const SIMDType &value) noexcept
Unaligned store of a SIMD element of the matrix.
Definition: DMatTransposer.h:538
ConstIterator cend(size_t i) const
Returns an iterator just past the last non-zero element of row/column i.
Definition: DMatTransposer.h:301
Header file for basic type definitions.
DMatTransposer(MT &dm) noexcept
Constructor for the DMatTransposer class.
Definition: DMatTransposer.h:119
OppositeType_< MT > OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: DMatTransposer.h:86
Base template for the SubmatrixTrait class.
Definition: SubmatrixTrait.h:118
#define BLAZE_CONSTRAINT_MUST_NOT_BE_COMPUTATION_TYPE(T)
Constraint on the data type.In case the given data type T is a computational expression (i...
Definition: Computation.h:81
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
#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
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row/column i.
Definition: DMatTransposer.h:237
typename SIMDTrait< T >::Type SIMDTrait_
Auxiliary alias declaration for the SIMDTrait class template.The SIMDTrait_ alias declaration provide...
Definition: SIMDTrait.h:315
void subAssign(const SparseMatrix< MT2,!SO > &rhs)
Implementation of the transpose subtraction assignment of a column-major sparse matrix.
Definition: DMatTransposer.h:936
ConstIterator_< MT > ConstIterator
Iterator over constant elements.
Definition: DMatTransposer.h:97
bool canAlias(const Other *alias) const noexcept
Returns whether the matrix can alias with the given address alias.
Definition: DMatTransposer.h:398
Constraints on the storage order of matrix types.
Reference_< MT > Reference
Reference to a non-constant matrix value.
Definition: DMatTransposer.h:92
ConstReference_< MT > ConstReference
Reference to a constant matrix value.
Definition: DMatTransposer.h:93
void addAssign(const DenseMatrix< MT2, SO > &rhs)
Implementation of the transpose addition assignment of a row-major dense matrix.
Definition: DMatTransposer.h:703
Header file for the SIMD trait.
typename T::ResultType ResultType_
Alias declaration for nested ResultType type definitions.The ResultType_ alias declaration provides a...
Definition: Aliases.h:323
Pointer data() noexcept
Low-level data access to the matrix elements.
Definition: DMatTransposer.h:195
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes...
Definition: DenseMatrix.h:71
Base class for sparse matrices.The SparseMatrix class is a base class for all sparse matrix classes...
Definition: Forward.h:119
typename T::ReturnType ReturnType_
Alias declaration for nested ReturnType type definitions.The ReturnType_ alias declaration provides a...
Definition: Aliases.h:343
Compile time check for low-level access to mutable data.This type trait tests whether the given data ...
Definition: HasMutableDataAccess.h:75
const This & CompositeType
Data type for composite expression templates.
Definition: DMatTransposer.h:91
ConstReference operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: DMatTransposer.h:145
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row/column i.
Definition: DMatTransposer.h:285
Compile time check for the alignment of data types.This type trait tests whether the given data type ...
Definition: IsAligned.h:87
BLAZE_ALWAYS_INLINE SIMDType load(size_t i, size_t j) const noexcept
Load of a SIMD element of the matrix.
Definition: DMatTransposer.h:450
Constraint on the data type.
BLAZE_ALWAYS_INLINE SIMDType loada(size_t i, size_t j) const noexcept
Aligned load of a SIMD element of the matrix.
Definition: DMatTransposer.h:467
typename T::Pointer Pointer_
Alias declaration for nested Pointer type definitions.The Pointer_ alias declaration provides a conve...
Definition: Aliases.h:263
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
void subAssign(const DenseMatrix< MT2, SO > &rhs)
Implementation of the transpose subtraction assignment of a row-major dense matrix.
Definition: DMatTransposer.h:833
#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
ConstPointer data() const noexcept
Low-level data access to the matrix elements.
Definition: DMatTransposer.h:205
Reference operator()(size_t i, size_t j)
2D-access to the matrix elements.
Definition: DMatTransposer.h:131
Compile time check for data types with padding.This type trait tests whether the given data type empl...
Definition: IsPadded.h:76
ElementType_< MT > ElementType
Type of the matrix elements.
Definition: DMatTransposer.h:88
#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
Header file for the DenseMatrix base class.
typename T::ElementType ElementType_
Alias declaration for nested ElementType type definitions.The ElementType_ alias declaration provides...
Definition: Aliases.h:163
ResultType_< MT > TransposeType
Transpose type for expression template evaluations.
Definition: DMatTransposer.h:87
size_t spacing() const noexcept
Returns the spacing between the beginning of two rows.
Definition: DMatTransposer.h:365
Expression object for the transposition of a dense matrix.The DMatTransposer class is a wrapper objec...
Definition: DMatTransposer.h:80
bool canSMPAssign() const noexcept
Returns whether the matrix can be used in SMP assignments.
Definition: DMatTransposer.h:433
size_t rows() const noexcept
Returns the current number of rows of the matrix.
Definition: DMatTransposer.h:345
MT & dm_
The dense matrix operand.
Definition: DMatTransposer.h:961
Header file for the IsAligned type trait.
size_t columns() const noexcept
Returns the current number of columns of the matrix.
Definition: DMatTransposer.h:355
Header file for the exception macros of the math module.
EnableIf_< IsNumeric< Other >, DMatTransposer > & operator/=(Other rhs)
Division assignment operator for the division of a matrix by a scalar value ( ).
Definition: DMatTransposer.h:331
void assign(const SparseMatrix< MT2,!SO > &rhs)
Implementation of the transpose assignment of a column-major sparse matrix.
Definition: DMatTransposer.h:676
void reset()
Resets the matrix elements.
Definition: DMatTransposer.h:375
BLAZE_ALWAYS_INLINE void store(size_t i, size_t j, const SIMDType &value) noexcept
Store of a SIMD element of the matrix.
Definition: DMatTransposer.h:502
typename T::Reference Reference_
Alias declaration for nested Reference type definitions.The Reference_ alias declaration provides a c...
Definition: Aliases.h:283
BLAZE_ALWAYS_INLINE void stream(size_t i, size_t j, const SIMDType &value) noexcept
Aligned, non-temporal store of a SIMD element of the matrix.
Definition: DMatTransposer.h:556
Header file for the EnableIf class template.
void assign(const DenseMatrix< MT2,!SO > &rhs)
Implementation of the transpose assignment of a column-major dense matrix.
Definition: DMatTransposer.h:611
Header file for the IsPadded type trait.
SIMDTrait_< ElementType > SIMDType
SIMD type of the matrix elements.
Definition: DMatTransposer.h:89
Iterator_< MT > Iterator
Iterator over non-constant elements.
Definition: DMatTransposer.h:96
void assign(const DenseMatrix< MT2, SO > &rhs)
Implementation of the transpose assignment of a row-major dense matrix.
Definition: DMatTransposer.h:574
Header file for the IsNumeric type trait.
void subAssign(const SparseMatrix< MT2, SO > &rhs)
Implementation of the transpose subtraction assignment of a row-major sparse matrix.
Definition: DMatTransposer.h:909
#define BLAZE_CONSTRAINT_MUST_BE_ROW_MAJOR_MATRIX_TYPE(T)
Constraint on the data type.In case the given data type T is not a row-major dense or sparse matrix t...
Definition: RowMajorMatrix.h:61
ConstIterator cbegin(size_t i) const
Returns an iterator to the first non-zero element of row/column i.
Definition: DMatTransposer.h:253
Header file for run time assertion macros.
void subAssign(const DenseMatrix< MT2,!SO > &rhs)
Implementation of the transpose subtraction assignment of a column-major dense matrix.
Definition: DMatTransposer.h:871
Header file for the submatrix trait.
ConstPointer_< MT > ConstPointer
Pointer to a constant matrix value.
Definition: DMatTransposer.h:95
void addAssign(const DenseMatrix< MT2,!SO > &rhs)
Implementation of the transpose addition assignment of a column-major dense matrix.
Definition: DMatTransposer.h:741
EnableIf_< IsNumeric< Other >, DMatTransposer > & operator*=(Other rhs)
Multiplication assignment operator for the multiplication between a matrix and a scalar value ( )...
Definition: DMatTransposer.h:314
Constraints on the storage order of matrix types.
TransposeType_< MT > ResultType
Result type for expression template evaluations.
Definition: DMatTransposer.h:85
Header file for the HasMutableDataAccess type trait.
typename SubmatrixTrait< MT >::Type SubmatrixTrait_
Auxiliary alias declaration for the SubmatrixTrait type trait.The SubmatrixTrait_ alias declaration p...
Definition: SubmatrixTrait.h:153
typename EnableIf< Condition, T >::Type EnableIf_
Auxiliary alias declaration for the EnableIf class template.The EnableIf_ alias declaration provides ...
Definition: EnableIf.h:223
typename T::OppositeType OppositeType_
Alias declaration for nested OppositeType type definitions.The OppositeType_ alias declaration provid...
Definition: Aliases.h:243
typename T::Iterator Iterator_
Alias declaration for nested Iterator type definitions.The Iterator_ alias declaration provides a con...
Definition: Aliases.h:183
bool isAliased(const Other *alias) const noexcept
Returns whether the matrix is aliased with the given address alias.
Definition: DMatTransposer.h:411
typename T::ConstPointer ConstPointer_
Alias declaration for nested ConstPointer type definitions.The ConstPointer_ alias declaration provid...
Definition: Aliases.h:123
typename T::ConstReference ConstReference_
Alias declaration for nested ConstReference type definitions.The ConstReference_ alias declaration pr...
Definition: Aliases.h:143
typename T::ConstIterator ConstIterator_
Alias declaration for nested ConstIterator type definitions.The ConstIterator_ alias declaration prov...
Definition: Aliases.h:103
void addAssign(const SparseMatrix< MT2,!SO > &rhs)
Implementation of the transpose addition assignment of a column-major sparse matrix.
Definition: DMatTransposer.h:806
Reference at(size_t i, size_t j)
Checked access to the matrix elements.
Definition: DMatTransposer.h:160
Iterator begin(size_t i)
Returns an iterator to the first non-zero element of row/column i.
Definition: DMatTransposer.h:221
void assign(const SparseMatrix< MT2, SO > &rhs)
Implementation of the transpose assignment of a row-major sparse matrix.
Definition: DMatTransposer.h:649
Header file for the IntegralConstant class template.
bool isIntact(const DiagonalMatrix< MT, SO, DF > &m)
Returns whether the invariants of the given diagonal matrix are intact.
Definition: DiagonalMatrix.h:249
ReturnType_< MT > ReturnType
Return type for expression template evaluations.
Definition: DMatTransposer.h:90
typename T::TransposeType TransposeType_
Alias declaration for nested TransposeType type definitions.The TransposeType_ alias declaration prov...
Definition: Aliases.h:403
ConstReference at(size_t i, size_t j) const
Checked access to the matrix elements.
Definition: DMatTransposer.h:179
System settings for the inline keywords.
#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
bool isAligned() const noexcept
Returns whether the matrix is properly aligned in memory.
Definition: DMatTransposer.h:422
Iterator end(size_t i)
Returns an iterator just past the last non-zero element of row/column i.
Definition: DMatTransposer.h:269
bool isIntact() const noexcept
Returns whether the invariants of the matrix are intact.
Definition: DMatTransposer.h:385
BLAZE_ALWAYS_INLINE SIMDType loadu(size_t i, size_t j) const noexcept
Unaligned load of a SIMD element of the matrix.
Definition: DMatTransposer.h:484