what-the-bank/sources/org/bouncycastle/pqc/math/linearalgebra/Matrix.java

37 lines
1003 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.pqc.math.linearalgebra;
/* loaded from: classes6.dex */
public abstract class Matrix {
public static final char MATRIX_TYPE_RANDOM_LT = 'L';
public static final char MATRIX_TYPE_RANDOM_REGULAR = 'R';
public static final char MATRIX_TYPE_RANDOM_UT = 'U';
public static final char MATRIX_TYPE_UNIT = 'I';
public static final char MATRIX_TYPE_ZERO = 'Z';
protected int numColumns;
protected int numRows;
public abstract Matrix computeInverse();
public abstract byte[] getEncoded();
public abstract boolean isZero();
public abstract Vector leftMultiply(Vector vector);
public abstract Matrix rightMultiply(Matrix matrix);
public abstract Matrix rightMultiply(Permutation permutation);
public abstract Vector rightMultiply(Vector vector);
public abstract String toString();
public int getNumRows() {
return this.numRows;
}
public int getNumColumns() {
return this.numColumns;
}
}