Skip to main content

[]

Symbol of RealArray.

Overloads

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

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

Gets or sets the elements of the RealArray using slices.

Parameters

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

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

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

Parameters

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

(RealArray lhs [] integer i) -> real

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

Parameters

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

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

Gets or sets the elements of the RealArray using slices.

Parameters

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

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

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

Parameters

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

(const RealArray lhs [] integer i) -> real

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

Parameters

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