Type Alias FloatMatrix

Source
pub type FloatMatrix = Matrix<f64>;

Aliased Type§

struct FloatMatrix { /* private fields */ }

Trait Implementations§

Source§

impl SeriesOps for FloatMatrix

Source§

fn apply_axis<U, F>(&self, axis: Axis, f: F) -> Vec<U>
where F: FnMut(&[f64]) -> U,

Generic helper: apply f to every column/row and collect its result in a Vec.
Source§

fn sum_vertical(&self) -> Vec<f64>

Source§

fn sum_horizontal(&self) -> Vec<f64>

Source§

fn prod_vertical(&self) -> Vec<f64>

Source§

fn prod_horizontal(&self) -> Vec<f64>

Source§

fn cumsum_vertical(&self) -> FloatMatrix

Source§

fn cumsum_horizontal(&self) -> FloatMatrix

Source§

fn count_nan_vertical(&self) -> Vec<usize>

Source§

fn count_nan_horizontal(&self) -> Vec<usize>

Source§

fn is_nan(&self) -> BoolMatrix

Source§

fn matrix_mul(&self, other: &Self) -> FloatMatrix

Source§

fn dot(&self, other: &Self) -> FloatMatrix

Source§

fn map<F>(&self, f: F) -> FloatMatrix
where F: Fn(f64) -> f64,

Source§

fn zip<F>(&self, other: &Self, f: F) -> FloatMatrix
where F: Fn(f64, f64) -> f64,