Class PolyFunction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpiceSharpParser.ModelReaders.Netlist.Spice.Evaluation.Functions.Math
Assembly: SpiceSharpParser.dll
Syntax
public class PolyFunction : Function<double, double>, IFunction<double, double>, IFunction
Constructors
| Improve this Doc View SourcePolyFunction()
Declaration
public PolyFunction()
Methods
| Improve this Doc View SourceGetExpression(Int32, List<Double>, List<String>)
Declaration
public static string GetExpression(int dimension, List<double> coefficients, List<string> variables)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | dimension | |
System.Collections.Generic.List<System.Double> | coefficients | |
System.Collections.Generic.List<System.String> | variables |
Returns
Type | Description |
---|---|
System.String |
Logic(String, Double[], EvaluationContext)
Declaration
public override double Logic(string image, double[] args, EvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
System.String | image | |
System.Double[] | args | |
EvaluationContext | context |
Returns
Type | Description |
---|---|
System.Double |
Overrides
SpiceSharpParser.Common.Evaluation.Function<System.Double, System.Double>.Logic(System.String, System.Double[], SpiceSharpParser.Common.Evaluation.EvaluationContext)