|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.javasoft.smx.ops.matrix.ExtendedDoubleOperations
public class ExtendedDoubleOperations
| Constructor Summary | |
|---|---|
ExtendedDoubleOperations(double tolerance)
|
|
ExtendedDoubleOperations(Zero zero)
|
|
| Method Summary | |
|---|---|
Gauss |
getGauss()
|
Zero |
getZero()
|
ReadableMatrix<Double> |
invert(ReadableMatrix<Double> mx)
Returns the matrix inverse of a square matrix mx, that is, a matrix res = null(mx), such that |
int |
nullity(ReadableMatrix<Double> mx)
Returns the nullity of the given matrix, that is, the dimension of the nullspace of mx. |
ReadableMatrix<Double> |
nullspace(ReadableMatrix<Double> mx)
Returns a basis for the kernel (or nullspace) of mx, that is, a matrix res, such that it spans the nullspace: |
int |
rank(ReadableMatrix<Double> mx)
Returns the rank of the given matrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedDoubleOperations(Zero zero)
public ExtendedDoubleOperations(double tolerance)
| Method Detail |
|---|
public Zero getZero()
public Gauss getGauss()
public int rank(ReadableMatrix<Double> mx)
ExtendedMatrixOperationsUsually, Gaussian elimination is used to compute the rank
rank in interface ExtendedMatrixOperations<Double,Double>public int nullity(ReadableMatrix<Double> mx)
ExtendedMatrixOperationsrank(mx) + nullity(mx) = nwhere n is the number of columns of mx.
Usually, Gaussian elimination is used to compute the nullity.
nullity in interface ExtendedMatrixOperations<Double,Double>public ReadableMatrix<Double> invert(ReadableMatrix<Double> mx)
ExtendedMatrixOperationsmx * res = Iwhere I is the identity matrix.
Usually, Gaussian elimination is used to compute the inverse matrix.
invert in interface ExtendedMatrixOperations<Double,Double>public ReadableMatrix<Double> nullspace(ReadableMatrix<Double> mx)
ExtendedMatrixOperations
span(res) = null(mx) = { x : mx * x = 0}
Usually, Gaussian elimination is used to compute the kernel matrix.
nullspace in interface ExtendedMatrixOperations<Double,Double>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||