Python Forum
Creating symbolic matrix automated - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Creating symbolic matrix automated (/thread-30094.html)



Creating symbolic matrix automated - NMMST - Oct-04-2020

Hi,
I have to create a matrix
A = [ x5^5 X4^4 X3^3 X2^2 X1 1]


RE: Creating symbolic matrix automated - Gribouillis - Oct-04-2020

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.


RE: Creating symbolic matrix automated - scidam - Oct-05-2020

It seems to be Vandermonde matrix, take a look at vander function from NumPy.