Package org.renjin.primitives.sequence

Examples of org.renjin.primitives.sequence.RepDoubleVector


    if(!byRow && resultLength > 500) {
      if(data instanceof DoubleVector) {
        if(data.length() == 1) {
          return new ConstantDoubleVector(data.getElementAsDouble(0), resultLength, attributes);
        } else {
          return new RepDoubleVector(data, resultLength, 1, attributes);
        }
      }
    }
    return allocMatrix(data, nrow, ncol, byRow, dimnames);
  }
View Full Code Here

TOP

Related Classes of org.renjin.primitives.sequence.RepDoubleVector

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.