35 #ifndef _BLAZE_MATH_EXPRESSIONS_DVECTDVECMULTEXPR_H_
36 #define _BLAZE_MATH_EXPRESSIONS_DVECTDVECMULTEXPR_H_
85 template<
typename VT1
127 template<
typename VT >
130 enum { value = useAssign };
140 template<
typename T1,
typename T2,
typename T3 >
141 struct UseVectorizedKernel {
142 enum { value = T1::vectorizable && T2::vectorizable && T3::vectorizable &&
155 template<
typename T1,
typename T2,
typename T3 >
156 struct UseDefaultKernel {
157 enum { value = !UseVectorizedKernel<T1,T2,T3>::value };
301 return (*
left_) * (*right_);
310 inline IntrinsicType
load()
const {
438 enum { vectorizable = VT1::vectorizable && VT2::vectorizable &&
477 inline IntrinsicType
load(
size_t i,
size_t j )
const {
482 const IntrinsicType xmm1(
set(
lhs_[i] ) );
483 const IntrinsicType xmm2(
rhs_.load( j ) );
558 template<
typename T >
560 return (
lhs_.canAlias( alias ) ||
rhs_.canAlias( alias ) );
570 template<
typename T >
572 return (
lhs_.isAliased( alias ) ||
rhs_.isAliased( alias ) );
596 template<
typename MT >
613 DVecTDVecMultExpr::selectAssignKernel( ~lhs, x, y );
632 template<
typename MT
638 const size_t m( (~A).
rows() );
639 const size_t n( (~A).
columns() );
641 const size_t jend( n &
size_t(-2) );
644 for(
size_t i=0UL; i<m; ++i ) {
645 for(
size_t j=0UL; j<jend; j+=2UL ) {
646 (~A)(i,j ) = x[i] * y[j ];
647 (~A)(i,j+1UL) = x[i] * y[j+1];
650 (~A)(i,jend) = x[i] * y[jend];
671 template<
typename MT
674 static inline typename EnableIf< UseVectorizedKernel<MT,VT3,VT4> >::Type
675 selectAssignKernel( DenseMatrix<MT,false>& A,
const VT3& x,
const VT4& y )
677 typedef IntrinsicTrait<ElementType> IT;
679 const size_t m( (~A).
rows() );
680 const size_t n( (~A).
columns() );
682 for(
size_t i=0UL; i<m; ++i )
684 const IntrinsicType x1(
set( x[i] ) );
686 for(
size_t j=0UL; j<n; j+=IT::size ) {
687 (~A).
store( i, j, x1 * y.load(j) );
706 template<
typename MT >
722 DVecTDVecMultExpr::selectAssignKernel( ~lhs, x, y );
741 template<
typename MT
744 static inline typename EnableIf< UseDefaultKernel<MT,VT3,VT4> >::Type
745 selectAssignKernel( DenseMatrix<MT,true>& A,
const VT3& x,
const VT4& y )
747 const size_t m( (~A).
rows() );
748 const size_t n( (~A).
columns() );
750 const size_t iend( m &
size_t(-2) );
753 for(
size_t j=0UL; j<n; ++j ) {
754 for(
size_t i=0UL; i<iend; i+=2UL ) {
755 (~A)(i ,j) = x[i ] * y[j];
756 (~A)(i+1UL,j) = x[i+1] * y[j];
759 (~A)(iend,j) = x[iend] * y[j];
780 template<
typename MT
783 static inline typename EnableIf< UseVectorizedKernel<MT,VT3,VT4> >::Type
784 selectAssignKernel( DenseMatrix<MT,true>& A,
const VT3& x,
const VT4& y )
786 typedef IntrinsicTrait<ElementType> IT;
788 const size_t m( (~A).
rows() );
789 const size_t n( (~A).
columns() );
791 for(
size_t j=0UL; j<n; ++j )
793 const IntrinsicType y1(
set( y[j] ) );
795 for(
size_t i=0UL; i<m; i+=IT::size ) {
796 (~A).
store( i, j, x.load(i) * y1 );
815 template<
typename MT
821 typedef typename SelectType< SO, OppositeType, ResultType >::Type TmpType;
833 const TmpType tmp( rhs );
854 template<
typename MT >
855 friend inline typename EnableIf< UseAssign<MT> >::Type
871 DVecTDVecMultExpr::selectAddAssignKernel( ~lhs, x, y );
890 template<
typename MT
893 static inline typename EnableIf< UseDefaultKernel<MT,VT3,VT4> >::Type
894 selectAddAssignKernel( DenseMatrix<MT,false>& A,
const VT3& x,
const VT4& y )
896 const size_t m( (~A).
rows() );
897 const size_t n( (~A).
columns() );
899 const size_t jend( n &
size_t(-2) );
902 for(
size_t i=0UL; i<m; ++i ) {
903 for(
size_t j=0UL; j<jend; j+=2UL ) {
904 (~A)(i,j ) += x[i] * y[j ];
905 (~A)(i,j+1UL) += x[i] * y[j+1UL];
908 (~A)(i,jend) += x[i] * y[jend];
929 template<
typename MT
932 static inline typename EnableIf< UseVectorizedKernel<MT,VT3,VT4> >::Type
933 selectAddAssignKernel( DenseMatrix<MT,false>& A,
const VT3& x,
const VT4& y )
935 typedef IntrinsicTrait<ElementType> IT;
937 const size_t m( (~A).
rows() );
938 const size_t n( (~A).
columns() );
940 for(
size_t i=0UL; i<m; ++i )
942 const IntrinsicType x1(
set( x[i] ) );
944 for(
size_t j=0UL; j<n; j+=IT::size ) {
945 (~A).
store( i, j, (~A).load(i,j) + x1 * y.load(j) );
965 template<
typename MT >
981 DVecTDVecMultExpr::selectAddAssignKernel( ~lhs, x, y );
1000 template<
typename MT
1003 static inline typename EnableIf< UseDefaultKernel<MT,VT3,VT4> >::Type
1004 selectAddAssignKernel( DenseMatrix<MT,true>& A,
const VT3& x,
const VT4& y )
1006 const size_t m( (~A).
rows() );
1007 const size_t n( (~A).
columns() );
1009 const size_t iend( m &
size_t(-2) );
1012 for(
size_t j=0UL; j<n; ++j ) {
1013 for(
size_t i=0UL; i<iend; i+=2UL ) {
1014 (~A)(i ,j) += x[i ] * y[j];
1015 (~A)(i+1UL,j) += x[i+1UL] * y[j];
1018 (~A)(iend,j) += x[iend] * y[j];
1039 template<
typename MT
1042 static inline typename EnableIf< UseVectorizedKernel<MT,VT3,VT4> >::Type
1043 selectAddAssignKernel( DenseMatrix<MT,true>& A,
const VT3& x,
const VT4& y )
1045 typedef IntrinsicTrait<ElementType> IT;
1047 const size_t m( (~A).
rows() );
1048 const size_t n( (~A).
columns() );
1050 for(
size_t j=0UL; j<n; ++j )
1052 const IntrinsicType y1(
set( y[j] ) );
1054 for(
size_t i=0UL; i<m; i+=IT::size ) {
1055 (~A).
store( i, j, (~A).load(i,j) + x.load(i) * y1 );
1081 template<
typename MT >
1082 friend inline typename EnableIf< UseAssign<MT> >::Type
1098 DVecTDVecMultExpr::selectSubAssignKernel( ~lhs, x, y );
1117 template<
typename MT
1120 static inline typename EnableIf< UseDefaultKernel<MT,VT3,VT4> >::Type
1121 selectSubAssignKernel( DenseMatrix<MT,false>& A,
const VT3& x,
const VT4& y )
1123 const size_t m( (~A).
rows() );
1124 const size_t n( (~A).
columns() );
1126 const size_t jend( n &
size_t(-2) );
1129 for(
size_t i=0UL; i<m; ++i ) {
1130 for(
size_t j=0UL; j<jend; j+=2UL ) {
1131 (~A)(i,j ) -= x[i] * y[j ];
1132 (~A)(i,j+1UL) -= x[i] * y[j+1UL];
1135 (~A)(i,jend) -= x[i] * y[jend];
1156 template<
typename MT
1159 static inline typename EnableIf< UseVectorizedKernel<MT,VT3,VT4> >::Type
1160 selectSubAssignKernel( DenseMatrix<MT,false>& A,
const VT3& x,
const VT4& y )
1162 typedef IntrinsicTrait<ElementType> IT;
1164 const size_t m( (~A).
rows() );
1165 const size_t n( (~A).
columns() );
1167 for(
size_t i=0UL; i<m; ++i )
1169 const IntrinsicType x1(
set( x[i] ) );
1171 for(
size_t j=0UL; j<n; j+=IT::size ) {
1172 (~A).
store( i, j, (~A).load(i,j) - x1 * y.load(j) );
1192 template<
typename MT >
1208 DVecTDVecMultExpr::selectSubAssignKernel( ~lhs, x, y );
1227 template<
typename MT
1230 static inline typename EnableIf< UseDefaultKernel<MT,VT3,VT4> >::Type
1231 selectSubAssignKernel( DenseMatrix<MT,true>& A,
const VT3& x,
const VT4& y )
1233 const size_t m( (~A).
rows() );
1234 const size_t n( (~A).
columns() );
1236 const size_t iend( m &
size_t(-2) );
1239 for(
size_t j=0UL; j<n; ++j ) {
1240 for(
size_t i=0UL; i<iend; i+=2UL ) {
1241 (~A)(i ,j) -= x[i ] * y[j];
1242 (~A)(i+1UL,j) -= x[i+1UL] * y[j];
1245 (~A)(iend,j) -= x[iend] * y[j];
1266 template<
typename MT
1269 static inline typename EnableIf< UseVectorizedKernel<MT,VT3,VT4> >::Type
1270 selectSubAssignKernel( DenseMatrix<MT,true>& A,
const VT3& x,
const VT4& y )
1272 typedef IntrinsicTrait<ElementType> IT;
1274 const size_t m( (~A).
rows() );
1275 const size_t n( (~A).
columns() );
1277 for(
size_t j=0UL; j<n; ++j )
1279 const IntrinsicType y1(
set( y[j] ) );
1281 for(
size_t i=0UL; i<m; i+=IT::size ) {
1282 (~A).
store( i, j, (~A).load(i,j) - x.load(i) * y1 );
1348 template<
typename T1
1350 inline const DVecTDVecMultExpr<T1,T2>
1370 template<
typename VT1,
typename VT2 >
1375 typedef typename MultExprTrait< typename SubvectorExprTrait<const VT1>::Type
1376 ,
typename SubvectorExprTrait<const VT2>::Type >::Type Type;
1385 template<
typename VT1,
typename VT2 >
1390 typedef typename MultExprTrait< typename VT1::ReturnType, VT2 >::Type Type;
1399 template<
typename VT1,
typename VT2 >
1404 typedef typename MultExprTrait< VT1, typename VT2::ReturnType >::Type Type;
Pointer difference type of the Blaze library.
Compile time check whether the given type is a computational expression template.This type trait clas...
Definition: IsComputation.h:89
SelectType< IsComputation< VT2 >::value, const RT2, CT2 >::Type RT
Type for the assignment of the right-hand side dense vector operand.
Definition: DVecTDVecMultExpr.h:187
Compile time check whether the given type is a temporary vector or matrix type.This type trait class ...
Definition: IsTemporary.h:87
DVecTDVecMultExpr< VT1, VT2 > This
Type of this DVecTDVecMultExpr instance.
Definition: DVecTDVecMultExpr.h:164
ptrdiff_t DifferenceType
Difference between two iterators.
Definition: DVecTDVecMultExpr.h:201
const DMatDMatMultExpr< T1, T2 > operator*(const DenseMatrix< T1, false > &lhs, const DenseMatrix< T2, false > &rhs)
Multiplication operator for the multiplication of two row-major dense matrices ( ).
Definition: DMatDMatMultExpr.h:3703
const ConstIterator operator++(int)
Post-increment operator.
Definition: DVecTDVecMultExpr.h:269
#define BLAZE_CONSTRAINT_MUST_BE_COLUMN_VECTOR_TYPE(T)
Constraint on the data type.In case the given data type T is not a column dense or sparse vector type...
Definition: TransposeFlag.h:159
Efficient implementation of a compressed matrix.The CompressedMatrix class template is the represent...
Definition: CompressedMatrix.h:196
ConstIterator & operator-=(size_t dec)
Subtraction assignment operator.
Definition: DVecTDVecMultExpr.h:247
ConstIterator end(size_t i) const
Returns an iterator just past the last non-zero element of row i.
Definition: DVecTDVecMultExpr.h:506
friend const ConstIterator operator-(const ConstIterator &it, size_t dec)
Subtraction between a ConstIterator and an integral value.
Definition: DVecTDVecMultExpr.h:423
#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:79
Header file for the ColumnExprTrait class template.
MultTrait< RT1, RT2 >::Type ResultType
Result type for expression template evaluations.
Definition: DVecTDVecMultExpr.h:165
bool canAlias(const T *alias) const
Returns whether the expression can alias with the given address alias.
Definition: DVecTDVecMultExpr.h:559
DifferenceType operator-(const ConstIterator &rhs) const
Calculating the number of elements between two iterators.
Definition: DVecTDVecMultExpr.h:387
ElementType * PointerType
Pointer return type.
Definition: DVecTDVecMultExpr.h:199
const This & CompositeType
Data type for composite expression templates.
Definition: CompressedMatrix.h:2375
Type ElementType
Type of the sparse matrix elements.
Definition: CompressedMatrix.h:248
DVecTDVecMultExpr(const VT1 &lhs, const VT2 &rhs)
Constructor for the DVecTDVecMultExpr class.
Definition: DVecTDVecMultExpr.h:449
LeftIteratorType left_
Iterator to the current left-hand side element.
Definition: DVecTDVecMultExpr.h:430
VT2::ConstIterator RightIteratorType
ConstIterator type of the right-hand side dense matrix expression.
Definition: DVecTDVecMultExpr.h:214
Expression object for outer products between two dense vectors.The DVecTDVecMultExpr class represents...
Definition: DVecTDVecMultExpr.h:87
Header file for the Computation base class.
bool operator>=(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DVecTDVecMultExpr.h:376
Type relationship analysis.This class tests if the two data types A and B are equal. For this type comparison, the cv-qualifiers of both data types are ignored. If A and B are the same data type (ignoring the cv-qualifiers), then the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType.
Definition: IsSame.h:158
SelectType< IsComputation< VT1 >::value, const RT1, CT1 >::Type LT
Type for the assignment of the left-hand side dense vector operand.
Definition: DVecTDVecMultExpr.h:184
Base class for dense matrices.The DenseMatrix class is a base class for all dense matrix classes...
Definition: DenseMatrix.h:70
Constraint on the data type.
VT1::ConstIterator LeftIteratorType
ConstIterator type of the left-hand side dense matrix expression.
Definition: DVecTDVecMultExpr.h:211
bool operator<(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DVecTDVecMultExpr.h:343
bool isAliased(const T *alias) const
Returns whether the expression is aliased with the given address alias.
Definition: DVecTDVecMultExpr.h:571
Constraint on the data type.
Header file for the MultExprTrait class template.
ValueType value_type
Type of the underlying elements.
Definition: DVecTDVecMultExpr.h:205
VT1::ElementType ET1
Element type of the left-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:99
VT1::CompositeType CT1
Composite type of the left-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:97
Compile time type selection.The SelectType class template selects one of the two given types T1 and T...
Definition: SelectType.h:59
Header file for the IsTemporary type trait class.
Header file for the multiplication trait.
friend const ConstIterator operator+(const ConstIterator &it, size_t inc)
Addition between a ConstIterator and an integral value.
Definition: DVecTDVecMultExpr.h:399
VT2::ReturnType RN2
Return type of the right-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:96
#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: StorageOrder.h:161
ConstIterator & operator--()
Pre-decrement operator.
Definition: DVecTDVecMultExpr.h:279
SelectType< useAssign, const ResultType, const DVecTDVecMultExpr & >::Type CompositeType
Data type for composite expression templates.
Definition: DVecTDVecMultExpr.h:175
const Element * ConstIterator
Iterator over constant elements.
Definition: CompressedMatrix.h:2379
bool operator==(const ConstIterator &rhs) const
Equality comparison between two ConstIterator objects.
Definition: DVecTDVecMultExpr.h:321
LeftOperand leftOperand() const
Returns the left-hand side dense vector operand.
Definition: DVecTDVecMultExpr.h:537
Header file for the DenseMatrix base class.
ResultType::OppositeType OppositeType
Result type with opposite storage order for expression template evaluations.
Definition: DVecTDVecMultExpr.h:166
IntrinsicTrait< ElementType >::Type IntrinsicType
Resulting intrinsic element type.
Definition: DVecTDVecMultExpr.h:169
size_t rows() const
Returns the current number of rows of the matrix.
Definition: DVecTDVecMultExpr.h:517
void assign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the assignment of a matrix to a matrix.
Definition: Matrix.h:179
ReferenceType reference
Reference return type.
Definition: DVecTDVecMultExpr.h:207
Base class for N-dimensional dense vectors.The DenseVector class is a base class for all arbitrarily ...
Definition: DenseVector.h:70
ConstIterator(LeftIteratorType left, RightIteratorType right)
Constructor for the ConstIterator class.
Definition: DVecTDVecMultExpr.h:223
bool operator!=(const ConstIterator &rhs) const
Inequality comparison between two ConstIterator objects.
Definition: DVecTDVecMultExpr.h:332
const SelectType< returnExpr, ExprReturnType, ElementType >::Type ReturnType
Return type for expression template evaluations.
Definition: DVecTDVecMultExpr.h:172
Constraint on the data type.
SelectType< IsExpression< VT2 >::value, const VT2, const VT2 & >::Type RightOperand
Composite type of the right-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:181
#define BLAZE_CONSTRAINT_MUST_BE_REFERENCE_TYPE(T)
Constraint on the data type.In case the given data type T is not a reference type, a compilation error is created.
Definition: Reference.h:78
DifferenceType difference_type
Difference between two iterators.
Definition: DVecTDVecMultExpr.h:208
Constraints on the storage order of matrix types.
Constraint on the data type.
friend const ConstIterator operator+(size_t inc, const ConstIterator &it)
Addition between an integral value and a ConstIterator.
Definition: DVecTDVecMultExpr.h:411
Type ElementType
Type of the sparse matrix elements.
Definition: CompressedMatrix.h:2373
VT1::ReturnType RN1
Return type of the left-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:95
Header file for the SelectType class template.
Header file for the RowExprTrait class template.
Header file for all forward declarations for expression class templates.
Header file for the VecTVecMultExpr base class.
VT2::ResultType RT2
Result type of the right-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:94
Header file for the EnableIf class template.
ConstIterator & operator++()
Pre-increment operator.
Definition: DVecTDVecMultExpr.h:258
std::random_access_iterator_tag IteratorCategory
The iterator category.
Definition: DVecTDVecMultExpr.h:197
IteratorCategory iterator_category
The iterator category.
Definition: DVecTDVecMultExpr.h:204
VT2::ElementType ET2
Element type of the right-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:100
VT1::ResultType RT1
Result type of the left-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:93
LeftOperand lhs_
Left-hand side dense vector of the multiplication expression.
Definition: DVecTDVecMultExpr.h:578
Header file for the SubmatrixExprTrait class template.
#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: StorageOrder.h:81
const Type & ReturnType
Return type for expression template evaluations.
Definition: CompressedMatrix.h:2374
Intrinsic characteristics of data types.The IntrinsicTrait class template provides the intrinsic char...
Definition: IntrinsicTrait.h:648
Header file for run time assertion macros.
Base template for the MultTrait class.
Definition: MultTrait.h:141
void addAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the addition assignment of a matrix to a matrix.
Definition: Matrix.h:209
RightOperand rightOperand() const
Returns the right-hand side dense vector operand.
Definition: DVecTDVecMultExpr.h:547
IntrinsicType load(size_t i, size_t j) const
Access to the intrinsic elements of the matrix.
Definition: DVecTDVecMultExpr.h:477
Substitution Failure Is Not An Error (SFINAE) class.The EnableIf class template is an auxiliary tool ...
Definition: EnableIf.h:184
ConstIterator begin(size_t i) const
Returns an iterator to the first non-zero element of row i.
Definition: DVecTDVecMultExpr.h:494
RightIteratorType right_
Iterator to the current right-hand side element.
Definition: DVecTDVecMultExpr.h:431
void subAssign(Matrix< MT1, SO1 > &lhs, const Matrix< MT2, SO2 > &rhs)
Default implementation of the subtraction assignment of a matrix to matrix.
Definition: Matrix.h:239
ResultType::TransposeType TransposeType
Transpose type for expression template evaluations.
Definition: DVecTDVecMultExpr.h:167
RightOperand rhs_
Right-hand side dense vector of the multiplication expression.
Definition: DVecTDVecMultExpr.h:579
IntrinsicType load() const
Access to the intrinsic elements of the matrix.
Definition: DVecTDVecMultExpr.h:310
VT2::CompositeType CT2
Composite type of the right-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:98
ElementType & ReferenceType
Reference return type.
Definition: DVecTDVecMultExpr.h:200
ReturnType operator()(size_t i, size_t j) const
2D-access to the matrix elements.
Definition: DVecTDVecMultExpr.h:462
Header file for the IsReference type trait.
Base class for all outer product expression templates.The VecTVecMultExpr class serves as a tag for a...
Definition: VecTVecMultExpr.h:66
#define BLAZE_CONSTRAINT_MATRICES_MUST_HAVE_SAME_STORAGE_ORDER(T1, T2)
Constraint on the data type.In case either of the two given data types T1 or T2 is not a matrix type ...
Definition: StorageOrder.h:283
Header file for all intrinsic functionality.
ConstIterator & operator+=(size_t inc)
Addition assignment operator.
Definition: DVecTDVecMultExpr.h:235
ResultType::ElementType ElementType
Resulting element type.
Definition: DVecTDVecMultExpr.h:168
#define BLAZE_CONSTRAINT_MUST_BE_DENSE_VECTOR_TYPE(T)
Constraint on the data type.In case the given data type T is not a dense, N-dimensional vector type...
Definition: DenseVector.h:79
size_t columns() const
Returns the current number of columns of the matrix.
Definition: DVecTDVecMultExpr.h:527
ElementType ValueType
Type of the underlying elements.
Definition: DVecTDVecMultExpr.h:198
Header file for the IsComputation type trait class.
ReturnType operator*() const
Direct access to the element at the current iterator position.
Definition: DVecTDVecMultExpr.h:300
Iterator over the elements of the dense matrix.
Definition: DVecTDVecMultExpr.h:193
Base class for all compute expression templates.The Computation class serves as a tag for all computa...
Definition: Computation.h:59
#define BLAZE_FUNCTION_TRACE
Function trace macro.This macro can be used to reliably trace function calls. In case function tracin...
Definition: FunctionTrace.h:157
This ResultType
Result type for expression template evaluations.
Definition: CompressedMatrix.h:2370
PointerType pointer
Pointer return type.
Definition: DVecTDVecMultExpr.h:206
Header file for basic type definitions.
#define BLAZE_CONSTRAINT_MUST_BE_ROW_VECTOR_TYPE(T)
Constraint on the data type.In case the given data type T is not a row dense or sparse vector type (i...
Definition: TransposeFlag.h:81
Header file for the SubvectorExprTrait class template.
MultExprTrait< RN1, RN2 >::Type ExprReturnType
Expression return type for the subscript operator.
Definition: DVecTDVecMultExpr.h:113
bool operator<=(const ConstIterator &rhs) const
Less-than comparison between two ConstIterator objects.
Definition: DVecTDVecMultExpr.h:365
const ConstIterator operator--(int)
Post-decrement operator.
Definition: DVecTDVecMultExpr.h:290
Evaluation of the resulting expression type of a multiplication.Via this type trait it is possible to...
Definition: MultExprTrait.h:137
bool operator>(const ConstIterator &rhs) const
Greater-than comparison between two ConstIterator objects.
Definition: DVecTDVecMultExpr.h:354
#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
SelectType< IsExpression< VT1 >::value, const VT1, const VT1 & >::Type LeftOperand
Composite type of the left-hand side dense vector expression.
Definition: DVecTDVecMultExpr.h:178
EnableIf< IsIntegral< T >, Set< T, sizeof(T)> >::Type::Type set(T value)
Sets all values in the vector to the given integral value.
Definition: Set.h:209
void store(float *address, const sse_float_t &value)
Aligned store of a vector of 'float' values.
Definition: Store.h:242
Header file for the IsExpression type trait class.
Header file for the FunctionTrace class.