cos
Overloads
| Name | Description |
|---|---|
cos(const ComplexArray arr) -> ComplexArray | Computes the cosine of the ComplexArray arr element-wise. |
cos(const RealArray arr) -> RealArray | Computes the cosine of the RealArray arr element-wise. |
cos(const ComplexArray arr) -> ComplexArray
Computes the cosine of the ComplexArray arr element-wise.
Parameters
- arr: The input ComplexArray.
cos(const RealArray arr) -> RealArray
Computes the cosine of the RealArray arr element-wise.
Parameters
- arr: The input RealArray.