GlobalConstraint

Specify a global shape constraint for a constrained spline fit.


Declaration

classdef GlobalConstraint

Overview

Use GlobalConstraint to describe semantic whole-domain constraints such as positivity or monotonicity. These objects are intended to be compiled into linear coefficient inequalities by constrained fitting classes.

Basic usage

c1 = GlobalConstraint.positive();
c2 = GlobalConstraint.monotonicIncreasing(dimension=2);

Topics

  • Specify global constraints
  • Inspect global constraint properties
    • dimension Tensor dimension associated with the constraint, when applicable.
    • shape constraint kind.