Polynomial derivative: Difference between revisions

m
→‎{{header|Factor}}: show full implementation
(Add Factor)
m (→‎{{header|Factor}}: show full implementation)
Line 13:
The implementation of <code>pdiff</code>:
 
<lang factor>USING: pdiffkernel (math.vectors p -- p' ) dup length <iota> v* restsequences ;</lang>
IN: math.polynomials
: pdiff ( p -- p' ) dup length <iota> v* rest ;</lang>
1,820

edits