Create a ComplexMatrix from an array of "rows" data.
Create a ComplexMatrix from a 2D array of complex elements.
Create a ComplexMatrix from a real and imaginary Matrices.
Coerce a (mutable) real Matrix to an immutable ComplexMatrix.
Create a rows x columns complex matrix filled with zeros.
Create a rows x columns complex matrix with elements defined by f.
Element-wise multiplication of two complex matrices.
Element-wise division of two complex matrices.
Read element (row, column) of this complex matrix (rarely used).
Expand the matrix, optionally extending the border into the expanded region.
Expand the matrix, optionally extending the border into the expanded
region. This operation is a key part of the FFT. The new matrix is of
size bigRows x bigColumns and element (0, 0) of this is anchored at
(0, 0) in the larger matrix. If borderFill is true, then the four
edges of the matrix are extended evenly in all directions, as though
the bigger matrix were actually a torus with opposite edges touching.
Get the data in the tensor, flattened to a linear array.
Get the data in the tensor, flattened to a linear array.
Get the imaginary part of the matrix.
Print out the matrix for debugging.
Tensor accessor.
Tensor accessor.
Get the real part of the matrix.
Shift a matrix with zero fill on the edges.
Shift a matrix with zero fill on the edges.
Number of rows to shift this down.
Number of columns to shift this to the right.
Shifted complex matrix, zero-filling on edges.
Shifts the elements of a matrix cyclicly as though it were a torus, wrapping around the left side to the right side, and the top to the bottom.
Shifts the elements of a matrix cyclicly as though it were a torus, wrapping around the left side to the right side, and the top to the bottom. The rotation is specified by the tuple("deltaRows", "deltaColumns"). For example, the tuple value (2, 3) would cause the element at location (0, 0) to be moved to location (2, 3). In a 5 x 5 matrix, the same tuple would cause the element at (4, 4) to be moved to (1, 2), wrapping around the torus. Returns the cyclicly shifted matrix.
Break this into an array of row vectors.
Transpose this.
Trim this to a smallRows x smallColumns complex matrix.
Internal-only method for writing an element in this.
Compare this and that for approximate equality.
An immutable matrix of complex numbers.