Class Pwl.Instance
Implements
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
protected class Pwl.Instance : IWaveform
Constructors
Instance(IEnumerable<Point>, IIntegrationMethod)
Initializes a new instance of the Pwl.Instance class.
Declaration
public Instance(IEnumerable<Point> points, IIntegrationMethod method)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Point> | points | The points. |
| IIntegrationMethod | method | The integration method. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if no points are specified, or if the time values are not monotonically increasing. |
Properties
Value
Gets the value that is currently being probed.
Declaration
public double Value { get; }
Property Value
| Type | Description |
|---|---|
| double | The value at the probed timepoint. |
Methods
Accept()
Accepts the last probed timepoint.
Declaration
public void Accept()
Probe()
Probes a new timepoint.
Declaration
public void Probe()