Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/cmd/4th/lib/zentaylr.4th

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


\ 4tH library - Taylor series ZEN - Copyright 2009 J.L. Bezemer
\ You can redistribute this file and/or modify it under
\ the terms of the GNU General Public License

[UNDEFINED] >taylor [IF]
[UNDEFINED] f+   [IF] [ABORT] [THEN]
[UNDEFINED] 2rot [IF] include lib/2rotover.4th [THEN]

: >taylor 2dup f* 2over ;              \ setup for Taylor series
: (taylor) >r 2over f* 2rot 2over r> s>f f/ ;
: +taylor (taylor) f+ 2rot 2rot ;      \ add Taylor iteration
: -taylor (taylor) f- 2rot 2rot ;      \ subtract Taylor iteration

[DEFINED] 4TH# [IF] hide (taylor) [THEN]
[THEN]

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.