AbstractLinAlgPack::SparseVectorUtilityPack Namespace Reference


Classes

class  DoesNotExistException
  More...
class  NotSortedException
  More...
class  DuplicateIndexesException
  More...
class  OutOfRoomException
  More...
class  UnsizedException
  More...
class  NoNonZeroElementsException
  More...
class  SpVecIndexLookup
 Sparse Vector Index Lookup and Caching class. More...

Functions

void assert_is_sorted (bool is_sorted)
template<class T_Element>
const T_Element * lookup_element (const SpVecIndexLookup< T_Element > &index_lookup, typename SpVecIndexLookup< T_Element >::index_type index, bool is_sorted)
 Lookup an element.
template<class T_SpVec>
value_type imp_dot2_V_V_SV (const DVectorSlice &vs1, const DVectorSlice &vs2, const T_SpVec &sv)


Function Documentation

template<class T_Element>
const T_Element* AbstractLinAlgPack::SparseVectorUtilityPack::lookup_element ( const SpVecIndexLookup< T_Element > &  index_lookup,
typename SpVecIndexLookup< T_Element >::index_type  index,
bool  is_sorted 
) [inline]

Lookup an element.

If the element does not exist, then NULL will be returned.

Definition at line 808 of file AbstractLinAlgPack_SparseVectorClassDecl.hpp.


Generated on Wed May 12 21:31:49 2010 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.4.7