35#ifndef _BLAZE_MATH_EXPRESSIONS_SMATSMATEQUALEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_SMATSMATEQUALEXPR_H_
81 if( (*lhs).rows() != (*rhs).rows() || (*lhs).columns() != (*rhs).columns() )
90 for(
size_t i=0UL; i<A.rows(); ++i )
92 const auto lend( A.end(i) );
93 const auto rend( B.end(i) );
95 auto lelem( A.begin(i) );
96 auto relem( B.begin(i) );
98 while( lelem != lend && relem != rend )
100 if( lelem->index() < relem->index() ) {
105 else if( lelem->index() > relem->index() ) {
110 else if( !
equal<RF>( lelem->value(), relem->value() ) ) {
119 while( lelem != lend ) {
125 while( relem != rend ) {
160 if( (*lhs).rows() != (*rhs).rows() || (*lhs).columns() != (*rhs).columns() )
169 for(
size_t j=0UL; j<A.columns(); ++j )
171 const auto lend( A.end(j) );
172 const auto rend( B.end(j) );
174 auto lelem( A.begin(j) );
175 auto relem( B.begin(j) );
177 while( lelem != lend && relem != rend )
179 if( lelem->index() < relem->index() ) {
184 else if( lelem->index() > relem->index() ) {
189 else if( !
equal<RF>( lelem->value(), relem->value() ) ) {
198 while( lelem != lend ) {
204 while( relem != rend ) {
251template<
typename MT1
270template<
typename MT1
Header file for auxiliary alias declarations.
typename T::OppositeType OppositeType_t
Alias declaration for nested OppositeType type definitions.
Definition Aliases.h:310
typename T::CompositeType CompositeType_t
Alias declaration for nested CompositeType type definitions.
Definition Aliases.h:110
Header file for the isDefault shim.
Header file for the relaxation flag enumeration.
Base class for sparse matrices.
Definition SparseMatrix.h:77
Header file for the SparseMatrix base class.
bool isDefault(const DiagonalMatrix< MT, SO, DF > &m)
Returns whether the given diagonal matrix is in default state.
Definition DiagonalMatrix.h:169
RelaxationFlag
Relaxation flag for strict or relaxed semantics.
Definition RelaxationFlag.h:66
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value.
Definition Accuracy.h:253
constexpr bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition Accuracy.h:293
bool equal(const SharedValue< T1 > &lhs, const SharedValue< T2 > &rhs)
Equality check for a two shared values.
Definition SharedValue.h:343
Header file for the equal shim.
Header file for basic type definitions.