Skip to contents

Symbolic element-wise arc-sine operation for LazyTensor objects or standard element-wise arc-sine operation otherwise.

Usage

asin(x)

Arguments

x

input for asin.default() or asin.LazyTensor().

Value

See value of asin.default() or asin.LazyTensor().

Details

If x is a LazyTensor, see asin.LazyTensor(), else see asin.default().

Author

Chloe Serre-Combe, Amelie Vernay

Examples

if (FALSE) {
# R base operation
asin(0)
asin(-1)
# LazyTensor symbolic element-wise arc-sine
x <- matrix(runif(150 * 3), 150, 3) # arbitrary R matrix, 150 rows, 3 columns
x_i <- LazyTensor(x, index = 'i')   # creating LazyTensor from matrix x, 
                                    # indexed by 'i'
Asin_x <- asin(x_i)                 # symbolic matrix, 150 rows and 3 columns
}