I want to run a for loop with index i
so that I can define (inside each loop) an ndarray
with name A_i
. More concretely, I want it to look something like
for i in range(numer):
A_i = M
where M
is some ndarray
that was defined in a previous step. The way I'm looking for is probably something reminiscent of the .format()
method that works for strings.