taichi
taichi copied to clipboard
Add Information Returned by ti.linalg.SparseCG
I want the ti.linalg.SparseCG function to print out how many iterations it uses to converge and whether it stops because the max iteration is reached.
It can take an extra boolean parameter verbose to enable and disable the print of the information.