1 USE: specialized-arrays.functor
2 IN: specialized-arrays.double
4 << "double" define-array >>
6 ! Specializer hints. These should really be generalized, and placed
8 USING: hints math.vectors arrays kernel math accessors sequences ;
10 HINTS: <double-array> { 2 } { 3 } ;
12 HINTS: (double-array) { 2 } { 3 } ;
15 USING: words classes.algebra compiler.tree.propagation.info
19 class>> double-array class<= [ float 0. 1/0. [a,b] <class/interval-info> ] [ object-info ] if
20 ] "outputs" set-word-prop
23 [ class>> double-array class<= ] both?
24 [ float 0. 1/0. [a,b] <class/interval-info> ] [ object-info ] if
25 ] "outputs" set-word-prop