mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Added ArcTan2 operation (#1079)
* Added ArcTan2 operation * Cleanup, bug fixes from code review * Minor cleanup, fixed Linux tests
This commit is contained in:
@@ -828,6 +828,9 @@ array arccos(const array& a, StreamOrDevice s = {});
|
||||
/** Arc Tangent of the elements of an array */
|
||||
array arctan(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/** Inverse tangent of the ratio of two arrays */
|
||||
array arctan2(const array& a, const array& b, StreamOrDevice s = {});
|
||||
|
||||
/** Hyperbolic Sine of the elements of an array */
|
||||
array sinh(const array& a, StreamOrDevice s = {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user