35 #ifndef _BLAZE_MATH_EXPRESSIONS_DENSEMATRIX_H_ 36 #define _BLAZE_MATH_EXPRESSIONS_DENSEMATRIX_H_ 95 template<
typename MT,
bool SO >
108 template<
typename MT
112 return (~dm).spacing();
128 template<
typename MT >
131 const size_t m( (~dm).
rows() );
132 const size_t n( (~dm).
columns() );
134 for(
size_t i=1UL; i<m; ++i ) {
135 const size_t jend(
min( i, n ) );
136 for(
size_t j=0UL; j<jend; ++j ) {
156 template<
typename MT >
159 const size_t m ( (~dm).
rows() );
160 const size_t n ( (~dm).
columns() );
161 const size_t jend(
min( m, n ) );
163 for(
size_t j=0UL; j<jend; ++j ) {
164 for(
size_t i=j+1UL; i<m; ++i ) {
183 template<
typename MT
203 template<
typename MT
207 resetLower_backend( ~dm );
224 template<
typename MT >
227 const size_t m ( (~dm).
rows() );
228 const size_t n ( (~dm).
columns() );
229 const size_t iend(
min( m, n ) );
231 for(
size_t i=0UL; i<iend; ++i ) {
232 for(
size_t j=i+1UL; j<n; ++j ) {
252 template<
typename MT >
255 const size_t m( (~dm).
rows() );
256 const size_t n( (~dm).
columns() );
258 for(
size_t j=1UL; j<n; ++j ) {
259 const size_t iend(
min( j, m ) );
260 for(
size_t i=0UL; i<iend; ++i ) {
279 template<
typename MT
299 template<
typename MT
303 resetUpper_backend( ~dm );
Headerfile for the generic min algorithm.
Header file for the UNUSED_PARAMETER function template.
void reset(const DiagonalProxy< MT > &proxy)
Resetting the represented element to the default initial values.
Definition: DiagonalProxy.h:560
typename DisableIf< Condition, T >::Type DisableIf_
Auxiliary type for the DisableIf class template.The DisableIf_ alias declaration provides a convenien...
Definition: DisableIf.h:224
const ElementType_< MT > min(const DenseMatrix< MT, SO > &dm)
Returns the smallest element of the dense matrix.
Definition: DenseMatrix.h:1762
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes...
Definition: DenseMatrix.h:78
BLAZE_ALWAYS_INLINE size_t spacing(const DenseMatrix< MT, SO > &dm) noexcept
Returns the spacing between the beginning of two rows/columns.
Definition: DenseMatrix.h:110
Header file for the DisableIf class template.
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
Header file for the IsLower type trait.
BLAZE_ALWAYS_INLINE size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:340
Header file for the EnableIf class template.
Header file for the Matrix base class.
Header file for the reset shim.
Base class for matrices.The Matrix class is a base class for all dense and sparse matrix classes with...
Definition: Forward.h:101
typename EnableIf< Condition, T >::Type EnableIf_
Auxiliary alias declaration for the EnableIf class template.The EnableIf_ alias declaration provides ...
Definition: EnableIf.h:224
BLAZE_ALWAYS_INLINE size_t rows(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of rows of the matrix.
Definition: Matrix.h:324
Header file for the IsUpper type trait.
void UNUSED_PARAMETER(const Args &...)
Suppression of unused parameter warnings.
Definition: Unused.h:81
System settings for the inline keywords.