pub struct CorrelationFunction { /* private fields */ }Expand description
The self-referencing struct.
Implementations§
Source§impl CorrelationFunction
impl CorrelationFunction
Sourcepub fn correlation_function(&self, r: f64) -> f64
pub fn correlation_function(&self, r: f64) -> f64
Calculates the linear theory correlation function in real-space
pub fn get_correlation_function( z: f64, params: CorrelationFunctionParameters, ) -> Result<CorrelationFunction, Box<dyn Error>>
pub fn get_params<'a>(&'a self) -> &'a CorrelationFunctionParameters
pub fn get_redshift<'a>(&'a self) -> f64
Auto Trait Implementations§
impl Freeze for CorrelationFunction
impl !RefUnwindSafe for CorrelationFunction
impl Send for CorrelationFunction
impl Sync for CorrelationFunction
impl Unpin for CorrelationFunction
impl !UnwindSafe for CorrelationFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more