Hello fellow programmers!
I recently started to learn python (previousely matlab) and I was hopeing some of you might be able help me with a specific problem.
I am trying to create a list in which each element contains a matrix.
I then want to access each entry seperately.
Easier with example I think.
All values are integer.
So I want a list shape = (n,).
-> Each element of that list I want to be a matrix (shape = (n,n)).
-> Now I want to access the first element of that list (so list(0,0) = first matrix).
-> Additionally I want to access each value of the selected matrix seperately.
So bsically my 0,0 listelement and my 0,0 matrixelement --- this should be an integer value
Does python approve or not?
I recently started to learn python (previousely matlab) and I was hopeing some of you might be able help me with a specific problem.
I am trying to create a list in which each element contains a matrix.
I then want to access each entry seperately.
Easier with example I think.
All values are integer.
So I want a list shape = (n,).
-> Each element of that list I want to be a matrix (shape = (n,n)).
-> Now I want to access the first element of that list (so list(0,0) = first matrix).
-> Additionally I want to access each value of the selected matrix seperately.
So bsically my 0,0 listelement and my 0,0 matrixelement --- this should be an integer value
Does python approve or not?