File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,17 @@ MCof ← ⍥¯⊞≠.◿2°⊏MSquarify≡(MDet MSquarify≡⊡⊙¤⊚¬⊞↥
5454# Dot product
5555Dot ← /+×
5656# Cross product
57- Cross ← ↻2-∩(×↻2)⤙.
57+ Cross ← ↻2-∩(×↻2)◡:
5858# Matrix product
5959#
6060# Computes AB
6161# ? A B
62- Mmp ← ⌅(⍜⍉⊞Dot:|⍜⍉⊞Dot: MInv)
62+ Mmp ← |2 ⌅(⍜⍉⊞Dot:|Mmp MInv)
6363# Matrix-vector product
6464#
6565# Computes MV where V is represented as a 1D list of numbers
6666# ? M V
67- Mvp ← ⌅(Dot⍉|Dot⍉ MInv)
67+ Mvp ← |2 ⌅(Dot⍉|Mvp MInv)
6868# Matrix power
6969# ? P M
7070Mpow ← ⊙◌⍥(⊞Dot⤙⍉):⊞=.⇡⧻⤙∘
@@ -360,6 +360,7 @@ NormalCdf ← ÷2+1Erf÷×√2⊙-
360360
361361# Permutation indices of N items
362362# Indices ? N
363+ # Deprecated! Use `⧅≠⟜⇡` instead.
363364Perms ← ♭₂⍉∧(≡↻⇡⟜↯+1⟜⊂):¤¤°⊂⇡
364365
365366# Po-Shen quadratic solver
You can’t perform that action at this time.
0 commit comments