Package org.encog.ml.data

Examples of org.encog.ml.data.MLComplexData


   */
  public BasicMLComplexData(final MLData d) {
    this(d.size());
   
    if( d instanceof MLComplexData ) {
      MLComplexData c = (MLComplexData)d;
      for (int i = 0; i < d.size(); i++) {
        this.data[i] = new ComplexNumber(c.getComplexData(i));
      }     
    } else {
      for (int i = 0; i < d.size(); i++) {
        this.data[i] = new ComplexNumber(d.getData(i), 0);
     
View Full Code Here


   */
  public BasicMLComplexData(final MLData d) {
    this(d.size());
   
    if( d instanceof MLComplexData ) {
      MLComplexData c = (MLComplexData)d;
      for (int i = 0; i < d.size(); i++) {
        this.data[i] = new ComplexNumber(c.getComplexData(i));
      }     
    } else {
      for (int i = 0; i < d.size(); i++) {
        this.data[i] = new ComplexNumber(d.getData(i), 0);
     
View Full Code Here

TOP

Related Classes of org.encog.ml.data.MLComplexData

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.