Grasshopper2.Types.Functionsnamespace
Types
Grasshopper2.Types.Functions.IPolynomial
Interface for functions which self-identify as a type of polynomial.
Grasshopper2.Types.Functions.FitKind
Enumerates the function shapes which can be fitted through a set of samples.
Grasshopper2.Types.Functions.FitMetric
Enumerates the error metrics which fitting can seek to minimise.
Grasshopper2.Types.Functions.FitTrimming
Enumerates the mechanisms for discarding poorly fitted samples between fitting rounds.
Grasshopper2.Types.Functions.Function
Base level class for mathematical functions in the form y = f(x), representing a mapping from individual 64-bit double precision values onto individual 64-bit double precision values.
Do not inherit from this class if you wish to create a new function unless you need an absolutely minimal implementation to start with. Consider instead deriving from FunctionWithCaching.
Grasshopper2.Types.Functions.FunctionA
Implementation of FunctionWithCaching which exposes one scalar argument.
Grasshopper2.Types.Functions.FunctionAB
Implementation of FunctionWithCaching which exposes two scalar arguments.
Grasshopper2.Types.Functions.FunctionABC
Implementation of FunctionWithCaching which exposes three scalar arguments.
Grasshopper2.Types.Functions.FunctionABCD
Implementation of FunctionWithCaching which exposes four scalar arguments.
Grasshopper2.Types.Functions.FunctionABCDE
Implementation of FunctionWithCaching which exposes five scalar arguments.
Grasshopper2.Types.Functions.FunctionF<T1>
Abstract base function for unary operations. That is, a function which requires 1 other function as input.
Grasshopper2.Types.Functions.FunctionFG<T1, T2>
Abstract base function for binary operations. That is, functions which require two other functions as operands.
Grasshopper2.Types.Functions.FunctionFGH<T1, T2, T3>
Abstract base function for ternary operations. That is, function which require 3 other functions as inputs.
Grasshopper2.Types.Functions.FunctionFGHJ<T1, T2, T3, T4>
Abstract base function for quarternary operations. That is, function which require 4 other functions as inputs.
Grasshopper2.Types.Functions.FunctionFitter
Provides fitting of standard function shapes through arbitrary (x,y) samples.
Grasshopper2.Types.Functions.FunctionSampler
A utility class for creating a visual sampling of a function.
Grasshopper2.Types.Functions.FunctionWithCaching
Useful abstract class for creating your own functions. This class extends the Function abstract class by providing caching for derivative and indefinite integral functions. Note that it does *not* cache results for evaluations. If you want that level of caching, you must build it yourself.
Grasshopper2.Types.Functions.IdentityFunction
A function which acts as a stand-in for identity mapping.
Grasshopper2.Types.Functions.IndefiniteIntegral
A trapezoidal approximation of a function as a stand-in for an unknown indefinite integral. This approximation is only defined on positive values of x, if you wish to approximate a negative domain you must use an inverted evaluation function, and the absolute values of evaluation parameters.
Grasshopper2.Types.Functions.Pole
Represents a function pole, where the y-value goes off to infinity or becomes undefined in some other way.