I wish to initialise a matrix A, using the equation A_i,j = f(i,j) for some f (It's not important what this is).
A
A_i,j = f(i,j)
f
How can I do so concisely avoiding a situation where I have two for loops?
Aucun commentaire:
Enregistrer un commentaire