rad 0.1.1 → 0.1.2
raw patch · 2 files changed
+3/−2 lines, 2 files
Files
- Numeric/RAD.hs +2/−1
- rad.cabal +1/−1
Numeric/RAD.hs view
@@ -233,9 +233,10 @@ log = unary log recip sqrt = unary sqrt (recip . (2*) . sqrt) RAD (C x) ** RAD (C y) = lift (x ** y)- x ** y = RAD (B (vx ** vy) (vy/vx) (log (vx)) x y)+ x ** y = RAD (B vz (vy*vz/vx) (vz*log vx) x y) where vx = primal x vy = primal y+ vz = vx ** vy sin = unary sin cos cos = unary cos (negate . sin) asin = unary asin (recip . sqrt . (1-) . (^2))
rad.cabal view
@@ -1,5 +1,5 @@ Name: rad-Version: 0.1.1+Version: 0.1.2 License: BSD3 License-File: LICENSE Copyright: Edward Kmett 2010