mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Adds radians and degrees (#1011)
This commit is contained in:
@@ -851,6 +851,12 @@ array arccosh(const array& a, StreamOrDevice s = {});
|
||||
/** Inverse Hyperbolic Tangent of the elements of an array */
|
||||
array arctanh(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/** Convert the elements of an array from Radians to Degrees **/
|
||||
array degrees(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/** Convert the elements of an array from Degrees to Radians **/
|
||||
array radians(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/** Natural logarithm of the elements of an array. */
|
||||
array log(const array& a, StreamOrDevice s = {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user