|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lip6.type.matrix.MLMatrix<T>
public abstract class MLMatrix<T>
| Field Summary | |
|---|---|
int |
nbCols
|
int |
nbRows
|
T |
values
|
| Constructor Summary | |
|---|---|
MLMatrix()
|
|
| Method Summary | |
|---|---|
abstract MLMatrix<T> |
add(MLMatrix<T> m)
returns a new matrix sum of this matrix with the argument. |
abstract double |
dot(MLMatrix<T> m)
return the dot product between matrices, ie sum of each components product. |
abstract MLMatrix<T> |
mult(double d)
produce a new matrix with each component multiplied by a double |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public T values
public int nbRows
public int nbCols
| Constructor Detail |
|---|
public MLMatrix()
| Method Detail |
|---|
public abstract MLMatrix<T> add(MLMatrix<T> m)
m - the matrix to add to this
public abstract MLMatrix<T> mult(double d)
d -
public abstract double dot(MLMatrix<T> m)
m -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||