Next: , Previous: , Up: Sparse Matrices   [Index]


41.8 Finding maximum and minimum elements of sparse matrices

Function: int gsl_spmatrix_minmax (const gsl_spmatrix * m, double * min_out, double * max_out)

This function returns the minimum and maximum elements of the matrix m, storing them in min_out and max_out, and searching only the non-zero values.