Learn R Programming

modello (version 0.1.1)

sinh.modello_number: Number SinH

Description

Calculates the hyperbolic sine of a number

Usage

# S3 method for modello_number
sinh(x)

Arguments

x

a reference object of class 'number'

Value

Returns a reference object of class 'number'

Examples

Run this code
# NOT RUN {
modello.init(10, 10, 10, 10)
## For sclars
x1 = number(pi, scalar=TRUE)
y1 = sinh(x1)
print(y1)
print(y1$v)
## For arrays
x2 = number(matrix(pi, 3, 3))
y2 = sinh(x2)
print(y2)
print(y2$v)
modello.close()
# }

Run the code above in your browser using DataLab