Click or drag to resize

IFitFunctionScriptText Interface

[Missing <summary> documentation for "T:Altaxo.Scripting.IFitFunctionScriptText"]


Namespace: Altaxo.Scripting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IFitFunctionScriptText : IScriptText, 
	IPureScriptText, ICloneable, IFitFunction

The IFitFunctionScriptText type exposes the following members.

Properties
 NameDescription
Public propertyCodeEnd Gets the line after the user code ends
(Inherited from IScriptText)
Public propertyCodeHeader Gets the code header, i.e. the leading script text. This includes the using statements
(Inherited from IScriptText)
Public propertyCodeStart Gets the line before the user code starts
(Inherited from IScriptText)
Public propertyCodeTail Get the ending text of the script, dependent on the ScriptStyle.
(Inherited from IScriptText)
Public propertyCodeUserDefault Gets the default code (i.e. an code example)
(Inherited from IScriptText)
Public propertyCreationTime Date/Time of creating this fit function.
Public propertyDependentVariablesNames 
Public propertyErrors Returns the compiler errors as array of strings.
(Inherited from IScriptText)
Public propertyFitFunctionCategory Category of the fit function. If the fit function category contains PathSeparatorChars, than the parts of the string that are separated by these chars are treated as separate sub-categories.
Public propertyFitFunctionDescription Descriptional text for that fit function.
Public propertyFitFunctionName Name of the fit function.
Public propertyIndependentVariablesNames 
Public propertyIsReadOnly Returns true when the script text can not be modified. Use CloneForModification to obtain a writable copy.
(Inherited from IScriptText)
Public propertyIsUsingUserDefinedParameterNames Returns true if the script uses user defined parameter names instead of using P[0], P[1] ...
Public propertyNumberOfDependentVariables Number of dependent variables (i.e. y, in Altaxo this is commonly called v (like value)).
(Inherited from IFitFunction)
Public propertyNumberOfIndependentVariables Number of independent variables (i.e. x).
(Inherited from IFitFunction)
Public propertyNumberOfParameters 
Public propertyScriptName
(Inherited from IScriptText)
Public propertyScriptObject
(Inherited from IScriptText)
Public propertyScriptObjectType Gives the type of the script object (full name), which is created after successfull compilation.
(Inherited from IScriptText)
Public propertyScriptText Get / sets the script text
(Inherited from IPureScriptText)
Public propertyUserAreaScriptOffset Gets the index in the script (considered as string), where the user area starts. This is momentarily behind the comment line " ----- add your script below this line ------"
(Inherited from IScriptText)
Public propertyUserDefinedParameterNames Get / sets the user defined parameter names. If setting, this also sets the property IsUsingUserDefinedParameterNames to true, and the NumberOfParameters to the given number of user defined parameters.
Top
Methods
 NameDescription
Public methodClearErrors Clears the errors.
(Inherited from IScriptText)
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodCloneForModification This clones the script so that the text can be modified.
(Inherited from IScriptText)
Public methodCompile Does the compilation of the script into an assembly. If it was not compiled before or is dirty, it is compiled first. From the compiled assembly, a new instance of the newly created script class is created and stored in m_ScriptObject.
(Inherited from IScriptText)
Public methodCopyFrom(IFitFunctionScriptText, Boolean) 
Public methodCopyFrom(IScriptText, Boolean) Copies the content of a script to here.
(Inherited from IScriptText)
Public methodDefaultParameterValue Returns a default parameter value. You must ensure that the fit function would generate values with those default parameters.
(Inherited from IFitFunction)
Public methodDefaultVarianceScaling Returns the default variance scaling for the dependent variable i.
(Inherited from IFitFunction)
Public methodDependentVariableName Returns the ith dependent variable name.
(Inherited from IFitFunction)
Public methodEvaluate(Double, Double, Double) This evaluates a function value.
(Inherited from IFitFunction)
Public methodEvaluate(IROMatrixDouble, IReadOnlyListDouble, IVectorDouble, IReadOnlyListBoolean) Evaluates the function values at multiple x-points.
(Inherited from IFitFunction)
Public methodGetParameterBoundariesHardLimit Gets the parameter boundaries that are really a hard limit, i.e. outside those limits, the function would probably evaluate NaN values, or makes no sense.
(Inherited from IFitFunction)
Public methodGetParameterBoundariesSoftLimit Gets the intended parameter boundaries. This are soft limits, boundaries so that the intended purpose of the fit function is fullfilled. Example: in the exponential decay Exp(-a*t) a is intended to be positive. This is a soft limit, and not a hard limit, because a could be also negative, and the fit nevertheless would succeed.
(Inherited from IFitFunction)
Public methodIndependentVariableName Returns the ith independent variable name.
(Inherited from IFitFunction)
Public methodParameterName Returns the ith parameter name.
(Inherited from IFitFunction)
Public methodSetCompilerResult
(Inherited from IScriptText)
Top
Events
 NameDescription
Public eventChanged Occurs when the fit function changed, including number or name of parameters, independent variables, dependent variables, or the scaling.
(Inherited from IFitFunction)
Top
See Also