|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ru.sscc.matrix.TransposedMatrix
The decorator class treating an algebraic matrix as the transposed matrix.
Constructor Summary | |
TransposedMatrix(RealAlgebraicMatrix matrix)
Constructs logically transposed matrix upon an algebraic matrix. |
Method Summary | |
int |
columnsNumber()
Returns the number of columns in the transposed matrix. |
RealAlgebraicMatrix |
getOriginalMatrix()
Returns the original matrix, the instance was constructed on. |
void |
multiply(RealVector source,
RealVector target)
Multiplies this matrix by a vector: the same as multiplyT() for underlying matrix. |
void |
multiplyT(RealVector source,
RealVector target)
Multiplies the transposed matrix by a vector: the same as multiply() for underlying matrix. |
double |
relativeAccuracy()
Returns the relative accuracy for underlying matrix. |
int |
rowsNumber()
Returns the number of rows in the transposed matrix. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TransposedMatrix(RealAlgebraicMatrix matrix)
Method Detail |
public RealAlgebraicMatrix getOriginalMatrix()
public int rowsNumber()
public int columnsNumber()
public double relativeAccuracy()
public void multiply(RealVector source, RealVector target)
source
- a source vector to multiplytarget
- a target vector to write the resultpublic void multiplyT(RealVector source, RealVector target)
source
- a source vector to multiplytarget
- a target vector to write the result
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |