Skip to main content

/=

Overloads

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

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = ComplexArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = IntegerArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = IntegerArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = IntegerArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = RealArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = RealArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = RealArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = RealArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = ComplexArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = ComplexArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = ComplexArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]

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

The / operator divides 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]]) // [1.0, 2.0, 3.0, 4.0]
var rhs = ComplexArray([[1, 2, 3, 4]])
lhs /= rhs // [1.0, 1.0, 1.0, 1.0]