Skip to main content

*=

Overloads

NameDescription
(IntegerArray lhs *= const integer rhs) -> IntegerArrayThe * operator multiplies in-place two IntegerArray element-wise.
(IntegerArray lhs *= const bool rhs) -> IntegerArrayThe * operator multiplies in-place two IntegerArray element-wise.
(IntegerArray lhs *= const IntegerArray rhs) -> IntegerArrayThe * operator multiplies in-place two IntegerArray element-wise.
(RealArray lhs *= const integer rhs) -> RealArrayThe * operator multiplies in-place two RealArray element-wise.
(RealArray lhs *= const real rhs) -> RealArrayThe * operator multiplies in-place two RealArray element-wise.
(RealArray lhs *= const bool rhs) -> RealArrayThe * operator multiplies in-place two RealArray element-wise.
(ComplexArray lhs *= const ComplexArray rhs) -> ComplexArrayThe * operator multiplies in-place two ComplexArray element-wise.
(ComplexArray lhs *= const complex rhs) -> ComplexArrayThe * operator multiplies in-place two ComplexArray element-wise.
(ComplexArray lhs *= const bool rhs) -> ComplexArrayThe * operator multiplies in-place two ComplexArray element-wise.
(ComplexArray lhs *= const real rhs) -> ComplexArrayThe * operator multiplies in-place two ComplexArray element-wise.
(ComplexArray lhs *= const integer rhs) -> ComplexArrayThe * operator multiplies in-place two ComplexArray element-wise.
(RealArray lhs *= const RealArray rhs) -> RealArrayThe * operator multiplies in-place two RealArray element-wise.

(IntegerArray lhs *= const integer rhs) -> IntegerArray

The * operator multiplies in-place two IntegerArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = IntegerArray([[1 .. 5]])
var rhs = IntegerArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(IntegerArray lhs *= const bool rhs) -> IntegerArray

The * operator multiplies in-place two IntegerArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = IntegerArray([[1 .. 5]])
var rhs = IntegerArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(IntegerArray lhs *= const IntegerArray rhs) -> IntegerArray

The * operator multiplies in-place two IntegerArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = IntegerArray([[1 .. 5]])
var rhs = IntegerArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(RealArray lhs *= const integer rhs) -> RealArray

The * operator multiplies in-place two RealArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = RealArray([[1 .. 5]])
var rhs = RealArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(RealArray lhs *= const real rhs) -> RealArray

The * operator multiplies in-place two RealArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = RealArray([[1 .. 5]])
var rhs = RealArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(RealArray lhs *= const bool rhs) -> RealArray

The * operator multiplies in-place two RealArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = RealArray([[1 .. 5]])
var rhs = RealArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(ComplexArray lhs *= const ComplexArray rhs) -> ComplexArray

The * operator multiplies in-place two ComplexArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = ComplexArray([[1 .. 5]])
var rhs = ComplexArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(ComplexArray lhs *= const complex rhs) -> ComplexArray

The * operator multiplies in-place two ComplexArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = ComplexArray([[1 .. 5]])
var rhs = ComplexArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(ComplexArray lhs *= const bool rhs) -> ComplexArray

The * operator multiplies in-place two ComplexArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = ComplexArray([[1 .. 5]])
var rhs = ComplexArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(ComplexArray lhs *= const real rhs) -> ComplexArray

The * operator multiplies in-place two ComplexArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = ComplexArray([[1 .. 5]])
var rhs = ComplexArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(ComplexArray lhs *= const integer rhs) -> ComplexArray

The * operator multiplies in-place two ComplexArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = ComplexArray([[1 .. 5]])
var rhs = ComplexArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]

(RealArray lhs *= const RealArray rhs) -> RealArray

The * operator multiplies in-place two RealArray element-wise.

Parameters

  • lhs: The left-hand-side array or scalar.
  • rhs: The right-hand-side array or scalar.

Example


var lhs = RealArray([[1 .. 5]])
var rhs = RealArray([[-2 .. 2]])
lhs *= rhs // [-2.0, -2.0, 0.0, 4.0]