Copyright | (c) Alexey Kuleshevich 2018-2019 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
class Num e => Numeric r e where Source #
plusScalar :: Index ix => Array r ix e -> e -> Array r ix e Source #
minusScalar :: Index ix => Array r ix e -> e -> Array r ix e Source #
multiplyScalar :: Index ix => Array r ix e -> e -> Array r ix e Source #
absPointwise :: Index ix => Array r ix e -> Array r ix e Source #
additionPointwise :: Index ix => Array r ix e -> Array r ix e -> Array r ix e Source #
subtractionPointwise :: Index ix => Array r ix e -> Array r ix e -> Array r ix e Source #
multiplicationPointwise :: Index ix => Array r ix e -> Array r ix e -> Array r ix e Source #
powerPointwise :: Index ix => Array r ix e -> Int -> Array r ix e Source #
Raise each element of the array to the power
unsafeLiftArray :: Index ix => (a -> e) -> Array r ix a -> Array r ix e Source #
unsafeLiftArray2 :: Index ix => (a -> b -> e) -> Array r ix a -> Array r ix b -> Array r ix e Source #
Instances
Num e => Numeric D e Source # | |
Defined in Data.Massiv.Array.Delayed.Pull plusScalar :: Index ix => Array D ix e -> e -> Array D ix e Source # minusScalar :: Index ix => Array D ix e -> e -> Array D ix e Source # multiplyScalar :: Index ix => Array D ix e -> e -> Array D ix e Source # absPointwise :: Index ix => Array D ix e -> Array D ix e Source # additionPointwise :: Index ix => Array D ix e -> Array D ix e -> Array D ix e Source # subtractionPointwise :: Index ix => Array D ix e -> Array D ix e -> Array D ix e Source # multiplicationPointwise :: Index ix => Array D ix e -> Array D ix e -> Array D ix e Source # powerPointwise :: Index ix => Array D ix e -> Int -> Array D ix e Source # unsafeLiftArray :: Index ix => (a -> e) -> Array D ix a -> Array D ix e Source # unsafeLiftArray2 :: Index ix => (a -> b -> e) -> Array D ix a -> Array D ix b -> Array D ix e Source # |
class (Numeric r e, Floating e) => NumericFloat r e where Source #
Nothing
divideScalar :: Index ix => Array r ix e -> e -> Array r ix e Source #
divisionPointwise :: Index ix => Array r ix e -> Array r ix e -> Array r ix e Source #
recipPointwise :: Index ix => Array r ix e -> Array r ix e Source #
sqrtPointwise :: Index ix => Array r ix e -> Array r ix e Source #
Instances
Floating e => NumericFloat D e Source # | |
Defined in Data.Massiv.Array.Delayed.Pull |