Handbook
Glossary
bernstein-polynomial-ith ( n i -- p )
Vocabulary
math
.
splines
.
private
Inputs
n
an
object
i
an
object
Outputs
p
an
object
Definition
USING:
math
math.combinatorics
math.polynomials
;
IN:
math.splines.private
::
bernstein-polynomial-ith
( n i -- p )
n i
nCk
{
0 1
}
i
p^
{
1 -1
}
n i
-
p^
p*
n*p
;