Package jaolho.data.lma.ArrayConverter

Examples of jaolho.data.lma.ArrayConverter.SeparatedData


   * If you have a bad data point, set its weight to zero.
   * If the given array is null, a new array is created with all elements set to 1.
   * @param alpha An LMAMatrix instance. Must be initiated to (M x M) size.
   */
  public LMA(LMAMultiDimFunction function, double[] parameters, double[][] dataPoints, double[] weights, LMAMatrix alpha) {
    SeparatedData s = ArrayConverter.separateMultiDimDataToXY(dataPoints);
    this.yDataPoints = s.yDataPoints;
    this.xDataPoints = s.xDataPoints;
    init(function, parameters, yDataPoints, xDataPoints, weights, alpha);
  }
View Full Code Here

TOP

Related Classes of jaolho.data.lma.ArrayConverter.SeparatedData

Copyright © 2018 www.massapicom. 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.