35#ifndef _BLAZE_MATH_EXPRESSIONS_SPARSEVECTOR_H_
36#define _BLAZE_MATH_EXPRESSIONS_SPARSEVECTOR_H_
100template<
typename VT,
bool TF >
103template<
typename VT,
bool TF >
106template<
typename VT,
bool TF >
109template<
typename VT,
bool TF >
112template<
typename VT,
bool TF >
115template<
typename VT,
bool TF >
141 return (*sv).find( index );
166 return (*sv).find( index );
190 return (*sv).lowerBound( index );
214 return (*sv).lowerBound( index );
238 return (*sv).upperBound( index );
262 return (*sv).upperBound( index );
Base class for sparse vectors.
Definition: SparseVector.h:72
Base class for N-dimensional vectors.
Definition: Vector.h:82
Header file for the Vector CRTP base class.
BLAZE_ALWAYS_INLINE VT::ConstIterator find(const SparseVector< VT, TF > &sv, size_t index)
Searches for a specific sparse vector element.
Definition: SparseVector.h:164
BLAZE_ALWAYS_INLINE VT::ConstIterator upperBound(const SparseVector< VT, TF > &sv, size_t index)
Returns an iterator to the first index greater then the given index.
Definition: SparseVector.h:260
BLAZE_ALWAYS_INLINE VT::ConstIterator lowerBound(const SparseVector< VT, TF > &sv, size_t index)
Returns an iterator to the first index not less then the given index.
Definition: SparseVector.h:212
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85