+ 1

How to construct Vandermonde matrix in python 3 without using built in functions. Need code

Need the code

23rd Dec 2020, 12:43 PM
DHANUSHREE D
DHANUSHREE D - avatar
2 Antworten
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?
24th Dec 2020, 3:55 PM
Михаил Иванов
Михаил Иванов - avatar
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
24th Dec 2020, 4:51 PM
Михаил Иванов
Михаил Иванов - avatar