Class Sine.Instance
An instance of a Sine waveform.
Implements
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
protected class Sine.Instance : IWaveform
Constructors
Instance(IIntegrationMethod, double, double, double, double, double, double)
Initializes a new instance of the Sine.Instance class.
Declaration
public Instance(IIntegrationMethod method, double vo, double va, double frequency, double td, double theta, double phase)
Parameters
Type | Name | Description |
---|---|---|
IIntegrationMethod | method | The integration method. |
double | vo | The offset. |
double | va | The amplitude. |
double | frequency | The frequency. |
double | td | The delay. |
double | theta | The theta. |
double | phase | The phase. |
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()