Skip to content

Sine() Source

Bases: MathFunction

Sine of each value, read as an angle in radians.

Missing values stay missing.

Changed in version 0.2.0

Gives FLOAT64 for integers of any size.

Version history (1)

Added in version 0.1.0

Examples:

import numdaplot as ndp
import math

angles = ndp.Array.from_list([0.0, math.pi / 2])
angles.apply(ndp.Sine())
# Array([0., 1.], dtype=FLOAT64)