usencrypt.asin#

usencrypt.asin(x, debug=False)#

Computes the arcsine of \(x\) using the Newton-Raphson method.

Parameters

x (usencrypt.cipher.Float or float) – The input value.

Returns

The arcsine of x.

Return type

usencrypt.cipher.Float

Note

Depends on usencrypt.acos() to compute the arcsine of x.

Warning

See the warnings for usencrypt.acos().

See also

Examples
>>> import usencrypt as ue
>>> a = ue.encrypt(0.75)
>>> a_asin = ue.asin(a)
>>> a_asin
(0x7f845c010b50) Float: 0xa78ae04fab516795442025d555259dc28cde23b5cbe1b04b164132589e5348e0
>>> ue.decrypt(a_asin)
0.8480620719492435