Python Forum

Full Version: Creating symbolic matrix automated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I have to create a matrix
A = [ x5^5 X4^4 X3^3 X2^2 X1 1]
This is rather cryptic. I don't see a matrix but a sequence of characters. A matrix is a table of items. What items will your matrix contain? Are they numbers, character strings, Python objects? Please elaborate and give a complete description of the expected result.
It seems to be Vandermonde matrix, take a look at vander function from NumPy.