Table of Contents

Class ComplexFieldArrayBase<T>

Namespace
VirtualLabAPI.Core.Numerics
Assembly
VirtualLabAPI.dll

Generic base class for both ComplexFieldArray and ComplexField1DArray.

[Serializable]
public abstract class ComplexFieldArrayBase<T> : SerializableObjectBase, IEquatable<IObjectBase>, ICloneable where T : ComplexField

Type Parameters

T

Either ComplexField or ComplexFieldDerivative1D.

Inheritance
ObjectBase
SerializableObjectBase
ComplexFieldArrayBase<T>
Implements
IEquatable<IObjectBase>
Derived
Inherited Members

Constructors

ComplexFieldArrayBase()

Initializes a new instance of the ComplexFieldArrayBase<T> class.

protected ComplexFieldArrayBase()

Properties

ArrayOfComplexFields

Gets the array of complex fields.

protected abstract T[] ArrayOfComplexFields { get; }

Property Value

T[]

IsComplex

Gets and sets whether all fields are complex-valued (true) or real-valued (false).

public bool IsComplex { get; set; }

Property Value

bool

Methods

Equals(object, EqualityIntent)

Determines whether the specified object is equal to this instance.

public override bool Equals(object otherObject, EqualityIntent equalityIntent)

Parameters

otherObject object

The object to compare with this instance.

equalityIntent EqualityIntent

Defines what kind of equality you want to check when comparing two objects, for example all values or physical equality.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.