sum
Overloads
| Name | Description |
|---|---|
sum(const IntegerArray lhs, const List axes) -> IntegerArray | Returns the sum value of the elements in the IntegerArray along the given dimensions. |
sum(const RealSparseMatrix lhs) -> real | Returns the sum of the elements in the RealSparseMatrix. |
sum(const ComplexMatrix lhs, const List axes) -> ComplexMatrix | Returns the sum value of the elements in the ComplexMatrix along the given dimensions. |
sum(const RealMatrix lhs, const List axes) -> RealMatrix | Returns the sum value of the elements in the RealMatrix along the given dimensions. |
sum(const ComplexMatrix lhs) -> complex | Returns the sum of the elements in the ComplexMatrix. |
sum(const ComplexArray lhs) -> complex | Returns the sum of the elements in the ComplexArray. |
sum(const ComplexArray lhs, const List axes) -> ComplexArray | Returns the sum value of the elements in the ComplexArray along the given dimensions. |
sum(const RealMatrix lhs) -> real | Returns the sum of the elements in the RealMatrix. |
sum(const IntegerArray lhs) -> integer | Returns the sum of the elements in the IntegerArray. |
sum(const RealArray lhs, const List axes) -> RealArray | Returns the sum value of the elements in the RealArray along the given dimensions. |
sum(const RealArray lhs) -> real | Returns the sum of the elements in the RealArray. |
sum(const BoolArray lhs, const List axes) -> BoolArray | Returns the sum value of the elements in the BoolArray along the given dimensions. |
sum(const BoolArray lhs) -> bool | Returns the sum of the elements in the BoolArray. |
sum(const ComplexSparseMatrix lhs) -> complex | Returns the sum of the elements in the ComplexSparseMatrix. |
sum(const IntegerArray lhs, const List axes) -> IntegerArray
Returns the sum value of the elements in the IntegerArray along the given dimensions.
Parameters
- lhs: The IntegerArray to analyze.
- axes: Axes to reduce over.
sum(const RealSparseMatrix lhs) -> real
Returns the sum of the elements in the RealSparseMatrix.
Parameters
- lhs: The RealSparseMatrix to analyze.
sum(const ComplexMatrix lhs, const List axes) -> ComplexMatrix
Returns the sum value of the elements in the ComplexMatrix along the given dimensions.
Parameters
- lhs: The ComplexMatrix to analyze.
- axes: Axes to reduce over.
sum(const RealMatrix lhs, const List axes) -> RealMatrix
Returns the sum value of the elements in the RealMatrix along the given dimensions.
Parameters
- lhs: The RealMatrix to analyze.
- axes: Axes to reduce over.
sum(const ComplexMatrix lhs) -> complex
Returns the sum of the elements in the ComplexMatrix.
Parameters
- lhs: The ComplexMatrix to analyze.
sum(const ComplexArray lhs) -> complex
Returns the sum of the elements in the ComplexArray.
Parameters
- lhs: The ComplexArray to analyze.
sum(const ComplexArray lhs, const List axes) -> ComplexArray
Returns the sum value of the elements in the ComplexArray along the given dimensions.
Parameters
- lhs: The ComplexArray to analyze.
- axes: Axes to reduce over.
sum(const RealMatrix lhs) -> real
Returns the sum of the elements in the RealMatrix.
Parameters
- lhs: The RealMatrix to analyze.
sum(const IntegerArray lhs) -> integer
Returns the sum of the elements in the IntegerArray.
Parameters
- lhs: The IntegerArray to analyze.
sum(const RealArray lhs, const List axes) -> RealArray
Returns the sum value of the elements in the RealArray along the given dimensions.
Parameters
- lhs: The RealArray to analyze.
- axes: Axes to reduce over.
sum(const RealArray lhs) -> real
Returns the sum of the elements in the RealArray.
Parameters
- lhs: The RealArray to analyze.
sum(const BoolArray lhs, const List axes) -> BoolArray
Returns the sum value of the elements in the BoolArray along the given dimensions.
Parameters
- lhs: The BoolArray to analyze.
- axes: Axes to reduce over.
sum(const BoolArray lhs) -> bool
Returns the sum of the elements in the BoolArray.
Parameters
- lhs: The BoolArray to analyze.
sum(const ComplexSparseMatrix lhs) -> complex
Returns the sum of the elements in the ComplexSparseMatrix.
Parameters
- lhs: The ComplexSparseMatrix to analyze.