Re: Making matrix solver/ solver for X

2018-04-14 Thread Gregory Ewing
steffie.bo...@gmail.com wrote: Q = np.array(['Q1', 'Q2', 'Q3', 'Q4']) P = (X*Q)-X I'm assuming that 'Q1', etc. are placeholders for numbers here? Otherwise, you're doing arithmetic with strings, which doesn't make sense. So solve condition: P[0]+P[1] ,P[0]+P[2] ,P[0]+P[3] ,P[1]+P[2] ,P[1]+P[

Making matrix solver/ solver for X

2018-04-12 Thread steffie . booij
Hee guys, I'm learning Python partly for school and wanted to see if I could figure some things out myself. I wanted to make like a value finder, sort of like numpy.solve (sounds more ambitious than it is) but I'm sort of stuck, since I'm a beginner. Let's say I want to find the values of matr