ILNumerics Ultimate VSExtensionMethodscumsum Method (ConcreteArrayUInt64, ArrayUInt64, InArrayUInt64, OutArrayUInt64, RetArrayUInt64, StorageUInt64)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.3.0.0 (5.3.7131.2749)
Syntax

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

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayUInt64, ArrayUInt64, InArrayUInt64, OutArrayUInt64, RetArrayUInt64, StorageUInt64
The source array. This will not be altered.

Return Value

Type: RetArrayUInt64
Array of the same shape as flatten(BaseArrayBoolean, 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 ConcreteArrayUInt64, ArrayUInt64, InArrayUInt64, OutArrayUInt64, RetArrayUInt64, StorageUInt64. 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

ExtensionMethodssumIndT(ConcreteArraySingle, ArraySingle, InArraySingle, OutArraySingle, RetArraySingle, StorageSingle, BaseArrayIndT, Boolean)