ILNumerics Ultimate VS

ExtensionMethods.cumsum Method (ConcreteArray<SByte, Array<SByte>, InArray<SByte>, OutArray<SByte>, RetArray<SByte>, Storage<SByte>>)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] Computes the cumulative sum for all elements of a flattened version of A.

[ILNumerics numpy Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetArray<sbyte> cumsum(
	this ConcreteArray<sbyte, Array<sbyte>, InArray<sbyte>, OutArray<sbyte>, RetArray<sbyte>, Storage<sbyte>> A
)

Parameters

A
Type: ILNumerics.Core.Arrays.ConcreteArray<SByte, Array<SByte>, InArray<SByte>, OutArray<SByte>, RetArray<SByte>, Storage<SByte>>
The source array. This will not be altered.

Return Value

Type: RetArray<SByte>
Array of the same shape as flatten(BaseArray<Boolean> , StorageOrders) with cumulative sums of all elements..

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArray<SByte, Array<SByte>, InArray<SByte>, OutArray<SByte>, RetArray<SByte>, Storage<SByte>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

Empty arrays A produce empty arrays of the same shape.

[ILNumerics numpy Module]

See Also

Reference

ExtensionMethods.sum<IndT>(ConcreteArray<Single, Array<Single>, InArray<Single>, OutArray<Single>, RetArray<Single>, Storage<Single>>, BaseArray<IndT>, Boolean)