float (version 0.2-3)

trig: Trigonometric functions

Description

Basic trig functions.

Usage

# S4 method for float32
sin(x)

# S4 method for float32 cos(x)

# S4 method for float32 tan(x)

# S4 method for float32 asin(x)

# S4 method for float32 acos(x)

# S4 method for float32 atan(x)

Arguments

x

A float vector/matrix.

Value

A float vector/matrix of the same dimensions as the input.

Examples

Run this code
# NOT RUN {
library(float)

x = flrunif(10)
sin(x)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace