Usage

mathops.summation

To obtain the sum of an array, you can use the mathops.summation() function:

Functions:

summation(a)

Return summation of all elements from input array as floats.

mathops.summation.summation(a)[source]

Return summation of all elements from input array as floats.

Parameters

a (array) – array a

Returns

the sum

Return type

float

mathops.product

To obtain the product of an array, you can use the mathops.product() function:

Functions:

product(a)

Return product of all elements from input array as floats.

mathops.product.product(a)[source]

Return product of all elements from input array as floats.

Parameters

a (array) – array a

Returns

the product

Return type

float