Trait TransposeLinearOperator
pub trait TransposeLinearOperator: LinearOperator {
// Required method
fn apply_transpose(
&self,
input: &[f64],
output: &mut [f64],
) -> Result<(), Diagnostic>;
}Description
Independent capability to apply the mathematical transpose.
Operators that cannot supply a transpose action do not implement this trait; adjoint availability is therefore explicit before a solve begins.
Required Methods§
fn apply_transpose(
&self,
input: &[f64],
output: &mut [f64],
) -> Result<(), Diagnostic>
fn apply_transpose( &self, input: &[f64], output: &mut [f64], ) -> Result<(), Diagnostic>
Compute output = self^T * input.
§Errors
Returns a numerical diagnostic for shape or non-finite failures.