MULTIPLY TWO CURVES

Multiplies two curve groups element-wise, interpolating onto a common x-axis before computing the product. Use this worker whenever you need the point-by-point product of two time-history or XY curves, with control over interpolation domain and extrapolation behaviour.

When to use

Classification: process.

Tagged: curve_math, curve_product, element_wise, extrapolation, interpolation, multiply.

Inputs

Label ID Type Default Required Description
Curve Group 1 curve_group1 vector   First curve group (one or more XY curves) to be multiplied; accepts any vector/curve collection — this is the left-hand operand.
Curve Group 2 curve_group2 vector   Second curve group (one or more XY curves) to be multiplied; must be pair-matched with Curve Group 1 — this is the right-hand operand.
Points points scalar unique   X-axis sampling strategy for the result: ‘unique’ merges all x-points from both curves (default), ‘first_curve’ reuses only the x-points of the first curve.
Extrapolation Type extrapolate scalar no   Controls behaviour outside the overlapping x-range: ‘no’ assigns 0.0 beyond the bounds (default), ‘yes’ linearly extrapolates, ‘constant’ holds the last in-range value.
Start X start_x text   Optional lower bound on the x-axis domain to which the multiplication is applied; leave blank to use the full range (defaults to −1×10²⁰).
End X end_x text   Optional upper bound on the x-axis domain to which the multiplication is applied; leave blank to use the full range (defaults to +1×10²⁰).

Outputs

Label ID Type Description
curves_multiply_output_1 curves_multiply_output_1 vector Resulting curve group containing the element-wise product of the two input curve groups, sampled on the resolved x-axis grid within the specified domain.

Disciplines

  • data.curve.pair
  • data.curve.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_multiply


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