.. _auto_curve_subtract_from: *COMPUTE DIFFERENCE BETWEEN TWO CURVES* ======================================= Computes the element-wise difference between two curves as Curve2 − Curve1 (i.e., "subtract Curve1 from Curve2"). Use this worker when you need the reverse subtraction order compared to a standard subtract operation. When to use ----------- Classification: **process**. Tagged: ``curve``, ``difference``, ``math``, ``subtract``, ``subtract_from``, ``transform``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve 2 - curve1 - vector - — - - The curve to subtract (the subtrahend); a time–value or X–Y vector that will be taken away from Curve 2. Must share the same abscissa domain as Curve 2. * - Curve 2 - curve2 - vector - — - - The curve to subtract from (the minuend); a time–value or X–Y vector from which Curve 1 is subtracted, yielding Curve2 − Curve1. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_subtract_from_output - curve_subtract_from_output - vector - Resulting difference curve (Curve2 − Curve1) as an X–Y vector defined over the common abscissa domain of the two 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=curve_subtract_from `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curve_subtract_from. Schema hash: 2be09efb5d41. Hand-curated docs in workerexamples/ override this page when present.