+ 1
How to construct Vandermonde matrix in python 3 without using built in functions. Need code
Need the code
2 odpowiedzi
0
I'm not sure whether or not I understand you correctly. Do you need the matrix itself or determinant of square Vandermonde matrix? And what is the program input?
0
First function create matrix itselff, the second one calculate determinamt. If you need non- square matrix, add number of columns like parameter in first function and replace range(len(lst)) by range(n).
https://code.sololearn.com/c0pV23XA5j3G/?ref=app