I'm using TAO's LMVM method for optimize a dense matrix, but TAO
expects its input as a Vec. Do I have to copy the content back and
forth between a Mat and a Vec? Can I somehow cast the Mat into a Vec?

Both the Mat and the Vec are distributed evenly across the processes
so ideally there doesn't need to be any copying at all.

Thanks,
Liu Chang

Reply via email to