Struct totsu_core::FloatGeneric
source · pub struct FloatGeneric<F> { /* private fields */ }
Expand description
num::Float
-generic LinAlgEx
implementation
All numeric operations are written in pure Rust, but slow.
Trait Implementations§
source§impl<F: Clone> Clone for FloatGeneric<F>
impl<F: Clone> Clone for FloatGeneric<F>
source§fn clone(&self) -> FloatGeneric<F>
fn clone(&self) -> FloatGeneric<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<F: Float> LinAlg for FloatGeneric<F>
impl<F: Float> LinAlg for FloatGeneric<F>
source§impl<F: Float> LinAlgEx for FloatGeneric<F>
impl<F: Float> LinAlgEx for FloatGeneric<F>
source§fn transform_ge(
transpose: bool,
n_row: usize,
n_col: usize,
alpha: F,
mat: &[F],
x: &[F],
beta: F,
y: &mut [F]
)
fn transform_ge(
transpose: bool,
n_row: usize,
n_col: usize,
alpha: F,
mat: &[F],
x: &[F],
beta: F,
y: &mut [F]
)
Calculates \(\alpha G x + \beta y\). Read more
source§fn transform_sp(n: usize, alpha: F, mat: &[F], x: &[F], beta: F, y: &mut [F])
fn transform_sp(n: usize, alpha: F, mat: &[F], x: &[F], beta: F, y: &mut [F])
Calculates \(\alpha S x + \beta y\),
where \(S\) is a symmetric matrix, supplied in packed form. Read more
source§fn map_eig_worklen(n: usize) -> usize
fn map_eig_worklen(n: usize) -> usize
Query of a length of work slice that
LinAlgEx::map_eig
requires. Read more