|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.javasoft.smx.ops.matrix.LongMatrixOperations
public class LongMatrixOperations
The LongMatrixOperations ... TODO javadoc-LongMatrixOperations-type
| Constructor Summary | |
|---|---|
LongMatrixOperations()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongMatrixOperations()
| Method Detail |
|---|
public static LongMatrixOperations instance()
public ReadableMatrix<Long> createReadableMatrix(Long[][] values,
boolean rowsInFirstDim)
createReadableMatrix in interface MatrixOperations<Long>
public ReadableMatrix<Long> createReadableMatrix(int rows,
int cols)
createReadableMatrix in interface MatrixOperations<Long>
public WritableMatrix<Long> createWritableMatrix(Long[][] values,
boolean rowsInFirstDim)
createWritableMatrix in interface MatrixOperations<Long>
public WritableMatrix<Long> createWritableMatrix(int rows,
int cols)
createWritableMatrix in interface MatrixOperations<Long>
public ReadableVector<Long> createReadableVector(Long[] values,
boolean columnVector)
createReadableVector in interface MatrixOperations<Long>
public WritableVector<Long> createWritableVector(Long[] values,
boolean columnVector)
createWritableVector in interface MatrixOperations<Long>
public ReadableVector<Long> createReadableVector(int size,
boolean columnVector)
createReadableVector in interface MatrixOperations<Long>
public WritableVector<Long> createWritableVector(int size,
boolean columnVector)
createWritableVector in interface MatrixOperations<Long>public NumberOperations<Long> getNumberOperations()
getNumberOperations in interface MatrixOperations<Long>
public ReadableMatrix<Long> add(ReadableMatrix<Long> mxA,
Long value)
add in interface MatrixOperations<Long>
public ReadableMatrix<Long> add(ReadableMatrix<Long> mxA,
ReadableMatrix<Long> mxB)
add in interface MatrixOperations<Long>
public ReadableMatrix<Long> multiply(ReadableMatrix<Long> mxA,
Long value)
multiply in interface MatrixOperations<Long>
public ReadableMatrix<Long> multiply(ReadableMatrix<Long> mxA,
ReadableMatrix<Long> mxB)
multiply in interface MatrixOperations<Long>public ReadableMatrix<Long> negate(ReadableMatrix<Long> matrix)
negate in interface MatrixOperations<Long>
public ReadableMatrix<Long> subtract(ReadableMatrix<Long> mxA,
Long value)
subtract in interface MatrixOperations<Long>
public ReadableMatrix<Long> subtract(ReadableMatrix<Long> mxA,
ReadableMatrix<Long> mxB)
subtract in interface MatrixOperations<Long>public ReadableMatrix<Long> transpose(ReadableMatrix<Long> matrix)
transpose in interface MatrixOperations<Long>public int rank(ReadableMatrix<Long> mx)
ExtendedMatrixOperationsUsually, Gaussian elimination is used to compute the rank
rank in interface ExtendedMatrixOperations<Long,BigFraction>public int nullity(ReadableMatrix<Long> 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<Long,BigFraction>public ReadableMatrix<BigFraction> invert(ReadableMatrix<Long> mx)
ExtendedMatrixOperationsmx * res = Iwhere I is the identity matrix.
Usually, Gaussian elimination is used to compute the inverse matrix.
invert in interface ExtendedMatrixOperations<Long,BigFraction>public ReadableMatrix<BigFraction> nullspace(ReadableMatrix<Long> mx)
ExtendedMatrixOperations
span(res) = null(mx) = { x : mx * x = 0}
Usually, Gaussian elimination is used to compute the kernel matrix.
nullspace in interface ExtendedMatrixOperations<Long,BigFraction>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||