Package mikera.matrixx

Examples of mikera.matrixx.AMatrix.lowerBandwidth()


  public void testBandedBandwidth() {
    AMatrix m=BandedMatrix.create(6, 6, -6, 6);
   
    assertEquals(0,m.upperBandwidth());
    assertEquals(5,m.upperBandwidthLimit());
    assertEquals(0,m.lowerBandwidth());
    assertEquals(5,m.lowerBandwidthLimit());
   
    m.getBand(-1).fill(1.0);
    assertEquals(0,m.upperBandwidth());
    assertEquals(1,m.lowerBandwidth());
View Full Code Here


    assertEquals(0,m.lowerBandwidth());
    assertEquals(5,m.lowerBandwidthLimit());
   
    m.getBand(-1).fill(1.0);
    assertEquals(0,m.upperBandwidth());
    assertEquals(1,m.lowerBandwidth());
  }

}
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.