|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmatrices.dbl.measure.MatricesMeasure
MatricesMeasure provides methods applicable to two (or more) matrices
Given two matrices A,B -yields-> value ,where value is a number, boolean, or any other primitive type
Author: purangp
Date: 12.03.2004 Time: 12:51:46
Constructor Summary | |
MatricesMeasure()
|
Method Summary | |
static boolean |
areEqual(Matrix a,
Matrix b)
Compares elements of matrices to try and determine equality of matrices |
static boolean |
areSameDimension(Matrix a,
Matrix b)
Compares dimensions of the two matrices |
static double |
dotProduct(Matrix a,
Matrix b)
The dot or scalar product expects two vectors It basically does an element-by-element multiplication and sums the elements of the resulting matrix. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MatricesMeasure()
Method Detail |
public static boolean areEqual(Matrix a, Matrix b)
a
- Matrixb
- Matrix
public static boolean areSameDimension(Matrix a, Matrix b)
a
- Matrixb
- Matrix
public static double dotProduct(Matrix a, Matrix b)
a
- an mxn Matrixb
- an mxn Matrix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |