Skip to main content

calculate_structural_pattern_vjp_with_context

Function calculate_structural_pattern_vjp_with_context 

Source
pub fn calculate_structural_pattern_vjp_with_context(
    cell: UnitCell,
    space_group: &SpaceGroup,
    input: &StructuralPatternInputView<'_>,
    sample_weights: &[f64],
    execution: &ExecutionContext,
) -> Result<StructuralPatternVjpResult, StructuralPatternError>
Expand description

Calculate a structural transpose product with a bounded context.

ยงErrors

Returns StructuralPatternError for invalid inputs or sample weights.