Class Parameters
Base parameters for a behavioral component.
Inheritance
System.Object
Parameters
Namespace: SpiceSharp.Components.BehavioralComponents
Assembly: SpiceSharpBehavioral.dll
Syntax
public class Parameters : ParameterSet
Constructors
Parameters()
Declaration
public Parameters()
Properties
BuilderFactory
Gets or sets the builder factory.
Declaration
public Parameters.BuilderFactoryMethod BuilderFactory { get; set; }
Property Value
Type | Description |
---|---|
Parameters.BuilderFactoryMethod | The builder factory. |
CurrentNodes
Gets the current nodes.
Declaration
public IEnumerable<string> CurrentNodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The current nodes. |
Expression
Gets or sets the expression.
Declaration
public string Expression { get; set; }
Property Value
Type | Description |
---|---|
System.String | The expression. |
Function
Gets the function.
Declaration
public Node Function { get; }
Property Value
Type | Description |
---|---|
Node | The function. |
ParseAction
Gets or sets the parse action.
Declaration
public Func<string, Node> ParseAction { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.String, Node> | The parse action. |
VariableNodes
Gets all variable nodes.
Declaration
public IEnumerable<VariableNode> VariableNodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VariableNode> | The variable nodes. |
VoltageNodes
Gets the voltage nodes.
Declaration
public IEnumerable<string> VoltageNodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The voltage nodes. |
Methods
DefaultBuilderFactory(Dictionary<VariableNode, IVariable<Double>>)
Gets the default builder for building expressions.
Declaration
public static IBuilder<Func<double>> DefaultBuilderFactory(Dictionary<VariableNode, IVariable<double>> variables)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<VariableNode, SpiceSharp.Simulations.IVariable<System.Double>> | variables |
Returns
Type | Description |
---|---|
IBuilder<System.Func<System.Double>> | The default builder. |
See Also
SpiceSharp.ParameterSets.ParameterSet