Examples of RIntSequence


Examples of r.data.internal.IntImpl.RIntSequence

            public VectorSequenceASized(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);
                assert Utils.check(a.size() == n);
                nb = b.size();
                RIntSequence bs = RIntSequence.cast(b);
                bfrom = bs.from();
                bstep = bs.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            public VectorSequenceBSized(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);
                assert Utils.check(n == b.size());
                na = a.size();
                RIntSequence bs = RIntSequence.cast(b);
                bfrom = bs.from();
                bstep = bs.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            final int bfrom;
            final int bstep;

            public EqualSizeVectorSequence(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);
                RIntSequence bs = RIntSequence.cast(b);
                bfrom = bs.from();
                bstep = bs.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

                        if (bint instanceof IntViewForIntInt.VectorSequenceASized) {
                            // 1 / (t(b) + 0:(a-1))
                            IntViewForIntInt.VectorSequenceASized bview = (IntViewForIntInt.VectorSequenceASized) bint;
                            double avalue = ((ScalarDoubleImpl) a).getDouble();
                            int[] ba = bview.a.getContent();
                            RIntSequence bbs = (RIntSequence) bview.b;
                            int bbfrom = bbs.from();
                            int bbto = bbs.to();
                            int bbstep = bbs.step();
                            ValueArithmetic barith = bview.arit;

                            double res = 0;
                            int bbb = bbfrom;
                            boolean overflown = false;
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            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();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            public SequenceVectorASized(RInt a, RDouble 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);
                assert Utils.check(n == a.size());
                nb = b.size();
                RIntSequence as = RIntSequence.cast(a);
                afrom = as.from();
                astep = as.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            public SequenceVectorBSized(RInt a, RDouble 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);
                assert Utils.check(n == b.size());
                na = a.size();
                RIntSequence as = RIntSequence.cast(a);
                afrom = as.from();
                astep = as.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            final int afrom;
            final int astep;

            public EqualSizeSequenceVector(RInt a, RDouble 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);
                RIntSequence as = RIntSequence.cast(a);
                afrom = as.from();
                astep = as.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            public ScalarSequence(RInt 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);
                aint = a.getInt(0);
                arithIsNA = aint == RInt.NA;
                RIntSequence bs = RIntSequence.cast(b);
                bfrom = bs.from();
                bstep = bs.step();
            }
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence

            public SequenceVectorASized(RInt 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);
                assert Utils.check(n == a.size());
                nb = b.size();
                RIntSequence as = RIntSequence.cast(a);
                afrom = as.from();
                astep = as.step();
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.