MOOCHO (Single Doxygen Collection) Version of the Day
Classes | Functions
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

void AbstractLinAlgPack::SparseVectorUtilityPack::assert_is_sorted ( bool  is_sorted)

Definition at line 31 of file AbstractLinAlgPack_SparseVectorClass.cpp.

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.

template<class T_SpVec >
value_type AbstractLinAlgPack::SparseVectorUtilityPack::imp_dot2_V_V_SV ( const DVectorSlice &  vs1,
const DVectorSlice &  vs2,
const T_SpVec &  sv 
)

Definition at line 333 of file AbstractLinAlgPack_SparseVectorOpDef.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines