Hi Rowan,
⍨ operator: you are using it to avoid parentheses?
Beside of restructuring code, avoiding duplicate code-fragment and
parentheses, ⍨ has no "functional" impact?
br & many thanks - Otto
Rowan Cannaday writes:
> addendum, forget an extra ⍳≢
>
> {(⍵⍴⍨≢⍵)⊂⍨(≢⍵)↑⍺/⍳≢⍵}
>
> Cheers.
>
> O
Hi Kacper,
many, many thanks for your insights!
Kacper Gutowski writes:
> I would write it as {(+\(⍴,⍵)⍴⍺↑1)⊂,⍵}.
(+\(⍴,⍵)⍴⍺↑1) - cool, generating the right binary vector and scan it...
I get more and more the impression, binary vectors - in conjunction with
f.e. scan and reduce are basis of
Greetings,
I'm not sure what ⎕FX is doing, but it's certainly wrong.
∇abc
[1] 111
[2] 222
[3] 333
[4] 444
[5] 555
[6] ∇
x←⎕CR 'abc'
x
abc
111
222
333
444
555
x[4;1]←' '
x
abc
111
222
33
444
555
⎕fx x
1
∇abc[⎕]∇
∇
[0] abc
[1] 111
[2] 222
[3] 3
I've been mulling over methods of bringing linear algebra methods into
gnu-apl, specifically eigenvalues & eigenvectors (leaving open the
possibility for more).
The canonical methods for this are from LAPACK (which was formerly a
compilation dependency).
Specifically:
dgeev
dsyev
zheev
Hi Blake,
thanks, fixed in SVN 1260.
There was an error in the comparison of function names which made
⎕FX think that the function was pendant. A return value of 1 from
⎕FX
(as below) indicates an error.
Best Regards,
Jürgen
Works perfectly. Thanks a lot!!
On Sun, Apr 12, 2020 at 4:22 AM Dr. Jürgen Sauermann <
mail@jürgen-sauermann.de> wrote:
> Hi Blake,
>
> it looks like you have put
>
> DISCARD-INDENTATION Yes
>
> under "Profile 1". However, the default profile (unless you start
> apl apl with a different one usin
correct. ⍨ is the commute operator when used dyadically. I generally use it
to preserve right to left reading vs nested parentheses or variable
assignment.
)help ⍨
- Rowan
On Sun, Apr 12, 2020, 5:18 AM Otto Diesenbacher-Reinmüller <
ok...@diesenbacher.net> wrote:
>
> Hi Rowan,
>
> ⍨ operator: y