Skip to main content

mean

Overloads​

NameDescription
mean(const IntegerArray lhs) -> integerReturns the mean value of the elements in the IntegerArray.
mean(const IntegerArray lhs, const List axes) -> IntegerArrayReturns the mean value of the elements in the IntegerArray along the given dimensions.
mean(const ComplexMatrix lhs) -> complexReturns the mean value of the elements in the ComplexMatrix.
mean(const RealArray lhs, const List axes) -> RealArrayReturns the mean value of the elements in the RealArray along the given dimensions.
mean(const RealArray lhs) -> realReturns the mean value of the elements in the RealArray.
mean(const BoolArray lhs, const List axes) -> BoolArrayReturns the mean value of the elements in the BoolArray along the given dimensions.
mean(const BoolArray lhs) -> boolReturns the mean value of the elements in the BoolArray.
mean(const ComplexArray lhs, const List axes) -> ComplexArrayReturns the mean value of the elements in the ComplexArray along the given dimensions.
mean(const ComplexArray lhs) -> complexReturns the mean value of the elements in the ComplexArray.
mean(const RealMatrix lhs, const List axes) -> RealMatrixReturns the mean value of the elements in the RealMatrix along the given dimensions.
mean(const RealMatrix lhs) -> realReturns the mean value of the elements in the RealMatrix.
mean(const ComplexMatrix lhs, const List axes) -> ComplexMatrixReturns the mean value of the elements in the ComplexMatrix along the given dimensions.

mean(const IntegerArray lhs) -> integer​

Returns the mean value of the elements in the IntegerArray.

Parameters​

mean(const IntegerArray lhs, const List axes) -> IntegerArray​

Returns the mean value of the elements in the IntegerArray along the given dimensions.

Parameters​

  • lhs: The IntegerArray to analyze.
  • axes: Axes to reduce over.

mean(const ComplexMatrix lhs) -> complex​

Returns the mean value of the elements in the ComplexMatrix.

Parameters​

mean(const RealArray lhs, const List axes) -> RealArray​

Returns the mean value of the elements in the RealArray along the given dimensions.

Parameters​

  • lhs: The RealArray to analyze.
  • axes: Axes to reduce over.

mean(const RealArray lhs) -> real​

Returns the mean value of the elements in the RealArray.

Parameters​

mean(const BoolArray lhs, const List axes) -> BoolArray​

Returns the mean value of the elements in the BoolArray along the given dimensions.

Parameters​

  • lhs: The BoolArray to analyze.
  • axes: Axes to reduce over.

mean(const BoolArray lhs) -> bool​

Returns the mean value of the elements in the BoolArray.

Parameters​

mean(const ComplexArray lhs, const List axes) -> ComplexArray​

Returns the mean value of the elements in the ComplexArray along the given dimensions.

Parameters​

  • lhs: The ComplexArray to analyze.
  • axes: Axes to reduce over.

mean(const ComplexArray lhs) -> complex​

Returns the mean value of the elements in the ComplexArray.

Parameters​

mean(const RealMatrix lhs, const List axes) -> RealMatrix​

Returns the mean value of the elements in the RealMatrix along the given dimensions.

Parameters​

  • lhs: The RealMatrix to analyze.
  • axes: Axes to reduce over.

mean(const RealMatrix lhs) -> real​

Returns the mean value of the elements in the RealMatrix.

Parameters​

mean(const ComplexMatrix lhs, const List axes) -> ComplexMatrix​

Returns the mean value of the elements in the ComplexMatrix along the given dimensions.

Parameters​