Ad=: | [ 0:}-@>:@$@]{.] | 附加對表純量 |
Ai=: | >:@i. | Augmented 整數s |
Area=: | [: Det ] ,. %@!@#"1 | Area (Vol) try Area tet=:0,=i.3 |
Bc=: | i. !/ i. | Binomial係數 |
Bca=: | %.@Bc | Binomial 係數(alternating) |
By=: | ' '&;@,.@[ ,. ] | By (format; see Ta) |
Cpa=: | ]%.i.@#@]^/Ei@[ | Coeffs of poly approx |
CPA=: | (@])%.i.@#@]^/Ei@[ | Coeffs of poly approx (副詞) |
Det=: | -/ . * | 行列式 |
Dpc=: | 1: }. ] * i.@# | Differentiate poly coeffs |
D1=: | ("0)(D.1) | 導函數(scalar, first) |
Ei=: | i.@(+*+0&=) | Extended 整數s |
Epc=: | Bc@# X ] | Expand poly coeffs |
Ipc=: | 0: , ] % Ai@# | Integrate poly coeffs |
Inv=: | ^:_1 | 反函數 |
Id=: | =@i. | 單位矩陣 |
Mat=: | -: /:~ | 測試單調增 |
Mdt=: | -: \:~ | 測試單調減 |
Mrg=: | +&$ {. ,@(|:@,:) | 合併 |
Over=: | ({.;}.)@":@, | Over (format; see Ta) |
Pad=: | 2 :'x.%.]^/Ei@(y."_)' | 多項式 approx of degree |
Pp=: | +//.@(*/) | 多項式 coeffs product |
Si=: | (Ei@+: - |) : (-/ i.) | Symmetric與subsiding int |
Span=: | 2 : 'y."_ x.\ ]' | Span of apply of左 arg |
S1=: | |:@|@(^!._1/~%.^/~)@i. | 史特林數(1st kind) |
S2=: | |:@ (^/~%.^!._1/~)@i. | 史特林數(2nd kind) |
Ta=: | 1 : '[By]Over x./' | 製表副詞 |
Thr=: | ] * 0.1&^@[ <: |@] | Threshold for non-zero |
Tile=: | $@]{.[$~$@]+2:|1:+$@] | Tile (try 0 1 Tile i. 2 3 4) |
X=: | +/ . * | 矩陣乘 (矩陣product) |
XA=: | -/ . * | 矩陣乘 (alternating) |
練習
29.1 | Enter 定義of secondaries (or at least
those used in se exercises),與n enter following expressions:(Ai 2 3);(Ai 2 _3);(Ei 2 3);(Ei 2 _3) (i.;i.@-;Ai;Ai@-;Ei;Ei@-) 4 (Si 4);(7 4 Si 4) +Ta~@i. 4 (S1;S2) 7 (];X/;%/;%./;(%./%{.)) y=: (Bc ,: Bca) 5 (0 1&Cb;1 _1&Cb) i. 2 3 4 |
29.2 | Perform furr experiments with secondaries.
|