Struct sketches_rust::index_mapping::LogarithmicMapping
source · pub struct LogarithmicMapping { /* private fields */ }
Trait Implementations§
source§impl IndexMapping for LogarithmicMapping
impl IndexMapping for LogarithmicMapping
fn index(&self, value: f64) -> i32
fn value(&self, index: i32) -> f64
fn lower_bound(&self, index: i32) -> f64
fn upper_bound(&self, index: i32) -> f64
fn get_relative_accuracy(&self) -> f64
fn min_indexable_value(&self) -> f64
fn max_indexable_value(&self) -> f64
fn with_relative_accuracy( relative_accuracy: f64 ) -> Result<LogarithmicMapping, Error>
fn with_gamma_offset( gamma: f64, index_offset: f64 ) -> Result<LogarithmicMapping, Error>
source§impl PartialEq<LogarithmicMapping> for LogarithmicMapping
impl PartialEq<LogarithmicMapping> for LogarithmicMapping
source§fn eq(&self, other: &LogarithmicMapping) -> bool
fn eq(&self, other: &LogarithmicMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.