matrix

function matrix(x:Real, rows:Integer, columns:Integer) -> Real[_,_]

Create matrix filled with a given scalar value.

  • x: The value.
  • rows: Number of rows.
  • columns: Number of columns.

function matrix(x:Integer, rows:Integer, columns:Integer) -> Integer[_,_]

Create matrix filled with a given scalar value.

  • x: The value.
  • rows: Number of rows.
  • columns: Number of columns.

function matrix(x:Boolean, rows:Integer, columns:Integer) -> Boolean[_,_]

Create matrix filled with a given scalar value.

  • x: The value.
  • rows: Number of rows.
  • columns: Number of columns.