public ScalarSequence(RDouble a, RInt b, int[] dimensions, Names names, Attributes attributes, int n, int depth, ValueArithmetic arit, ASTNode ast) {
super(a, b, dimensions, names, attributes, n, depth, arit, ast);
adbl = a.getDouble(0);
arithIsNA = RDouble.RDoubleUtils.arithIsNA(adbl);
RIntSequence bs = RIntSequence.cast(b);
bfrom = bs.from();
bstep = bs.step();
}