Package mikera.arrayz

Examples of mikera.arrayz.INDArray.slice()


  @Test
  public void testBroadCast() {
    Vector2 v=Vector2.of(1,2);
   
    INDArray a=v.broadcast(1,3,2);
    assertEquals(v,a.slice(0).slice(1));
  }
 
  @Test
  public void testPrimitiveMatricSlices() {
    Matrix22 m2=new Matrix22(1,2,3,4);
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.