math ボキャブラリ
Factor ハンドブック > ボキャブラリ索引


ドキュメント
Arithmetic

メタデータ
作者:Slava Pestov


ワード

ビルトインクラス
bignum
fixnum
float


タプルクラス
クラススーパークラススロット
complex tuplereal imaginary
log2-expects-positive tuplex
ratio tuplenumerator denominator


union クラス
integer
number
rational
real


総称ワード
ワードスタック効果
*( x y -- z )
+( x y -- z )
-( x y -- z )
/( x y -- z )
/f( x y -- z )
/i( x y -- z )
/mod( x y -- z w )
<( x y -- ? )
<=( x y -- ? )
>( x y -- ? )
>=( x y -- ? )
>bignum( x -- n )
>fixnum( x -- n )
>float( x -- y )
>integer( x -- n )
abs( x -- y )
bit?( x n -- ? )
bitand( x y -- z )
bitnot( x -- y )
bitor( x y -- z )
bitxor( x y -- z )
denominator( a/b -- b )
fp-infinity?( x -- ? )
fp-nan-payload( x -- bits )
fp-nan?( x -- ? )
fp-qnan?( x -- ? )
fp-sign( x -- ? )
fp-snan?( x -- ? )
fp-special?( x -- ? )
imaginary-part( z -- y )
mod( x y -- z )
next-float( m -- n )
number=( x y -- ? )
numerator( a/b -- a )
prev-float( m -- n )
real-part( z -- x )
shift( x n -- y )
u<( x y -- ? )
u<=( x y -- ? )
u>( x y -- ? )
u>=( x y -- ? )
unordered?( x y -- ? )


プリミティブ
ワードスタック効果
bits>double( n -- x )
bits>float( n -- x )
byte-array>bignum( x -- y )
double>bits( x -- n )
float>bits( x -- n )


通常ワード
ワードスタック効果
(all-integers?)( i n quot: ( i -- ? ) -- ? )
(each-integer)( i n quot: ( i -- ) -- )
(find-integer)( i n quot: ( i -- ? ) -- i )
2/( x -- y )
2^( n -- 2^n )
<fp-nan>( payload -- nan )
?1+( x -- y )
align( m w -- n )
all-integers?( n quot -- ? )
each-integer( n quot -- )
even?( n -- ? )
find-integer( n quot -- i )
find-last-integer( n quot: ( i -- ? ) -- i )
fp-bitwise=( x y -- ? )
if-zero( n quot1 quot2 -- )
log2( x -- n )
log2-expects-positive( x -- * )
neg( x -- -x )
next-power-of-2( m -- n )
odd?( n -- ? )
power-of-2?( n -- ? )
recip( x -- y )
rem( x y -- z )
sgn( x -- n )
sq( x -- y )
times( n quot -- )
unless-zero( n quot -- )
when-zero( n quot -- )
zero?( x -- ? )


クラス述語ワード
ワードスタック効果
bignum?( object -- ? )
complex?( object -- ? )
fixnum?( object -- ? )
float?( object -- ? )
integer?( object -- ? )
log2-expects-positive?( object -- ? )
number?( object -- ? )
ratio?( object -- ? )
rational?( object -- ? )
real?( object -- ? )


ファイル
resource:core/math/math.factor
resource:core/math/math-docs.factor
resource:core/math/math-tests.factor


resource:core の子
ボキャブラリ概要
math.floatsFloating point number implementation
math.integersInteger implementation
math.orderGeneric protocol for totally-ordered objects
math.parserConverting numbers to and from strings


resource:basis の子
ボキャブラリ概要
math.bitsVirtual sequence for bits of an integer
math.bitwiseBitwise arithmetic utilities
math.blasmath.blas ボキャブラリ
math.combinatoricsPermutations and combinations
math.complexComplex number implementation
math.constantsMathematical constants
math.floatsFloating point number implementation
math.functionsElementary complex-valued functions
math.intervalsInterval arithmetic
math.libmLow-level binding to math functions in the C standard library
math.matricesMatrix arithmetic
math.miller-rabinmath.miller-rabin ボキャブラリ
math.partial-dispatchPartially-dispatched math operations, used by the compiler
math.pointsmath.points ボキャブラリ
math.polynomialsPolynomial arithmetic
math.primesPrime numbers test and generation
math.quaternionsQuaternion arithmetic and Euler angles
math.rangesVirtual sequence consisting of a range of numbers
math.ratiosRational number implementation
math.rectanglesmath.rectangles ボキャブラリ
math.statisticsMean, median, standard deviation, and other statistical routines
math.vectorsVector arithmetic


resource:extra の子
ボキャブラリ概要
math.affine-transformsAffine transforms for two-dimensional vectors
math.algebraVarious algebra-related words
math.analysisVarious special functions from complex analysis
math.binpackBin-packing algorithms.
math.compareComparison functions.
math.continued-fractionsContinued fractions
math.derivativesmath.derivatives ボキャブラリ
math.dualmath.dual ボキャブラリ
math.eratomath.erato ボキャブラリ
math.financeMoving averages and other calculations useful for finance.
math.floating-pointmath.floating-point ボキャブラリ
math.function-toolsmath.function-tools ボキャブラリ
math.matricesMatrix arithmetic
math.numerical-integrationNumerical integration using Simpson's method
math.primesPrime numbers test and generation
math.quadraticQuadratic equation solver
math.secant-methodmath.secant-method ボキャブラリ
math.textmath.text ボキャブラリ
math.transformsmath.transforms ボキャブラリ
math.trigmath.trig ボキャブラリ
math.vectorsVector arithmetic



ボキャブラリ概要
math.privatemath.private ボキャブラリ