:orphan:
# ISStrideGetInfo
Returns the first index in a stride index set and the stride width from an `IS` of `ISType` `ISSTRIDE`
## Synopsis
```
#include "petscis.h"
PetscErrorCode ISStrideGetInfo(IS is, PetscInt *first, PetscInt *step)
```
Not Collective
## Input Parameter
- ***is -*** the index set
## Output Parameters
- ***first -*** the first index
- ***step -*** the stride width
## See Also
[](sec_scatter), `IS`, `ISCreateStride()`, `ISGetSize()`, `ISSTRIDE`
## Level
intermediate
## Location
src/vec/is/is/impls/stride/stride.c
## Examples
src/vec/is/is/tutorials/ex2.c
src/vec/is/is/tutorials/ex2f.F90
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/impls/stride/stride.c)
[Index of all IS routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)