MatSeqSELLGetFillRatio — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# MatSeqSELLGetFillRatio

returns a ratio that indicates the irregularity of the matrix.

## Synopsis

    #include "petscmat.h"
    PetscErrorCode MatSeqSELLGetFillRatio(Mat A, PetscReal *ratio)

Not Collective

## Input Parameter

- A - a MATSEQSELL matrix

## Output Parameter

- ratio - ratio of number of padded zeros to number of allocated elements

## See Also

`MATSEQSELL`, `MatSeqSELLGetAvgSliceWidth()`

## Level

intermediate

## Location

src/mat/impls/sell/seq/sell.c

## Implementations

MatSeqSELLGetFillRatio_SeqSELL() in src/mat/impls/sell/seq/sell.c

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages