Package mikera.matrixx

Examples of mikera.matrixx.Matrix.innerProduct()


  @Test public void testInnerProduct() {
    Matrix m=Matrixx.createYAxisRotationMatrix(2.0).toMatrix();
   
    NDArray a=NDArray.wrap(m);
   
    assertEquals(a.innerProduct(a),m.innerProduct(m));
  }
 
  @Test public void testSlice() {
    Matrix22 m1=new Matrix22(1,2,3,4);
    Matrix22 m2=new Matrix22(5,6,7,8);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.