• General
  • API Documentation

    Show / Hide Table of Contents
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface
      • Bode100
      • BodeAutomation
      • BodeAutomationImplementation
      • Calibration
      • CalibrationValues
      • CorrectionValues
      • DeviceAddedDelegate
      • DeviceConfigurationImplementation
      • DeviceRemovedDelegate
      • FullRangeIsActiveChanged_Delegate
      • FullRangeIsAvailableChanged_Delegate
      • InternalCalibrationCallbackDelegate
      • InternalCalibrationImplementation
      • MeasurementImplementation
      • NewResultAvailableDelegate
      • Results
      • UserRangeIsActiveChanged_Delegate
      • UserRangeIsAvailableChanged_Delegate
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.DataTypes
      • Complex
      • IComplex
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Enumerations
      • AngleUnit
      • Attenuator
      • CalibrationMultiModeToggle
      • Connection
      • ExecutionState
      • LevelUnit
      • LogLevel
      • MagnitudeUnit
      • ReceiverBandwidth
      • SourceMode
      • SweepMode
      • Termination
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Helper
      • AutomationInterfaceHelpers
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces
      • Attenuation
      • BodeAutomationInterface
      • BodeDevice
      • DeviceConfiguration
      • DeviceProperties
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Calibration
      • FullLoadCalibrationValues
      • FullOpenCalibrationValues
      • FullShortCalibrationValues
      • FullThruCalibrationValues
      • GainCalibration
      • GainFullCalibrationValues
      • GainFullRange
      • GainUserCalibrationValues
      • GainUserRange
      • ImpedanceCalibration
      • ImpedanceFullCalibrationValues
      • ImpedanceFullRange
      • ImpedanceUserCalibrationValues
      • ImpedanceUserRange
      • InternalCalibration
      • MultiModeCalibration
      • MultiModeFullCalibrationValues
      • MultiModeFullRange
      • MultiModeUserCalibrationValues
      • MultiModeUserRange
      • UserLoadCalibrationValues
      • UserOpenCalibrationValues
      • UserShortCalibrationValues
      • UserThruCalibrationValues
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Events
      • IBode100Events
      • IMeasurementEvent
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Measurements
      • AdapterMeasurement
      • ExternalBridgeMeasurement
      • GainMeasurement
      • Impedance
      • OnePortMeasurement
      • Reflection
      • S11ExternalCouplerMeasurement
      • S11OnePortMeasurement
      • S21Measurement
      • SeriesThruMeasurement
      • ShuntThruMeasurement
      • Transmission
      • VoltageCurrentGainMeasurement
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.PortExtension
      • CableLosses
      • PortExtension
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Results
      • AdmittanceResult
      • GainResults
      • ImpedanceResult
      • ReflectionResult
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Results.SpecialResults
      • OverloadResult
      • Vrms
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Shaping
      • AttenuatorShaping
      • BandwidthShaping
      • Shaping
      • SourceShaping
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.PortExtension
      • CableLossImpl
      • PortExtensionImpl
    • OmicronLab.VectorNetworkAnalysis.AutomationInterface.Shaping
      • AttenuatorShapingImpl
      • BandwidthShapingImpl
      • ShapingImpl
      • SourceShapingImpl

    Class Complex

    This class is used to expose the System.Numerics.Complex class to COM. Is direct castable to into/from a System.Numerics.Complex type.

    Inheritance
    System.Object
    Complex
    Implements
    IComplex
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.DataTypes
    Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.22.1690.0)
    Syntax
    [Guid("F978B015-E1CA-4549-BE0A-8BFACE7DB680")]
    [ClassInterface(ClassInterfaceType.None)]
    [ComVisible(true)]
    public class Complex : IComplex

    Constructors

    Complex(Double, Double)

    Initializes a new instance of the Complex class.

    Declaration
    public Complex(double real, double imaginary)
    Parameters
    Type Name Description
    System.Double real

    The real value.

    System.Double imaginary

    The imaginary value.

    Properties

    Imaginary

    Gets the imaginary part of the complex value.

    Declaration
    public double Imaginary { get; }
    Property Value
    Type Description
    System.Double

    The imaginary part.

    Magnitude

    Gets the linear magnitude value.

    Declaration
    public double Magnitude { get; }
    Property Value
    Type Description
    System.Double

    The Linear magnitude.

    MagnitudeDB

    Gets the magnitude value in dB.

    Declaration
    public double MagnitudeDB { get; }
    Property Value
    Type Description
    System.Double

    The magnitude in dB.

    Phase

    Gets the phase value.

    Declaration
    public double Phase { get; }
    Property Value
    Type Description
    System.Double

    The phase.

    Real

    Gets the real part of the complex value.

    Declaration
    public double Real { get; }
    Property Value
    Type Description
    System.Double

    The real part.

    Operators

    Implicit(Complex to Complex)

    Performs an implicit conversion from Complex to .

    Declaration
    public static implicit operator Complex(Complex complex)
    Parameters
    Type Name Description
    Complex complex

    The complex.

    Returns
    Type Description
    System.Numerics.Complex

    The result of the conversion.

    Implicit(Complex to Complex)

    Performs an implicit conversion to from Complex.

    Declaration
    public static implicit operator Complex(Complex complex)
    Parameters
    Type Name Description
    System.Numerics.Complex complex

    The System.Numerics.Complex.

    Returns
    Type Description
    Complex

    The result of the conversion.

    Implements

    IComplex
    Back to top Generated by DocFX