Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:tutorials:nio_crystal_field:fy_l23m1 [2018/03/21 10:16] Stefano Agrestinidocumentation:tutorials:nio_crystal_field:fy_l23m1 [2018/03/21 10:17] (current) Stefano Agrestini
Line 173: Line 173:
   for j = 1,#oppList do   for j = 1,#oppList do
     expectationvalue = Chop(psiList[i]*oppList[j]*psiList[i])     expectationvalue = Chop(psiList[i]*oppList[j]*psiList[i])
-    io.write(string.format("%8.3f ",Complex.Re(expectationvalue)))+    io.write(string.format("%6.3f ",Complex.Re(expectationvalue)))
   end   end
   io.write("\n")   io.write("\n")
Print/export