.. _auto_curves_subtract_pairs: *SUBTRACT PAIRS OF CURVES* ========================== Subtracts paired curves element-wise between two curve groups, producing a new curve group where each output curve is the difference (Group 1 minus Group 2) of the corresponding pair. Use this worker when you need to compute the residual or delta between two matched sets of time-history or XY curves. When to use ----------- Classification: **process**. Tagged: ``batch``, ``curve_pair``, ``delta``, ``difference``, ``residual``, ``subtract``, ``time_history``, ``xy_curve``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve 1 - curve_group1 - vector - — - - First curve group (minuend); accepts one or more XY/time-history curves — each curve in this group will have the corresponding curve from Group 2 subtracted from it. * - Curve 2 - curve_group2 - vector - — - - Second curve group (subtrahend); must contain the same number of curves as Group 1 — each curve is subtracted element-wise from the paired curve in Group 1. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curves_subtract_pairs_output_1 - curves_subtract_pairs_output_1 - vector - Resulting curve group after element-wise subtraction (Group 1 − Group 2); one output curve per input pair, sharing the same X-axis domain as the inputs. Disciplines ----------- - data.curve.pair Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curves_subtract_pairs `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curves_subtract_pairs. Schema hash: 4af041e219ae. Hand-curated docs in workerexamples/ override this page when present.