PetscSinReal — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscSinReal

Returns the sine of a `PetscReal` value, with argument in radians

## Synopsis

    #include <petscmath.h>
    PetscReal PetscSinReal(PetscReal a)

Not Collective; No Fortran Support

## Input Parameter

. a - the value

## See Also

`PetscReal`, `PetscScalar`, `PetscComplex`, `PetscSinComplex()`, `PetscSinScalar()`

## Level

beginner

## Location

include/petscmath.h

## Examples

src/ts/tutorials/ex22.c
src/snes/tutorials/ex7.c
src/ts/tutorials/ex31.c
src/ts/tutorials/ex45.c
src/ts/tutorials/ex53.c
src/ts/tutorials/ex76.c
src/snes/tutorials/ex5.c
src/ts/tutorials/ex9.c
src/snes/tutorials/ex55.c

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