Show / Hide Table of Contents

Class Pwl.Instance

An instance of the IWaveform interface for a Pwl.

Inheritance
object
Pwl.Instance
Implements
IWaveform
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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()

Implements

IWaveform

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

IWaveform
In this article
Back to top Generated by DocFX