diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2025-03-13 09:26:20 +0100 | 
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2025-03-13 09:28:24 +0100 | 
| commit | a87c80b1fbaa826142605d0846479c94d6ee2bcc (patch) | |
| tree | 902faed123c7b363170726ca1d9adb2211eca4ac /src/Data/Array/Mixed | |
| parent | 4ec47c712e6809bb7ed839055d1ac008cf500f50 (diff) | |
Add atan2
Diffstat (limited to 'src/Data/Array/Mixed')
| -rw-r--r-- | src/Data/Array/Mixed/Internal/Arith.hs | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/Data/Array/Mixed/Internal/Arith.hs b/src/Data/Array/Mixed/Internal/Arith.hs index 11cbba6..c940914 100644 --- a/src/Data/Array/Mixed/Internal/Arith.hs +++ b/src/Data/Array/Mixed/Internal/Arith.hs @@ -860,6 +860,7 @@ class NumElt a => FloatElt a where    floatEltExpm1 :: SNat n -> RS.Array n a -> RS.Array n a    floatEltLog1pexp :: SNat n -> RS.Array n a -> RS.Array n a    floatEltLog1mexp :: SNat n -> RS.Array n a -> RS.Array n a +  floatEltAtan2 :: SNat n -> RS.Array n a -> RS.Array n a -> RS.Array n a  instance FloatElt Float where    floatEltDiv = divVectorFloat @@ -885,6 +886,7 @@ instance FloatElt Float where    floatEltExpm1 = expm1VectorFloat    floatEltLog1pexp = log1pexpVectorFloat    floatEltLog1mexp = log1mexpVectorFloat +  floatEltAtan2 = atan2VectorFloat  instance FloatElt Double where    floatEltDiv = divVectorDouble @@ -910,3 +912,4 @@ instance FloatElt Double where    floatEltExpm1 = expm1VectorDouble    floatEltLog1pexp = log1pexpVectorDouble    floatEltLog1mexp = log1mexpVectorDouble +  floatEltAtan2 = atan2VectorDouble | 
