[VA] My 2024's very first little teaser
|
01-17-2024, 02:14 AM
(This post was last modified: 01-17-2024 05:30 AM by Valentin Albillo.)
Post: #1
|
|||
|
|||
[VA] My 2024's very first little teaser
Hi, all, You may still remember my last teaser of 2023, the one which started the recent flurry of matrix-permanent-related posts. Now, it's only proper that my very first little teaser of 2024 should continue the trend, so let's get cracking ...
and the teaser is that you should write an HP-71B program to compute the permanent of a given real 3x3 matrix like the one depicted above, subject to these three requirements: If I see interest I'll post in a few days two different solutions: a 4-liner (158 bytes) and a 3-liner (135 bytes). Speed's mostly irrelevant but the shorter the code, the better. See what you can do ... Sample run: | 1 7 2 | M = | -3 4 -1 | , Per(M) = -36 | 2 3 1 | >RUN ? 1,7,2,-3,4,-1,2,3,1 [END LINE] → -36 That's all. Your code/comments will be very welcome but please don't use CODE panels at all. Best regards. V. All My Articles & other Materials here: Valentin Albillo's HP Collection |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)