Copyright | (c) Edward Kmett 2010-2021 |
---|---|
License | BSD3 |
Maintainer | ekmett@gmail.com |
Stability | experimental |
Portability | GHC only |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
Instances
Num a => Mode (Id a) Source # | |
Defined in Numeric.AD.Internal.Identity isKnownConstant :: Id a -> Bool Source # asKnownConstant :: Id a -> Maybe (Scalar (Id a)) Source # isKnownZero :: Id a -> Bool Source # auto :: Scalar (Id a) -> Id a Source # (*^) :: Scalar (Id a) -> Id a -> Id a Source # (^*) :: Id a -> Scalar (Id a) -> Id a Source # | |
Data a => Data (Id a) Source # | |
Defined in Numeric.AD.Internal.Identity gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Id a -> c (Id a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Id a) # dataTypeOf :: Id a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Id a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Id a)) # gmapT :: (forall b. Data b => b -> b) -> Id a -> Id a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Id a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Id a -> r # gmapQ :: (forall d. Data d => d -> u) -> Id a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Id a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Id a -> m (Id a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Id a -> m (Id a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Id a -> m (Id a) # | |
Monoid a => Monoid (Id a) Source # | |
Semigroup a => Semigroup (Id a) Source # | |
Bounded a => Bounded (Id a) Source # | |
Enum a => Enum (Id a) Source # | |
Floating a => Floating (Id a) Source # | |
RealFloat a => RealFloat (Id a) Source # | |
Defined in Numeric.AD.Internal.Identity floatRadix :: Id a -> Integer # floatDigits :: Id a -> Int # floatRange :: Id a -> (Int, Int) # decodeFloat :: Id a -> (Integer, Int) # encodeFloat :: Integer -> Int -> Id a # significand :: Id a -> Id a # scaleFloat :: Int -> Id a -> Id a # isInfinite :: Id a -> Bool # isDenormalized :: Id a -> Bool # isNegativeZero :: Id a -> Bool # | |
Num a => Num (Id a) Source # | |
Fractional a => Fractional (Id a) Source # | |
Real a => Real (Id a) Source # | |
Defined in Numeric.AD.Internal.Identity toRational :: Id a -> Rational # | |
RealFrac a => RealFrac (Id a) Source # | |
Show a => Show (Id a) Source # | |
Erf a => Erf (Id a) Source # | |
InvErf a => InvErf (Id a) Source # | |
Eq a => Eq (Id a) Source # | |
Ord a => Ord (Id a) Source # | |
type Scalar (Id a) Source # | |
Defined in Numeric.AD.Internal.Identity |