MC: Faster User-RPL HILBERT
|
08-05-2018, 02:05 PM
Post: #13
|
|||
|
|||
RE: MC: Faster User-RPL HILBERT
(07-09-2018 01:28 PM)Joe Horn Wrote: Disclaimer: This is a mini-challenge rather than simply an entry in the software library because nobody needs fast Hilbert matrices. Perhaps not every day , but the same method can be used to generate any Hankel or Cauchy matrix, of which the Hilbert matrix are sub-types. As an example, the following variation on Thomas's program returns the N x N Catalan Hankel matrix as described here. It pre-calculates a list of Catalan numbers using an efficient recurrence. The 50 x 50 matrix is returned in about 5.7 seconds (exact mode). Note that the resulting matrix is about 48K bytes in size. Code:
Of course, I am equally sure that nobody needs a 50 x 50 matrix of Catalan numbers either. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)