HP Forums
Vandermonde -- request for mxn - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Vandermonde -- request for mxn (/thread-2846.html)



Vandermonde -- request for mxn - Han - 01-12-2015 09:04 PM

The current implementation for vandermond(v) simply returns a square matrix based on a vector v. So if v has n entries, vandermond(v) is an n x n matrix. Is it possible to have vandermonde also accept an optional argument m so that vandermonde(v,m) returns an m x n matrix?


RE: Vandermonde -- request for mxn - Helge Gabert - 01-13-2015 01:21 AM

I second, +1!


RE: Vandermonde -- request for mxn - parisse - 01-13-2015 10:19 AM

I would return an n rows x m column matrix according to the current convention, not n x m