in reply to Re: How to make matrix/piddle/array with PDL or perl.
in thread How to make matrix/piddle/array with PDL or perl.

Thank you.

Perhaps I should post this as a new question, but I was going to write a spline interpolation code so I could modify it for other forms of interpolation. Hence the reason I wanted to make the band matrix so I could invert it. How might I do that without the matrix itself?
  • Comment on Re^2: How to make matrix/piddle/array with PDL or perl.

Replies are listed 'Best First'.
Re^3: How to make matrix/piddle/array with PDL or perl.
by BrowserUk (Patriarch) on Sep 27, 2010 at 16:08 UTC

    Sorry. Programmer here, not a mathematician.

    You're going to have to couch that question in English for me to be able to understand it :)

    I'd suggest that you supply a (say) 5x6 3-band matrix as input; and the required output of the inversion.

    (Don't forget the <code></code> tags.)

    I suspect, that once you have a subroutine that maps the sparse matrix coordinates to the compact rectangular matrix coords, that applying the inversion algorithm in terms of the pre-map coordinates will effect the require transformation upon the compact representation. But I'd need to see it spelt out in english to be sure.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.