Uses of Class
hlcd.operations.Matrix
Packages that use Matrix
Package
Description
Takes care of exporting the code found to
.bin, .tex and
.m (Matlab) file.Contains the mathematical definition of a "code" along with a validator to
ensure the code obtained is valid.
The tools used when searching for a code are found here.
A tester package checking the optimizations of the bit manipulation
operations of constant time used in this program yield the same output as
the slower operations that use loops.
-
Uses of Matrix in hlcd.exporter
Constructors in hlcd.exporter with parameters of type MatrixModifierConstructorDescriptionLatexMatrixWriter(DirectoryCreator dc, CodeParameters cp, Matrix matrix, String matrixLabel, String delimiter, String id, boolean spaceBetweenDelimiter, Style style, boolean printPathToConsole)Initializes the LaTeX matrix writer based on the parameters specified.MatlabCodeWriter(DirectoryCreator dc, CodeParameters cp, Matrix matrix, String id, boolean printPathToConsole)Initializes the Matlab code writer based on the parameters specified. -
Uses of Matrix in hlcd.linearCode
Methods in hlcd.linearCode that return MatrixModifier and TypeMethodDescriptionCode.getGeneratorMatrix()CodeOperations.getGeneratorMatrix()Returns the generator matrix \(G\).Code.getGeneratorMatrixCopy()CodeOperations.getGeneratorMatrixCopy()Returns the matrix \(G\) as a brand-new copy (deep copy). -
Uses of Matrix in hlcd.operations
Methods in hlcd.operations that return MatrixModifier and TypeMethodDescriptionMatrix.clone()Returns the current matrix as a brand-new copy.Matrix.getGPrime()Matrix.getGPrime(byte examiningRow)MatrixOperations.getGPrime()Returns the matrix \(G^{\prime}_{k \times k} = G^{\kern0pt}_{k \times n} \overline{G}^{T}_{n \times k}\) without altering the current matrix.MatrixOperations.getGPrime(byte lastPopulatedRowIndex)Returns the submatrix of \(G^{\prime}_{sub} = G^{\kern0pt}_{x \times n} \overline{G}^{T}_{n \times x}\), where \(x\) is the largest row index in \(G\) that is nonzero.Matrix.getMatrix()MatrixOperations.getMatrix()Returns the current matrix but not as a brand-new copy.RandomMatrixGenerator.getMatrix()Returns the current matrix array as aMatrixtype.Matrix.hermitianTranspose()Matrix.hermitianTranspose(Matrix m)MatrixOperations.hermitianTranspose()Returns a new matrix that is the Hermitian transpose of the current matrix.MatrixOperations.hermitianTranspose(Matrix m)Returns a new matrix that is the Hermitian transpose of the specified matrix.Matrix.multiply(long[] leftMatrixArray, long[] rightMatrixArray, byte leftMatrixArrayN, byte rightMatrixArrayN, byte leftMatrixArrayK, byte rightMatrixArrayK, byte leftMatrixArrayBase, byte rightMatrixArrayBase)MatrixOperations.multiply(long[] leftMatrix, long[] rightMatrix, byte leftMatrixN, byte rightMatrixN, byte leftMatrixK, byte rightMatrixK, byte leftMatrixBase, byte rightMatrixBase)Multiplies two specified matrix arrays and returns the result as a new matrix.Multiplies two matrices and returns the result as a new matrix.Multiplies two specified matrices and returns the result as a new matrix.Matrix.transpose()MatrixOperations.transpose()Returns a new matrix that is the transpose of the current matrix.Will return a new matrix that is the transpose of the matrix specified.Methods in hlcd.operations with parameters of type MatrixModifier and TypeMethodDescriptionbytebyteReturns the value of a cell based on the specified matrix, row index and column index.byte[]byte[]Returns a column in the matrix specified based on the index specified.byteMatrix.getDeterminant(Matrix m)byteMatrixOperations.getDeterminant(Matrix m)Uses Bareiss Algorithm to find the determinant of the matrix specified.longlongReturns a row in the matrix specified based on the index specified.Matrix.hermitianTranspose(Matrix m)MatrixOperations.hermitianTranspose(Matrix m)Returns a new matrix that is the Hermitian transpose of the specified matrix.booleanMatrix.isInvertible(Matrix m)booleanMatrixOperations.isInvertible(Matrix m)Returnstrueif the specified matrix is invertible (i.e., the determinant of the matrix is not \(0\)),falseif the determinant is \(0\).Multiplies two matrices and returns the result as a new matrix.Multiplies two specified matrices and returns the result as a new matrix.byteMatrix.multiplyRowByCol(Matrix rightMatrix, byte row, byte column)byteMatrix.multiplyRowByCol(Matrix leftMatrix, Matrix rightMatrix, byte row, byte column)byteMatrixOperations.multiplyRowByCol(Matrix rightMatrix, byte rowIndex, byte columnIndex)Multiplies a row from current matrix by a column from specified matrix which yields a single digit.byteMatrixOperations.multiplyRowByCol(Matrix leftMatrix, Matrix rightMatrix, byte rowIndex, byte columnIndex)Multiplies a row from matrix specified by a column from the other specified matrix which yields a single digit.voidvoidSets the value of a cell based on the specified matrix, row index, column index and value.voidvoidSets a specific column based on the specified matrix, column index and new column vector.voidvoidSets a specific row based on the specified matrix, row index and new row vector.Will return a new matrix that is the transpose of the matrix specified.longMatrix.transposeColToRow(Matrix m, byte columnIndex)longMatrixOperations.transposeColToRow(Matrix m, byte index)Returns the transpose of a specific column in the matrix specified matrix.byte[]Matrix.transposeRowToCol(Matrix m, byte row)byte[]MatrixOperations.transposeRowToCol(Matrix m, byte index)Returns the transpose of a specific row in the matrix specified matrix. -
Uses of Matrix in hlcd.testing.optimizationTester
Methods in hlcd.testing.optimizationTester with parameters of type MatrixModifier and TypeMethodDescriptionbooleanReturnstrueif the two specified matrices are equal,falseotherwise.voidMatrixCellAccessorTester.testCellAccessors(Matrix matrix)Will copy the cells of the specified matrix into a new matrix by usinggetCellandsetCell.