ILNumerics Ultimate VSExtensionMethodscumprodIndT Method (ConcreteArraySingle, ArraySingle, InArraySingle, OutArraySingle, RetArraySingle, StorageSingle, IndT)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] Computes the cumulative product of elements of A along dimension axis.

[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<float> cumprod<IndT>(
	this ConcreteArray<float, Array<float>, InArray<float>, OutArray<float>, RetArray<float>, Storage<float>> A,
	IndT axis
)
where IndT : struct, new(), IConvertible

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArraySingle, ArraySingle, InArraySingle, OutArraySingle, RetArraySingle, StorageSingle
The source array. This will not be altered.
axis
Type: IndT
Dimension of A to compute the cumulative product along. A negative value counts from the last dimension.

Type Parameters

IndT
Element type for axis parameter. Must be numeric.

Return Value

Type: RetArraySingle
Array of the same shape as A.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArraySingle, ArraySingle, InArraySingle, OutArraySingle, RetArraySingle, StorageSingle. 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).
Exceptions

ExceptionCondition
ArgumentExceptionif elements of axis are smaller than -A.S.NumberOfDimensions;
Remarks

axis must lay in the range of existing dimension indices.

axis may be negative. Corresponding dimension indices are considered as counting from the end of the range of existing dimensions in A.

[ILNumerics numpy Module]

See Also

Reference

ExtensionMethodssumIndT(ConcreteArraycomplex, Arraycomplex, InArraycomplex, OutArraycomplex, RetArraycomplex, Storagecomplex, BaseArrayIndT, Boolean)