MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
AbstractLinAlgPack::SparseVectorUtilityPack Namespace Reference

Classes

class  DoesNotExistException
 
class  NotSortedException
 
class  DuplicateIndexesException
 
class  OutOfRoomException
 
class  UnsizedException
 
class  NoNonZeroElementsException
 
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. More...
 
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 44 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 821 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 346 of file AbstractLinAlgPack_SparseVectorOpDef.hpp.