Package com.mockturtlesolutions.snifflib.datatypes

Examples of com.mockturtlesolutions.snifflib.datatypes.DblMatrix.minus()


    ionicStrPenalty = ionicStrPenalty.pow(2);
   
    DblMatrix resids = (this.AMatrix.dot(concMatrix)).minus(this.BVector);
    DblMatrix ONE = new DblMatrix(1.0);
   
    resids = resids.getMap(ONE.minus(DblMatrix.isNaN(resids)));
    resids = DblMatrix.sum(resids.pow(2),1);
    resids = resids.plus(ionicStrPenalty);
   
    resids = DblMatrix.sqrt(resids);
    //resids.show("resids2");
View Full Code Here


      {
        this.add(comp,(testSol.getConcentration(comp)).times(-1));
      }
      else
      {
        current = current.minus(testSol.getConcentration(comp));
      }
    }
  }
 
  /**
 
View Full Code Here

      {
        this.add(comp,(testSol.getConcentration(comp)).times(-1));
      }
      else
      {
        current = current.minus(testSol.getConcentration(comp));
      }
    }
  }
 
  /**
 
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.