﻿ExtensionMethods.cumsum Method (ConcreteArray(UInt16, Array(UInt16), InArray(UInt16), OutArray(UInt16), RetArray(UInt16), Storage(UInt16)))

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<ushort> cumsum(
this ConcreteArray<ushort, Array<ushort>, InArray<ushort>, OutArray<ushort>, RetArray<ushort>, Storage<ushort>> A
)```

#### Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayUInt16, ArrayUInt16, InArrayUInt16, OutArrayUInt16, RetArrayUInt16, StorageUInt16
The source array. This will not be altered.

#### Return Value

Type: RetArrayUInt16
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 ConcreteArrayUInt16, ArrayUInt16, InArrayUInt16, OutArrayUInt16, RetArrayUInt16, StorageUInt16. 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]

#### Reference

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