We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc4418 commit 5bddda4Copy full SHA for 5bddda4
lu.ijs
@@ -18,5 +18,11 @@ for_i. i. d do. NB. for each ring
18
y =. col (<remvec;i)} y NB. store the current column into the array as L; leave U unchanged
19
y =. (((<remvec;remvec) { y) - col */ (<i;remvec) { y) (<remvec;remvec)} y NB. subtract (current column */ (}.first row)) from lower-right block
20
end.
21
-pv;y
22
-)
+NB. convert ipiv to selection vector
+z=. i.#pv
23
+for_i. i.-#pv do.
24
+ t=. i{z
25
+ z=. t (i{pv)} ((i{pv){z) i}z
26
+end.
27
+z;y
28
+)
manifest.ijs
@@ -6,7 +6,7 @@ DESCRIPTION=: 0 : 0
6
J LU code, called from 128!:10
7
)
8
9
-VERSION=: '1.0.3'
+VERSION=: '1.0.4'
10
11
FILES=: 0 : 0
12
lu.ijs
0 commit comments