Function zoea::mtx::new_f64_identity[][src]

pub fn new_f64_identity(size: usize) -> DMatrix<f64>
Expand description

new_f64_identity

Create a new f64 identity DMatrix of dimensions size x size The f32 equivalent is new_f32_identity

EXAMPLE:

use zoea::mtx;
let mut m: mtx::DMatrix<f64> = mtx::new_f64_identity(5);