Methods
sumArray :: Index ix => Array r ix e -> eCompute sum of all elements in the array
productArray :: Index ix => Array r ix e -> eCompute product of all elements in the array
powerSumArray :: Index ix => Array r ix e -> Int -> eRaise each element in the array to some non-negative power and sum the results
unsafeDotProduct :: Index ix => Array r ix e -> Array r ix e -> eCompute dot product without any extraneous checks
foldArray :: Index ix => (e -> e -> e) -> e -> Array r ix e -> eFold over an array
Instances7FoldNumeric, …
Num e => FoldNumeric D eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Delayed.PullNum e => FoldNumeric B eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Manifest.BoxedNum e => FoldNumeric BL eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Manifest.Boxed(NFData e, Num e) => FoldNumeric BN eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Manifest.Boxed(Storable e, Num e) => FoldNumeric S eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Manifest.Storable(Prim e, Num e) => FoldNumeric P eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Manifest.Primitive(Unbox e, Num e) => FoldNumeric U eDefined in massiv-1.0.5.0 · Data.Massiv.Array.Manifest.Unboxed