public static IRVector AllocateVector(RNodeType type, long length) { switch (type) { case RNodeType.Real: return(new RRealVector(length)); case RNodeType.String: return(new RStringVector(length)); case RNodeType.Vector: return(new RGenericVector(length)); default: throw new NotSupportedException(); } }
public RStaticObject(RNodeType type) { ObjectType = type; }
public RObject(RNodeType type) { ObjectType = type; }
public RList(RNodeType type) : base(type) { }