Matrix

public void Matrix()

This creates a new Matrix of width and height 0.


public void Matrix(int rows, int columns)

This creates a new Matrix with a specified width and height.

Parameters

rows

the number of rows, or height

columns

the number of columns, or width


public void Matrix(Array<Array<double>> setMatrix)

This creates a new Matrix from a 2D matrix of doubles. Please only enter rectangular 2D Arrays of doubles or else things mess up.

Parameters

setMatrix

the 2D Array of doubles


public void Matrix(Matrix setMatrix)

This creates a new Matrix from another Matrix.

Parameters

setMatrix

the Matrix input.