comp • gb.gsl • matrix • _new

New Matrix (gb.gsl)

Dim hMatrix As Matrix
hMatrix = New Matrix ( [ Width As Integer, Height As Integer, Complex As Boolean ] )

Create a new matrix.

  • Width is the number of columns, two by default.

  • Height is the number of rows, two by default.

  • If Complex is TRUE, then the matrix coefficients will be complex numbers.

Note that even if Complex is initially FALSE, the coefficients will be automatically converted to complex numbers as needed.