vector

function vector(X:Boolean[_,_]) -> Boolean[_]

Convert matrix to a vector, concatenating rows.

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

Convert matrix to a vector, concatenating rows.

function vector(X:Integer[_,_]) -> Integer[_]

Convert matrix to a vector, concatenating rows.

function vector(x:Real, length:Integer) -> Real[_]

Create vector filled with a given scalar.

function vector(x:Integer, length:Integer) -> Integer[_]

Create vector filled with a given value.

function vector(x:Boolean, length:Integer) -> Boolean[_]

Create vector filled with a given value.

function vector(x:Real[_]) -> Real[_]

Convert vector to vector (identity operation).

function vector(x:Integer[_]) -> Integer[_]

Convert vector to vector (identity operation).

function vector(x:Boolean[_]) -> Boolean[_]

Convert vector to vector (identity operation).