Search found 628 matches
- Mon Apr 15, 2024 10:33 pm
- Forum: Language
- Topic: Calling all Dfnistas!
- Replies: 6
- Views: 21526
Re: Calling all Dfnistas!
especially useful when ... iterating ... array operands Thanks for that Adam. I've tried and, I think, succeeded in doing that but always more long-winded by demoting the array operand as an argument to reduction applied to an inner dop rather than linking it with a recursive call to the dop itself ...
- Sat Apr 13, 2024 6:30 pm
- Forum: Language
- Topic: Calling all Dfnistas!
- Replies: 6
- Views: 21526
Re: Calling all Dfnistas!
I never could find a requirement for that - though I did try - perhaps Adam may have done?
Apologies for lack of diacritic Adam.
Apologies for lack of diacritic Adam.
- Fri Apr 12, 2024 1:50 pm
- Forum: Language
- Topic: Calling all Dfnistas!
- Replies: 6
- Views: 21526
Re: Calling all Dfnistas!
Again without recourse to actually trying it I don't believe your suggestion would be possible to reference the outside dop from a nested dfn therein. Or let's say it may be possible because no-one ever got round to writing code that would prevent it but remembering what I do of JS's hopes and aims ...
- Fri Apr 12, 2024 1:38 pm
- Forum: Language
- Topic: Calling all Dfnistas!
- Replies: 6
- Views: 21526
Re: Calling all Dfnistas!
Hey Paul Without reference to the reference this is the way I look at it. First off and without trying it I think that within a dfn ∇∇ has no meaning. But within a dop , as within a dfn , ∇ means the current function . So within a dop it's not a reference to itself but to the derived function; that i ...
- Mon Feb 26, 2024 9:42 am
- Forum: Language
- Topic: Why does decode of a matrix work by column and not row
- Replies: 3
- Views: 17097
Re: Why does decode of a matrix work by column and not row
In fact decode works not on rank 2 but on the first dimension. The fact that reduction works on the last dimension is a mistake or oversight made in the earliest impementations and only corrected by Ken and Roger when they implemented J.
So the why is history.
So the why is history.
- Mon Jan 15, 2024 9:19 am
- Forum: APL Chat
- Topic: multiply a vector by a matrix line by line
- Replies: 4
- Views: 15015
Re: multiply a vector by a matrix line by line
The rank operator applies its left function operand to cells of its arguments defined by the ranks in its right vector operand. so in this case 1-cells (rows) in each argument are paired. As there is only one 1-cell in x it is repeated for each in y
- Mon Jan 15, 2024 9:12 am
- Forum: APL Chat
- Topic: multiply a vector by a matrix line by line
- Replies: 4
- Views: 15015
Re: multiply a vector by a matrix line by line
Your target result implies that you actually want the length of the vector and width of the matrix to conform which seems to be contradicted by the final sentence. However
corrected immediately PL
x ×⍤1⊢ ywill give the answer.
corrected immediately PL
- Fri Dec 22, 2023 12:56 pm
- Forum: Windows: GUI, COM/OLE/ActiveX
- Topic: Motion-JPEG from APL
- Replies: 7
- Views: 57148
Re: Motion-JPEG from APL
Well done and thank you Ray.
And a fine holiday season to you.
And a fine holiday season to you.
- Sun Jun 18, 2023 9:20 am
- Forum: Language
- Topic: Unable to save workspace
- Replies: 5
- Views: 25757
Re: Unable to save workspace
Somewhere in ⎕SE there has been created a namespace (or object or an array that contains such) that is a reference to # or a namespace within it. If you have a non-empty )si stack then )clearing it might well remove the problem because the reference will almost certainly be localised in one of the ⎕ ...
- Mon Apr 24, 2023 4:12 pm
- Forum: Language
- Topic: Array Notation Discussion
- Replies: 14
- Views: 78847
Re: Array Notation Discussion
My apologies to Adam if I misconstrued his
On rereading it I see that the parenthesis applies to the current limitation, not the enhancement.so you can edit more arrays than currently possible (just text arrays).