Package jisa.maths.matrices
Class AbstractMatrix.LMatrix<T>
- java.lang.Object
-
- jisa.maths.matrices.AbstractMatrix<T>
-
- jisa.maths.matrices.AbstractMatrix.LMatrix<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,Matrix<T>
- Enclosing class:
- AbstractMatrix<T>
public static class AbstractMatrix.LMatrix<T> extends AbstractMatrix<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jisa.maths.matrices.AbstractMatrix
AbstractMatrix.LMatrix<T>
-
Nested classes/interfaces inherited from interface jisa.maths.matrices.Matrix
Matrix.EntryConsumer<T>, Matrix.EntryMapper<U,T>, Matrix.LinearMapper<T>
-
-
Constructor Summary
Constructors Constructor Description LMatrix(T zero, T unity, MatrixFactory.Operation<T> add, MatrixFactory.Operation<T> sub, MatrixFactory.Operation<T> mult, MatrixFactory.Operation<T> div, MatrixFactory.Copier<T> copier, int rows, int cols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
add(T a, T b)
protected T
copy(T a)
protected T
divide(T a, T b)
protected T
multiply(T a, T b)
protected T
subtract(T a, T b)
-
Methods inherited from class jisa.maths.matrices.AbstractMatrix
add, add, addToElement, appendCols, appendRows, cols, copy, create, create, create, create, divide, divideElement, elementDivide, elementMultiply, get, getColArray, getColMatrix, getColSums, getData, getDeterminant, getDiagonal, getFlatData, getLU, getQR, getRowArray, getRowMatrix, getRowSums, getSubMatrix, getSubMatrix, getTrace, invert, isSingular, leftDivide, leftDivide, leftElementDivide, leftElementMultiply, leftMultiply, leftMultiply, map, map, mapCol, mapColToCol, mapElement, mapRow, mapRowToRow, mapSelf, multiply, multiply, multiplyElement, reshape, rows, set, setAll, setAll, setDiagonal, setDiagonal, subtract, subtract, subtractFromElement, toString, transpose
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jisa.maths.matrices.Matrix
checkIndices, div, div, divide, equals, forEach, forEach, forEachCol, forEachRow, isCol, isRow, isSquare, iterator, map, map, mapCol, mapColToCol, mapRow, mapRowToRow, mapSelf, minus, minus, plus, plus, setCol, setCol, setRow, setRow, setSubMatrix, size, stream, times, times
-
-
-
-
Constructor Detail
-
LMatrix
public LMatrix(T zero, T unity, MatrixFactory.Operation<T> add, MatrixFactory.Operation<T> sub, MatrixFactory.Operation<T> mult, MatrixFactory.Operation<T> div, MatrixFactory.Copier<T> copier, int rows, int cols)
-
-
Method Detail
-
copy
protected T copy(T a)
- Specified by:
copy
in classAbstractMatrix<T>
-
-