Function rgsl::linear_algebra::SV_leverage [] [src]

pub fn SV_leverage(u: &MatrixF64, h: &VectorF64) -> Value

This function computes the statistical leverage values h_i of a matrix A using its singular value decomposition (U, S, V) previously computed with gsl_linalg_SV_decomp. h_i are the diagonal values of the matrix A (AT A){-1} AT and depend only on the matrix U which is the input to this function.