Handbook
Glossary
quadratic-cursor
Vocabulary
cursors
Definition
IN:
cursors
TUPLE:
quadratic-cursor
<
numeric-cursor
{
delta
read-only
}
{
delta2
read-only
}
;
Methods
USING:
cursors
kernel
;
M:
quadratic-cursor
cursor-compatible?
[
linear-cursor?
]
both?
;
inline
USING:
accessors
cursors
kernel
math
;
M:
quadratic-cursor
dec-cursor
[
value>>
]
[
delta>>
]
[
delta2>>
]
tri
[
-
[
-
]
keep
]
keep
<quadratic-cursor>
;
inline
USING:
accessors
cursors
kernel
math
;
M:
quadratic-cursor
inc-cursor
[
value>>
]
[
delta>>
[
+
]
keep
]
[
delta2>>
[
+
]
keep
]
tri
<quadratic-cursor>
;
inline