Function nalgebra::new_identity [] [src]

pub fn new_identity<M: Eye>(dim: usize) -> M

Construct the identity matrix for a given dimension