Skip to content

Type Alias: Piecewise ​

ts
type Piecewise = {
  kind: "piecewise";
  segments: readonly Segment[];
};

Defined in: pwl.ts:37

A function of σ ≥ 0 that is a line on each of its segments. The segments are in order, the first starts at 0, each starts where the one before it ends, the last runs to ∞, and two neighbors are never one line (so there are at least two: one line is an Affine).

Properties ​

kind ​

ts
readonly kind: "piecewise";

Defined in: pwl.ts:38


segments ​

ts
readonly segments: readonly Segment[];

Defined in: pwl.ts:39