PetscTanScalar — PETSc 3.25.2 documentation

Skip to main content
`Ctrl`+`K`

# PetscTanScalar

Returns the tangent of a `PetscScalar` value

## Synopsis

    #include <petscmath.h>
    PetscScalar PetscTanScalar(PetscScalar a)

Not Collective; No Fortran Support

## Input Parameter

. a - the value

## See Also

`PetscReal`, `PetscScalar`, `PetscComplex`, `PetscTanReal()`, `PetscTanComplex()`

## Level

beginner

## Location

include/petscmath.h

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