mikera.matrixx.impl.APrimitiveMatrix Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vectorz Show documentation
Show all versions of vectorz Show documentation
Fast double-precision vector and matrix maths library for Java, supporting N-dimensional numeric arrays.
package mikera.matrixx.impl;
import mikera.matrixx.AMatrix;
import mikera.vectorz.AVector;
/**
* Abstract base class for the small square primitive backed matrices
* @author Mike
*
*/
public abstract class APrimitiveMatrix extends AMatrix {
private static final long serialVersionUID = -6061660451592522674L;
@Override
public boolean isSquare() {
return true;
}
@Override
public abstract int checkSquare();
@Override
public boolean isFullyMutable() {
return true;
}
@Override
public AVector getRow(int i) {
return getRowClone(i);
}
@Override
public AVector getColumn(int j) {
return getColumnClone(j);
}
@Override
public AMatrix copy() {
return clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy