tan/tan2

- Main Page
- Tutorials
- Functions
- Release Notes
- Examples

Functions
tan/tan2
Complete List of ArrayFire Functions ArrayFire Functions by Category » Mathematical functions » | Trigonometric functions

tan of input More...

## Functions
AFAPI array | tan (const array &in)
| C++ Interface for tan. More...
AFAPI af_err | af_tan (af_array *out, const af_array in)
| C Interface for tan. More...

## Detailed Description

tan of input

Note
  This function supports real inputs only. Complex inputs are not yet supported.

## Function Documentation

AFAPI af_err af_tan | ( | af_array * | out,
|  | const af_array | in
| ) |  |

C Interface for tan.

Parameters

  [out] | out | will contain tan of input
  [in] | in | is input array

Returns
  AF_SUCCESS if the execution completes properly

AFAPI array af::tan | ( | const array & | in | ) |

C++ Interface for tan.

Parameters

  [in] | in | is input array

Returns
  tan of input

Examples:
  image_processing/image_editing.cpp.