?
Current Path : /usr/share/emacs/24.3/lisp/calc/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/calc/calc-funcs.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:43 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calc/calc-funcs.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\207" [require calc-ext calc-macs] 2) (defalias 'calc-inc-gamma #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302 \203 \303\304\305#\207\303\306\307#\207\302 \203! \303\310\311#\207\303\312\313#\207" [arg calc-is-inverse calc-is-hyperbolic calc-binary-op "gamG" calcFunc-gammaG "gamQ" calcFunc-gammaQ "gamg" calcFunc-gammag "gamP" calcFunc-gammaP] 4]] 3 nil "P"]) (defalias 'calc-erf #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302\303\304#\207\302\305\306#\207" [arg calc-is-inverse calc-unary-op "erfc" calcFunc-erfc "erf" calcFunc-erf] 4]] 3 nil "P"]) (defalias 'calc-erfc #[(arg) "\301 \210\302!\207" [arg calc-invert-func calc-erf] 2 nil "P"]) (defalias 'calc-beta #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-binary-op "beta" calcFunc-beta] 4]] 3 nil "P"]) (defalias 'calc-inc-beta #[nil "\300\301`\"\207" [calc-do #[nil "\300 \203 \301\302\303\304\305\302!B#\207\301\302\306\307\305\302!B#\207" [calc-is-hyperbolic calc-enter-result 3 "betB" calcFunc-betaB calc-top-list-n "betI" calcFunc-betaI] 6]] 3 nil nil]) (defalias 'calc-bessel-J #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-binary-op "besJ" calcFunc-besJ] 4]] 3 nil "P"]) (defalias 'calc-bessel-Y #[(arg) "\300\301`\"\207" [calc-do #[nil "\301\302\303#\207" [arg calc-binary-op "besY" calcFunc-besY] 4]] 3 nil "P"]) (defalias 'calc-bernoulli-number #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302\303\304#\207\305\303\304#\207" [arg calc-is-hyperbolic calc-binary-op "bern" calcFunc-bern calc-unary-op] 4]] 3 nil "P"]) (defalias 'calc-euler-number #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302\303\304#\207\305\303\304#\207" [arg calc-is-hyperbolic calc-binary-op "eulr" calcFunc-euler calc-unary-op] 4]] 3 nil "P"]) (defalias 'calc-stirling-number #[(arg) "\300\301`\"\207" [calc-do #[nil "\301 \203 \302\303\304#\207\302\305\306#\207" [arg calc-is-hyperbolic calc-binary-op "str2" calcFunc-stir2 "str1" calcFunc-stir1] 4]] 3 nil "P"]) (defalias 'calc-utpb #[nil "\300\301\302\"\207" [calc-prob-dist "b" 3] 3 nil nil]) (defalias 'calc-utpc #[nil "\300\301\302\"\207" [calc-prob-dist "c" 2] 3 nil nil]) (defalias 'calc-utpf #[nil "\300\301\302\"\207" [calc-prob-dist "f" 3] 3 nil nil]) (defalias 'calc-utpn #[nil "\300\301\302\"\207" [calc-prob-dist "n" 3] 3 nil nil]) (defalias 'calc-utpp #[nil "\300\301\302\"\207" [calc-prob-dist "p" 2] 3 nil nil]) (defalias 'calc-utpt #[nil "\300\301\302\"\207" [calc-prob-dist "t" 2] 3 nil nil]) (defalias 'calc-prob-dist #[(letter nargs) "\300\301`\"\207" [calc-do #[nil "\302 \203 \303\304 P\305\306\307 P!\310\311!D\312S\313\"\"#\207\303\314 P\305\306\315 P!\310\311!D\312S\313\"\"#\207" [nargs letter calc-is-inverse calc-enter-result "ltp" append intern "calcFunc-ltp" calc-top-n 1 calc-top-list-n 2 "utp" "calcFunc-utp"] 8]] 3]) (defalias 'calcFunc-gamma #[(x) "\301!\204 \302\303\"\210\304\305\306\"!\207" [x math-numberp math-reject-arg numberp calcFunc-fact math-add -1] 4]) #@50 Compute gamma(1+X) to the appropriate precision. (defalias 'math-gammap1-raw #[(x &optional fprec nfprec) "\204 \306 !\306 [!\307\310!\"\203H \307\310!\n\"\2039 \311\312\313 \314\315\316\311!\317\"\n#\320\314\313 \"!\"\"!\207\316\321\"\312\315\f\n#\f\")\207\322!\203X \307\323\"\203X \324 \207\312\325\"\326!\314\327 \330\331\332\314\316\333\" \"\"\334!\335\336%!\"*\207" [fprec calc-internal-prec nfprec x xplus1 lnx math-float math-lessp-float calcFunc-re math-neg math-div math-pi math-mul math-gammap1-raw math-add (float -1 0) math-sin-raw (float 1 0) math-realp (float 736276 0) math-overflow 1 math-ln-raw math-sqrt-two-pi math-exp-raw math-gamma-series math-sub (float 5 -1) math-sqr (float 0 0) 2 xinv] 9 (#$ . 3600)]) (defalias 'math-gamma-series #[(sum x xinvsqr oterm n) "\306=\203 \307\310 \"\210\311\n!\312\313\314A@!\314\3158\n\211S__!\"\f\"\316 \"\317 \"\2037 \202X \n\315_V\203I \320\321!\210\202X \322\312\f\" \n\315\\%+\207" [calc-display-working-message sum n bn x term lots math-do-working "gamma" math-bernoulli-number math-mul math-div-float math-float 2 math-add math-nearly-equal calc-record-why "*Gamma computation stopped early, not all digits may be valid" math-gamma-series next calc-internal-prec xinvsqr] 7]) (defvar math-current-gamma-value nil) (defalias 'calcFunc-gammaP #[(a x) "\303\232\203 \304\207\305 \210 \211:?\206 @\306>)\204 \307 \310\"\210\311!\204+ \307\310\"\210\312 !\203N \313 !\211\250\203N \314V\203N \315W\203N \316\317\320 \"\"\207\321 !\322\323 \"\n\")\207" [x a math-current-gamma-value (var inf var-inf) (float 1 0) math-inexact-result (bigpos bigneg frac float cplx polar) math-reject-arg numberp math-numberp math-num-integerp math-trunc 0 20 math-sub 1 calcFunc-gammaQ calcFunc-gamma math-div calcFunc-gammag] 6]) (defalias 'calcFunc-gammaQ #[(a x) "\306\232\203 \307\207\310 \210 \211:?\206 @\311>)\204 \312 \313\"\210\314!\204+ \312\313\"\210\315 !\203\201 \316 !\211\250\203\201 \317V\203\201 \320W\203\201 \317\321\322\323 T\fT\211 W\203u \324\325\n\"\f\"\326\n\"\327=\203P \330\331\"\210\202P \325\332\333!!\")!+\207\334 !\324\335 \"\")\207" [x a term sum n calc-internal-prec (var inf var-inf) (float 0 0) math-inexact-result (bigpos bigneg frac float cplx polar) math-reject-arg numberp math-numberp math-num-integerp math-trunc 0 20 (float 1 0) (float 1 0) math-normalize math-div math-mul math-add lots math-do-working "gamma" calcFunc-exp math-neg calcFunc-gamma calcFunc-gammaG calc-display-working-message math-current-gamma-value] 7]) (defalias 'calcFunc-gammag #[(a x) "\304\232\203\n \305 !\207\306 \210 \211:?\206 @\307>)\204\"