# matrix

function matrix(X:LLT) -> Real[_,_]

Convert Cholesky decomposition to an ordinary 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.

function matrix(X:Boolean[_,_], rows:Integer, cols:Integer) -> Boolean[_,_]

Convert matrix to matrix (identity operation).

function matrix(X:Real[_,_], rows:Integer, cols:Integer) -> Real[_,_]

Convert matrix to matrix (identity operation).

function matrix(X:Integer[_,_], rows:Integer, cols:Integer) -> Integer[_,_]

Convert matrix to matrix (identity operation).

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

Convert vector to matrix (identity operation).

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

Convert vector to matrix (identity operation).

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

Convert vector to matrix (identity operation).