Keysight 89600 VSA .NET API
Equals(CustomModulationState,Double) Method
See Also 
Agilent.SA.Vsa.CustomOfdm.Interfaces Assembly > Agilent.SA.Vsa.CustomOfdm Namespace > CustomModulationState Structure > Equals Method : Equals(CustomModulationState,Double) Method


other
The other modulation state to compare.
tolerance
The maximum allowed absolute difference for the real and imaginary values.

Glossary Item Box

Determines whether this instance is approximately equal to another modulation state within a specified tolerance.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Equals( _
   ByVal other As CustomModulationState, _
   ByVal tolerance As Double _
) As Boolean
C# 
public bool Equals( 
   CustomModulationState other,
   double tolerance
)
C++/CLI 
public:
bool Equals( 
   CustomModulationState other,
   double tolerance
) 

Parameters

other
The other modulation state to compare.
tolerance
The maximum allowed absolute difference for the real and imaginary values.

Return Value

true if the symbol values match and the real/imaginary differences are within the specified tolerance; otherwise, false.

Remarks

This method is intended for numerical or RF-processing scenarios where small floating-point differences are expected. It should not be used in conjunction with hash-based collections.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also