File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ MInv ← |1 ⌅(⍜⍉(↘÷2⊸⧻) ⍣Mgje(⍤"Matrix has no inverse"0) ˜≡
4949
5050MSquarify ↚ ⍜△[.√⊢]
5151# Matrix Cofactors
52- MCof ← ⍥¯⊞≠.◿2°⊏MSquarify≡(MDet MSquarify≡⊡⊙¤⊚¬⊞↥°⊟)⊙¤⬚0∵ °⊚⊚⊸=.
52+ MCof ← ⍥¯⊞≠.◿2°⊏MSquarify≡(MDet MSquarify≡⊡⊙¤⊚¬⊞↥°⊟)⊙¤⬚0≡₀ °⊚⊚⊸=.
5353
5454# Dot product
5555Dot ← /+×
@@ -145,7 +145,7 @@ QRot ← ⌅(QRotImpl|QRotImpl⍜(↘1°⍉)¯)
145145# -- Number theory --
146146
147147# Pervasive factorial
148- Fact ← /×°⍉+1⬚0∵ ⇡
148+ Fact ← /×°⍉+1⬚0≡₀ ⇡
149149
150150# Gamma function
151151# Γ(z)
@@ -324,7 +324,7 @@ Gaussian ← ÷/+⊸♭ⁿ:e¯÷2°√÷:⌵⊞ℂ.-÷2-1⟜⇡
324324#
325325# Probability that n Bernoulli trials each with success probability p will amount to X successes
326326# ? p n X
327- BinomPmf ← ××⊃(∵ ⧅>|𝄐ⁿ|ⁿ⊓-¬) ⤚⋅:
327+ BinomPmf ← ××⊃(≡₀ ⧅>|𝄐ⁿ|ⁿ⊓-¬) ⤚⋅:
328328# Cumulative binomial distribution
329329#
330330# Probability that n Bernoulli trials each with success probability p will amount to X or fewer successes
You can’t perform that action at this time.
0 commit comments