[−][src]Trait peroxide::traits::fp::FPMatrix
Functional Programming for Matrix
Required methods
pub fn take_row(&self, n: usize) -> Matrix
[src]
pub fn take_col(&self, n: usize) -> Matrix
[src]
pub fn skip_row(&self, n: usize) -> Matrix
[src]
pub fn skip_col(&self, n: usize) -> Matrix
[src]
pub fn fmap<F>(&self, f: F) -> Matrix where
F: Fn(f64) -> f64,
[src]
F: Fn(f64) -> f64,
pub fn col_map<F>(&self, f: F) -> Matrix where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn row_map<F>(&self, f: F) -> Matrix where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn col_mut_map<F>(&mut self, f: F) where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn row_mut_map<F>(&mut self, f: F) where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn reduce<F, T>(&self, init: T, f: F) -> f64 where
F: Fn(f64, f64) -> f64,
T: Into<f64>,
[src]
F: Fn(f64, f64) -> f64,
T: Into<f64>,
pub fn zip_with<F>(&self, f: F, other: &Matrix) -> Matrix where
F: Fn(f64, f64) -> f64,
[src]
F: Fn(f64, f64) -> f64,
pub fn col_reduce<F>(&self, f: F) -> Vec<f64> where
F: Fn(Vec<f64>) -> f64,
[src]
F: Fn(Vec<f64>) -> f64,
pub fn row_reduce<F>(&self, f: F) -> Vec<f64> where
F: Fn(Vec<f64>) -> f64,
[src]
F: Fn(Vec<f64>) -> f64,
Implementors
impl FPMatrix for Matrix
[src]
pub fn take_row(&self, n: usize) -> Self
[src]
pub fn take_col(&self, n: usize) -> Self
[src]
pub fn skip_row(&self, n: usize) -> Self
[src]
pub fn skip_col(&self, n: usize) -> Self
[src]
pub fn fmap<F>(&self, f: F) -> Matrix where
F: Fn(f64) -> f64,
[src]
F: Fn(f64) -> f64,
pub fn col_map<F>(&self, f: F) -> Matrix where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn row_map<F>(&self, f: F) -> Matrix where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn col_mut_map<F>(&mut self, f: F) where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn row_mut_map<F>(&mut self, f: F) where
F: Fn(Vec<f64>) -> Vec<f64>,
[src]
F: Fn(Vec<f64>) -> Vec<f64>,
pub fn reduce<F, T>(&self, init: T, f: F) -> f64 where
F: Fn(f64, f64) -> f64,
T: Into<f64>,
[src]
F: Fn(f64, f64) -> f64,
T: Into<f64>,
pub fn zip_with<F>(&self, f: F, other: &Matrix) -> Self where
F: Fn(f64, f64) -> f64,
[src]
F: Fn(f64, f64) -> f64,
pub fn col_reduce<F>(&self, f: F) -> Vec<f64> where
F: Fn(Vec<f64>) -> f64,
[src]
F: Fn(Vec<f64>) -> f64,
pub fn row_reduce<F>(&self, f: F) -> Vec<f64> where
F: Fn(Vec<f64>) -> f64,
[src]
F: Fn(Vec<f64>) -> f64,