public class RedundancyMatrix extends VandermondeMatrix
Constructor and Description |
---|
RedundancyMatrix(int dataRows,
int total,
MathMode mode)
Creates a redundancy matrixContent based on vnadermonde matrices.
|
RedundancyMatrix(int dataRows,
int total,
MathMode mode,
boolean noCache,
boolean noNormalize)
Creates a redundancy matrixContent based on vandermonde matrices.
|
RedundancyMatrix(RedundancyMatrix r) |
Modifier and Type | Method and Description |
---|---|
Matrix |
getRecoveryMatrix(int[] missingRowIndex)
Calculates a matrixContent to recover all data rows given the missing rows.
|
divRow, enableMatrixCache, equals, flipRow, getAsByteArray, getField, getInverse, getRow, getRowAsByteArray, getX, getY, hashCode, mul, randomMatrix, removeRow, setField, setModulo, toString, transformColumn, transformRow, unitMatrix
public RedundancyMatrix(RedundancyMatrix r)
public RedundancyMatrix(int dataRows, int total, MathMode mode)
Creates a redundancy matrixContent based on vnadermonde matrices.
dataRows
- the number of data rowstotal
- the number of total rows (redundancy + data rows)mode
- the math mode to be usedpublic RedundancyMatrix(int dataRows, int total, MathMode mode, boolean noCache, boolean noNormalize)
Creates a redundancy matrixContent based on vandermonde matrices.
dataRows
- the number of data rowstotal
- the number of total rows (redundancy + data rows)mode
- the math mode to be usednoCache
- if set the result is not cachednoNormalize
- if set the matrix is not normalized upon creationpublic Matrix getRecoveryMatrix(int[] missingRowIndex)
Calculates a matrixContent to recover all data rows given the missing rows.
missingRowIndex
- Index of the rows missing dataCopyright © 2023. All rights reserved.