Interface ICircuitEvaluator
Assembly: SpiceSharpParser.dll
Syntax
public interface ICircuitEvaluator
Properties
|
Improve this Doc
View Source
Seed
Declaration
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Methods
|
Improve this Doc
View Source
AddFunction(String, IFunction<Double, Double>)
Declaration
void AddFunction(string name, IFunction<double, double> function)
Parameters
Type |
Name |
Description |
System.String |
name |
|
IFunction<System.Double, System.Double> |
function |
|
|
Improve this Doc
View Source
AddFunction(String, List<String>, String)
Declaration
void AddFunction(string functionName, List<string> arguments, string body)
Parameters
Type |
Name |
Description |
System.String |
functionName |
|
System.Collections.Generic.List<System.String> |
arguments |
|
System.String |
body |
|
|
Improve this Doc
View Source
CreateChildContext(String, Boolean)
Declaration
EvaluationContext CreateChildContext(string name, bool addToChildren)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
addToChildren |
|
Returns
|
Improve this Doc
View Source
EvaluateDouble(Parameter)
Parses an expression to double.
Declaration
double EvaluateDouble(Parameter parameter)
Parameters
Type |
Name |
Description |
Parameter |
parameter |
Parameter.
|
Returns
Type |
Description |
System.Double |
A value of expression.
|
|
Improve this Doc
View Source
EvaluateDouble(String)
Parses an expression to double.
Declaration
double EvaluateDouble(string expression)
Parameters
Type |
Name |
Description |
System.String |
expression |
Expression.
|
Returns
Type |
Description |
System.Double |
A value of expression.
|
|
Improve this Doc
View Source
EvaluateDouble(String, Simulation)
Parses an expression to double.
Declaration
double EvaluateDouble(string expression, Simulation simulation)
Parameters
Type |
Name |
Description |
System.String |
expression |
Expression.
|
SpiceSharp.Simulations.Simulation |
simulation |
Simulation.
|
Returns
Type |
Description |
System.Double |
A value of expression.
|
|
Improve this Doc
View Source
GetEvaluationContext(Simulation)
Declaration
EvaluationContext GetEvaluationContext(Simulation simulation = null)
Parameters
Type |
Name |
Description |
SpiceSharp.Simulations.Simulation |
simulation |
|
Returns
|
Improve this Doc
View Source
GetExpression(String)
Declaration
Expression GetExpression(string expressionName)
Parameters
Type |
Name |
Description |
System.String |
expressionName |
|
Returns
|
Improve this Doc
View Source
GetExpressionNames()
Declaration
IEnumerable<string> GetExpressionNames()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetSeed(Simulation)
Declaration
int? GetSeed(Simulation sim)
Parameters
Type |
Name |
Description |
SpiceSharp.Simulations.Simulation |
sim |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
HaveParameter(Simulation, String)
Declaration
bool HaveParameter(Simulation simulation, string parameterName)
Parameters
Type |
Name |
Description |
SpiceSharp.Simulations.Simulation |
simulation |
|
System.String |
parameterName |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetNamedExpression(String, String)
Declaration
void SetNamedExpression(string expressionName, string expression)
Parameters
Type |
Name |
Description |
System.String |
expressionName |
|
System.String |
expression |
|
|
Improve this Doc
View Source
SetParameter(Simulation, String, Double)
Declaration
void SetParameter(Simulation simulation, string parameterName, double value)
Parameters
Type |
Name |
Description |
SpiceSharp.Simulations.Simulation |
simulation |
Simulation.
|
System.String |
parameterName |
Parameter name.
|
System.Double |
value |
Parameter value.
|
|
Improve this Doc
View Source
SetParameter(String, Parameter)
Declaration
void SetParameter(string parameterName, Parameter parameter)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
Parameter name.
|
Parameter |
parameter |
Parameter value.
|
|
Improve this Doc
View Source
SetParameter(String, Double)
Declaration
void SetParameter(string parameterName, double value)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
Parameter name.
|
System.Double |
value |
Parameter value.
|
|
Improve this Doc
View Source
SetParameter(String, String)
Declaration
void SetParameter(string parameterName, string expression)
Parameters
Type |
Name |
Description |
System.String |
parameterName |
Parameter name.
|
System.String |
expression |
Expression.
|