trace

Function trace 

Source
pub fn trace<T: Field>(a: &Array2<T>) -> T
Expand description

Computes the trace of a square matrix.