math vocabulary - Factor Documentation (original) (raw)
Documentation
Arithmetic
Metadata
Tags: | math |
---|---|
Authors: | Slava Pestov |
Words
Builtin classes
![]() |
---|
![]() |
![]() |
Tuple classes
Class | Superclass | Slots |
---|---|---|
![]() |
![]() |
real imaginary |
![]() |
![]() |
n |
![]() |
![]() |
n |
![]() |
![]() |
n |
![]() |
![]() |
numerator denominator |
Union classes
![]() |
---|
![]() |
![]() |
![]() |
Generic words
Word | Stack effect |
---|---|
![]() |
( x y -- z ) |
![]() |
( x y -- z ) |
![]() |
( x y -- z ) |
![]() |
( x y -- z ) |
![]() |
( x y -- z ) |
![]() |
( x y -- z ) |
![]() |
( x y -- z w ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
![]() |
( x -- n ) |
![]() |
( x -- n ) |
![]() |
( x -- y ) |
![]() |
( a/b -- a b ) |
![]() |
( x -- n ) |
![]() |
( z -- x y ) |
![]() |
( x -- y ) |
![]() |
( x n -- ? ) |
![]() |
( x y -- z ) |
![]() |
( x -- y ) |
![]() |
( x y -- z ) |
![]() |
( x y -- z ) |
![]() |
( a/b -- b ) |
![]() |
( x -- ? ) |
![]() |
( x -- bits ) |
![]() |
( x -- ? ) |
![]() |
( x -- ? ) |
![]() |
( x -- ? ) |
![]() |
( x -- ? ) |
![]() |
( x -- ? ) |
![]() |
( z -- y ) |
![]() |
( x -- y ) |
![]() |
( x -- y ) |
![]() |
( x y -- z ) |
![]() |
( x -- ? ) |
![]() |
( m -- n ) |
![]() |
( x y -- ? ) |
![]() |
( a/b -- a ) |
![]() |
( m -- n ) |
![]() |
( z -- x ) |
![]() |
( x -- y ) |
![]() |
( x n -- y ) |
![]() |
( x y -- d ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- ? ) |
Primitives
Word | Stack effect |
---|---|
![]() |
( n -- x ) |
![]() |
( n -- x ) |
![]() |
( x -- n ) |
![]() |
( x -- n ) |
Ordinary words
Word | Stack effect |
---|---|
![]() |
( x -- y ) |
![]() |
( n -- 2^n ) |
![]() |
( payload -- nan ) |
![]() |
( x -- y ) |
![]() |
( m w -- n ) |
![]() |
( ... from to quot: ( ... i -- ... ? ) -- ... ? ) |
![]() |
( ... n quot: ( ... i -- ... ? ) -- ... ? ) |
![]() |
( n -- n ) |
![]() |
( n -- n ) |
![]() |
( n -- n ) |
![]() |
( x -- n ) |
![]() |
( ... n quot: ( ... i -- ... ) -- ... ) |
![]() |
( ... from to quot: ( ... i -- ... ) -- ... ) |
![]() |
( n -- ? ) |
![]() |
( ... n quot: ( ... i -- ... ? ) -- ... i/f ) |
![]() |
( ... i n quot: ( ... i -- ... ? ) -- ... i/f ) |
![]() |
( ... n quot: ( ... i -- ... ? ) -- ... i/f ) |
![]() |
( x y -- ? ) |
![]() |
( x y -- a d ) |
![]() |
( ..a n quot1: ( ..a -- ..b ) quot2: ( ..a n -- ..b ) -- ..b ) |
![]() |
( a b -- c ) |
![]() |
( x -- n ) |
![]() |
( x -- -x ) |
![]() |
( n -- * ) |
![]() |
( m -- n ) |
![]() |
( n -- * ) |
![]() |
( n -- ? ) |
![]() |
( n -- * ) |
![]() |
( n -- ? ) |
![]() |
( x y -- z ) |
![]() |
( n obj quot -- code ) |
![]() |
( x y -- z ) |
![]() |
( x -- n ) |
![]() |
( x -- y ) |
![]() |
( ... n quot: ( ... -- ... ) -- ... ) |
![]() |
( ... n quot: ( ... n -- ... ) -- ... ) |
![]() |
( ... n quot: ( ... x -- ... y ) -- ... ) |
![]() |
( ... n quot: ( ... -- ... x ) -- ... x ) |
![]() |
( x -- ? ) |
Class predicate words
Word | Stack effect |
---|---|
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
Files
resource:core/math/math.factor
resource:core/math/math-docs.factor
resource:core/math/math-tests.factor
Metadata files
resource:core/math/authors.txt
resource:core/math/summary.txt
resource:core/math/tags.txt
Children from resource:core
Vocabulary | Summary |
---|---|
![]() |
Floating point number implementation |
![]() |
Integer implementation |
![]() |
Generic protocol for totally-ordered objects |
![]() |
Converting numbers to and from strings |
![]() |
Rational number implementation |
Children from resource:basis
Vocabulary | Summary |
---|---|
![]() |
Virtual sequence for bits of an integer |
![]() |
Bitwise arithmetic utilities |
![]() |
Permutations and combinations |
![]() |
Complex number implementation |
![]() |
Mathematical constants |
![]() |
|
![]() |
Floating point number implementation |
![]() |
Elementary complex-valued functions |
![]() |
|
![]() |
Interval arithmetic |
![]() |
Low-level binding to math functions in the C standard library |
![]() |
Matrix arithmetic |
![]() |
Partially-dispatched math operations, used by the compiler |
![]() |
Polynomial arithmetic |
![]() |
Prime numbers test and generation |
![]() |
Quaternion arithmetic and Euler angles |
![]() |
|
![]() |
Mean, median, standard deviation, and other statistical routines |
![]() |
Vector arithmetic |
Children from resource:extra
Vocabulary | Summary |
---|---|
![]() |
Affine transforms for two-dimensional vectors |
![]() |
Various algebra-related words |
![]() |
Various special functions from complex analysis |
![]() |
Approximating rational numbers. |
![]() |
Bin-packing algorithms. |
![]() |
|
![]() |
Cardinality estimation |
![]() |
Permutations and combinations |
![]() |
|
![]() |
Comparison functions. |
![]() |
Continued fractions |
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Moving averages and other calculations useful for finance. |
![]() |
|
![]() |
Matrix arithmetic |
![]() |
Numerical integration using Simpson's method |
![]() |
|
![]() |
Prime numbers test and generation |
![]() |
Quadratic equation solver |
![]() |
runge-kutta 4-stage implementation for n dimensions |
![]() |
|
![]() |
|
![]() |
Common parametric curves |
![]() |
Mean, median, standard deviation, and other statistical routines |
![]() |
|
![]() |
|
![]() |
|
![]() |
Vector arithmetic |