linearalgebra.numeric
Class TransposeWrapper
java.lang.Object
linearalgebra.numeric.AbstractMatrix
linearalgebra.numeric.TransposeWrapper
- All Implemented Interfaces:
- java.lang.Cloneable, MatrixInterface, NumericMatrixInterface
public class TransposeWrapper
- extends AbstractMatrix
| Methods inherited from class linearalgebra.numeric.AbstractMatrix |
combineRows, eliminateRowsBeneath, equals, factorInverse, factorL, factorL, factorU, getColumnBottomPivotIndex, getColumnCount, getColumnTopPivotIndex, getColumnView, getNumericColumnView, getNumericRowView, getOrthogonalProjectionMatrix, getProjectionMatrix, getReflectionMatrix, getRowCount, getRowLeftPivotIndex, getRowRightPivotIndex, getRowView, hasColumnPivot, hasRowPivot, isIdentity, isLowerLeftTriangular, isOrthogonal, isPositiveDefinite, isSymmetric, isUpperRightTriangular, minus, minusEquals, multiply, multiplyEquals, multiplyRow, pivotIndexForL, pivotIndexForU, plus, plusEquals, power, product, swapRows, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_matrix
private NumericMatrixInterface m_matrix
m_rowMap
private PermutationMatrix m_rowMap
TransposeWrapper
public TransposeWrapper(NumericMatrixInterface wrapTarget)
getTarget
public NumericMatrixInterface getTarget()
clone
public java.lang.Object clone()
- Specified by:
clone in interface NumericMatrixInterface- Overrides:
clone in class AbstractMatrix
getElement
public double getElement(int row,
int col)
getTranspose
public MatrixInterface getTranspose()
incrementElement
public void incrementElement(int row,
int col,
double value)
- Specified by:
incrementElement in interface NumericMatrixInterface- Specified by:
incrementElement in class AbstractMatrix
scaleElement
public void scaleElement(int row,
int col,
double scalar)
- Specified by:
scaleElement in interface NumericMatrixInterface- Specified by:
scaleElement in class AbstractMatrix
setElement
public void setElement(int row,
int col,
double element)
- Specified by:
setElement in interface NumericMatrixInterface- Specified by:
setElement in class AbstractMatrix
swapRows
public void swapRows(PermutationMatrix p)
getRowMapping
private int getRowMapping(int row)
isIdempotent
public boolean isIdempotent()