⚠️ Warning: This is a draft ⚠️
This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.
If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.
== What is the task? ==
What is the task? Right now, it's just a description and some examples. –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 12:44, 28 August 2013 (UTC)
== J Implementation? (and more "what is the task here?") ==
I'm trying to understand what all is going on in the J implementation.
First off, the obvious: this is a lot of different implementations of interpolation (for the 1d cases), bilinear interpolation (for the 2d cases) and what I suppose would be trilinear interpolation (for the 3d cases). It really warrants some good examples to illustrate what all is going on.
But some parts of it mystify me. For example, there is the commented out implementation of
combinations which seems to be another alternative for the [[Combinations#J|Combinations]] task. But the only use of that routine is to compute
2 comb 3 [ require'stats' and even that is commented out. Why is that there?
Also, there's the structures
CORNERS is also a prefix of
N2. But the prefix of
(|."1)_1+2*#:i.8 and that
(|."1) part seems arbitrary, so I'm wondering how much of the rest of these constants is arbitrary. The use of A. already hints at something a bit arbitrary, and I guess I'd like to understand that better. For example, why isn't
N2 something like
(:|)_1+3 3#:i.9? Is that because of something to do with parity? Anyways, I think this deserves some explanation.
And, finally, the page suggests this be used for image processing, which in turn suggests something like the approach used in the [[Image_convolution#J|Image convolution]] task. (And, also, that only the 2 dimensional cases are relevant as anything other than exposition.) But that mostly just reminds me that [[User:Dkf|Donal Fellows]]'s question (above) remains unanswered. And, I guess I don't really understand what this task is about yet.
Anyways, there's what looks like some fun stuff here, but I'm thinking it might belong on the J wiki, rather than here on Rosetta code?
Then again, I'm not at all clear what the Rosetta Code task here should be... --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 23:14, 26 July 2015 (UTC)
:I unilaterally decided on a task, but I'm open to discussion. Most people use bilinear interpolation for image enlargement. --[[User:TimSC|TimSC]] ([[User talk:TimSC|talk]]) 07:54, 16 December 2016 (UTC)