Skip to main content

[]

Symbol of IntegerArray.

Overloads

NameDescription
(IntegerArray lhs [] const List<integer> inds) -> integerGets or sets the element at row inds[0] and column inds[1] of the IntegerArray.
(IntegerArray lhs [] integer i) -> integerGets or sets the element at index i of the IntegerArray.
(const IntegerArray lhs [] const Slices slices) -> IntegerArrayGets or sets the elements of the IntegerArray using slices.
(const IntegerArray lhs [] integer i) -> integerGets or sets the element at index i of the IntegerArray.
(const IntegerArray lhs [] const List<integer> inds) -> integerGets or sets the element at row inds[0] and column inds[1] of the IntegerArray.
(const IntegerArray lhs [] const List<List<integer>> slices) -> IntegerArrayGets or sets the elements of the IntegerArray using slices.

(IntegerArray lhs [] const List<integer> inds) -> integer

Gets or sets the element at row inds[0] and column inds[1] of the IntegerArray.

Parameters

  • lhs: Left-hand side value.
  • inds: A vector of two indices.

(IntegerArray lhs [] integer i) -> integer

Gets or sets the element at index i of the IntegerArray.

Parameters

  • lhs: Left-hand side value.
  • i: The index of the element to get or set.

(const IntegerArray lhs [] const Slices slices) -> IntegerArray

Gets or sets the elements of the IntegerArray using slices.

Parameters

  • lhs: Left-hand side value.
  • slices: A vector of slices describing the multi-dimensional indices to access.

(const IntegerArray lhs [] integer i) -> integer

Gets or sets the element at index i of the IntegerArray.

Parameters

  • lhs: Left-hand side value.
  • i: The index of the element to get or set.

(const IntegerArray lhs [] const List<integer> inds) -> integer

Gets or sets the element at row inds[0] and column inds[1] of the IntegerArray.

Parameters

  • lhs: Left-hand side value.
  • inds: A vector of two indices.

(const IntegerArray lhs [] const List<List<integer>> slices) -> IntegerArray

Gets or sets the elements of the IntegerArray using slices.

Parameters

  • lhs: Left-hand side value.
  • slices: A vector of slices describing the multi-dimensional indices to access.