GNU Scientific Library – Reference Manual: Sparse Matrices Finding Maximum and Minimum Elements

Next: Sparse Matrices Compressed Format, Previous: Sparse Matrices Properties, Up: Sparse Matrices [Index]

### 41.10 Finding Maximum and Minimum Elements

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.