43 #include "AbstractLinAlgPack_sparse_bounds.hpp"
48 AbstractLinAlgPack::size_type
49 AbstractLinAlgPack::num_bounds(
const SpVectorSlice& bl,
const SpVectorSlice& bu )
51 SpVectorSlice::const_iterator
53 bl_itr_end = bl.end(),
55 bu_itr_end = bu.end();
57 while( bl_itr != bl_itr_end || bu_itr != bu_itr_end ) {
58 if( ( bl_itr != bl_itr_end )
59 && ( bu_itr == bu_itr_end || bl_itr->indice() + bl.offset() < bu_itr->indice() + bu.offset() ) )
64 else if( ( bu_itr != bu_itr_end )
65 && ( bl_itr == bl_itr_end || bu_itr->indice() + bu.offset() < bl_itr->indice() + bl.offset()) )
70 else if(bl_itr->indice() == bu_itr->indice()) {