Click or drag to resize

LinearConstraintsCompiler Class

Compiles C# constraint expression strings into matrices for LinearConstraintsProjector, using Roslyn syntax-tree walking only (no compilation or code execution). Supported syntax: Operators : + - * / unary- Grouping : parentheses, arbitrarily nested Literals : integer and floating-point numeric literals Identifiers: parameter names, named constants Relations : == >= <= > (treated as >=) < (treated as <=) != is rejected Linearity requirement: after constant folding, each side of the relation must reduce to a linear combination of parameters plus a constant. Multiplication of two parameter-containing sub-expressions is rejected as nonlinear.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Regression.NonlinearLinearConstraintsCompiler

Namespace: Altaxo.Calc.Regression.Nonlinear
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public class LinearConstraintsCompiler

The LinearConstraintsCompiler type exposes the following members.

Constructors
 NameDescription
Public methodLinearConstraintsCompiler(IEnumerableString, IDictionaryString, Double) Initializes a new instance of the LinearConstraintsCompiler class.
Public methodLinearConstraintsCompiler(ParameterSet, IDictionaryString, Double) Initializes a new instance of the LinearConstraintsCompiler class using the specified parameter set and optional constants.
Public methodLinearConstraintsCompiler(IFitFunction, IDictionaryString, Double, Boolean) Initializes a new instance of the LinearConstraintsCompiler class from a fit function.
Top
Methods
 NameDescription
Public methodCompile Compiles a collection of constraint expression strings.
Public methodCompileOne Compiles a single expression string.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also