Question: Recursive assignment

I am getting the reecursive assignment error on the folowing code in the band[i]:= [band[]i[], ... section.

CreateMatrix is defined and I know that works and creates a global Matrix H

However, I do not understand how it is different to

carried on up to 2*N, which works perfectly.

The reason I am approaching it this way is because N is not known so is there any way to approach this that would work?

Thanks,

Paul.

Please Wait...