Package org.renjin.primitives.vector

Examples of org.renjin.primitives.vector.PrefixedStringVector


      // argument name is missing, but we have names() vector
      return names;

    } else if(names == null) {
      // have argument name, but no names() vector, return a1, a2, a3...
      return new PrefixedStringVector(argumentName, new IntSequence(1,1,numElements), AttributeMap.EMPTY);

    } else {
      // we have both argument name and names() vector, return a.x, a.y, a.z
      return new PrefixedStringVector(argumentName + ".", names, AttributeMap.EMPTY);
    }
  }
View Full Code Here

TOP

Related Classes of org.renjin.primitives.vector.PrefixedStringVector

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.