Module
Data.Number.Dual
- Package
- purescript-dual-numbers
- Repository
- Ebmtranceboy/purescript-dual-numbers
#linearPropagation Source
linearPropagation :: forall a b. (a -> b) -> (a -> b) -> Dual a b
#DivisionRingCat Source
class DivisionRingCat :: (Type -> Type -> Type) -> Type -> Constraint
class DivisionRingCat k s where
Members
Instances
(DivisionRing s, EuclideanRing s) => DivisionRingCat Function s
(DivisionRing s, EuclideanRing s, RingCat Dual s) => DivisionRingCat Dual s
#recipImpl Source
recipImpl :: forall b. EuclideanRing b => DivisionRing b => Dual b b
#NumCat Source
class NumCat :: (Type -> Type -> Type) -> Constraint
class NumCat k where
Members
exp :: k Number Number
sqrt :: k Number Number
sin :: k Number Number
cos :: k Number Number
tan :: k Number Number
asin :: k Number Number
acos :: k Number Number
atan :: k Number Number
sinh :: k Number Number
cosh :: k Number Number
tanh :: k Number Number
asinh :: k Number Number
acosh :: k Number Number
atanh :: k Number Number
ln :: k Number Number
abs :: k Number Number
sign :: k Number Number
atan2 :: k (Number /\ Number) Number
pow :: k (Number /\ Number) Number
min :: k (Number /\ Number) Number
max :: k (Number /\ Number) Number
Instances
#Transposable Source
class Transposable a b | a -> b where
Members
Instances
(Transposable (Tuple (Tuple b x) (Tuple d y)) e) => Transposable (Tuple (Tuple a (Tuple b x)) (Tuple c (Tuple d y))) (Tuple (Tuple a c) e)
Transposable (Tuple (Tuple a b) (Tuple c d)) (Tuple (Tuple a c) (Tuple b d))
Transposable a a
#Cumulative Source
class Cumulative c a where
Members
Instances
(Ring a, Cumulative c a) => Cumulative (Tuple a c) a
(Ring a) => Cumulative (Tuple a a) a
Cumulative a a
- Modules
- Data.
Number. Dual