BitMagic-C++
Data Structures | Functions

Sparse vector algorithms. More...

Collaboration diagram for Sparse vector algorithms:

Data Structures

class  bm::sparse_vector_scanner< SV >
 algorithms for sparse_vector scan/seach More...
 
class  bm::set2set_11_transform< SV >
 Integer set to set transformation (functional image in groups theory) https://en.wikipedia.org/wiki/Image_(mathematics) More...
 

Functions

template<typename SV >
void bm::dynamic_range_clip_high (SV &svect, unsigned high_bit)
 Clip dynamic range for signal higher than specified. More...
 
template<typename SV >
void bm::dynamic_range_clip_low (SV &svect, unsigned low_bit)
 Clip dynamic range for signal lower than specified (boost) More...
 

Detailed Description

Sparse vector algorithms.

Function Documentation

◆ dynamic_range_clip_high()

template<typename SV >
void bm::dynamic_range_clip_high ( SV &  svect,
unsigned  high_bit 
)

Clip dynamic range for signal higher than specified.

Parameters
svect- sparse vector to do clipping
high_bit- max bit (inclusive) allowed for this signal vector
See also
dynamic_range_clip_low

Definition at line 63 of file bmsparsevec_algo.h.

References bm::bvector< Alloc >::bit_or(), and BM_ASSERT.

◆ dynamic_range_clip_low()

template<typename SV >
void bm::dynamic_range_clip_low ( SV &  svect,
unsigned  low_bit 
)

Clip dynamic range for signal lower than specified (boost)

Parameters
svect- sparse vector to do clipping
low_bit- low bit (inclusive) allowed for this signal vector
See also
dynamic_range_clip_high

Definition at line 104 of file bmsparsevec_algo.h.

References bm::bvector< Alloc >::bit_or(), and BM_ASSERT.