ComplexMatrix

ComplexMatrix ComplexMatrix(Integer rows2, Integer cols2, Function2<Integer, Integer, ComplexDouble> lambda)

It is possible to set a value using lambda function.

ComplexMatrix ComplexMatrix(Integer rows, Integer cols, Array<ComplexDouble> data)

Creates a new matrix. If data is not given, it will generate a zero matrix.

Parameters

data

must fit into the shape of this matrix.