Class FunctionBuilder
A function builder.
Inheritance
System.Object
FunctionBuilder
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SpiceSharpBehavioral.Builders
Assembly: SpiceSharpBehavioral.dll
Syntax
public class FunctionBuilder : IBuilder<Func<double>>
Constructors
FunctionBuilder()
Declaration
public FunctionBuilder()
Properties
AbsoluteTolerance
Gets or sets the absolute tolerance.
Declaration
public double AbsoluteTolerance { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The absolute tolerance. |
FudgeFactor
Gets or sets the fudge factor.
Declaration
public double FudgeFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The fudge factor. |
FunctionDefinitions
Gets or sets the function definitions.
Declaration
public Dictionary<string, ApplyFunction> FunctionDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, ApplyFunction> | The function definitions. |
RelativeTolerance
Gets or sets the relative tolerance.
Declaration
public double RelativeTolerance { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The relative tolerance. |
Variables
Gets or sets the variables.
Declaration
public Dictionary<VariableNode, IVariable<double>> Variables { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<VariableNode, SpiceSharp.Simulations.IVariable<System.Double>> | The variables. |
Methods
Build(Node)
Builds the specified value from the specified expression node.
Declaration
public Func<double> Build(Node expression)
Parameters
Type | Name | Description |
---|---|---|
Node | expression | The expression node. |
Returns
Type | Description |
---|---|
System.Func<System.Double> | The value. |
Implements
See Also
IBuilder<T>