Skip to main content

square

Overloads​

NameDescription
square(const IntegerArray arr) -> IntegerArrayComputes the square of the IntegerArray arr element-wise.
square(const ComplexArray arr) -> ComplexArrayComputes the square of the ComplexArray arr element-wise.
square(const RealArray arr) -> RealArrayComputes the square of the RealArray arr element-wise.

square(const IntegerArray arr) -> IntegerArray​

Computes the square of the IntegerArray arr element-wise.

Parameters​

square(const ComplexArray arr) -> ComplexArray​

Computes the square of the ComplexArray arr element-wise.

Parameters​

square(const RealArray arr) -> RealArray​

Computes the square of the RealArray arr element-wise.

Parameters​