We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b65f7a3 commit 826bcfcCopy full SHA for 826bcfc
com/arrayfire/Seq.java
@@ -14,7 +14,7 @@ public class Seq extends AFLibLoader {
14
private double step;
15
16
private long size;
17
- private boolean gfor; // always false until implemented
+ protected boolean gfor; // always false until implemented
18
19
public Seq() {
20
this(0);
@@ -46,6 +46,14 @@ public Seq(Seq other) {
46
set(other);
47
}
48
49
+ protected static Seq span() {
50
+ try {
51
+ return new Seq(1, 1, 0); // will never throw
52
+ } catch (Exception ex) {
53
+ return null;
54
+ }
55
56
+
57
public void set(Seq other) {
58
init(other.begin, other.end, other.step);
59
0 commit comments