You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to add transpose as linop to allow non-explicit construction of transposition.
The current IC will return one Linop if do not construct the transposed matrix.
With transpose Linop, we can always return two linop in this situation.
Usage:
Transpose(LinOp* , explicit=false): constructor
construct(): construct the explicit transposition
apply(): if the transposition is not built,
always needs one transpose before apply
store the transposition and perform apply (need mutable to change it in const function)
If the operation has transpose apply, directly use it (no linop implement transpose_apply)
Putting IC into preconditioner needs to convert the composition to csr.
For converting on transpose LinOp, we may always do explicit transpose and perform the conversion
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The idea is to add transpose as linop to allow non-explicit construction of transposition.
The current IC will return one Linop if do not construct the transposed matrix.
With transpose Linop, we can always return two linop in this situation.
Usage:
Transpose(LinOp* , explicit=false): constructor
construct(): construct the explicit transposition
apply(): if the transposition is not built,
Putting IC into preconditioner needs to convert the composition to csr.
For converting on transpose LinOp, we may always do explicit transpose and perform the conversion
Beta Was this translation helpful? Give feedback.
All reactions