Class ExtrapolationInfo
- Namespace
- VirtualLabAPI.Core.Numerics
- Assembly
- VirtualLabAPI.dll
Class which holds information about extrapolation of 1D and 2D data with a finite domain of definition. The extrapolation information tells how to operate outside of the definition domain.
[Serializable]
public class ExtrapolationInfo : ManualSerialization, IEquatable<IObjectBase>, ISerializable, IDeserializationCallback, ICloneable
- Inheritance
-
ObjectBaseSerializableObjectBaseManualSerializationExtrapolationInfo
- Implements
-
IEquatable<IObjectBase>
- Inherited Members
Constructors
ExtrapolationInfo()
Default constructor. Type will be 'constant value', constant value will be 0.
public ExtrapolationInfo()
ExtrapolationInfo(ExtrapolationInfo)
Copy constructor.
public ExtrapolationInfo(ExtrapolationInfo info)
Parameters
infoExtrapolationInfoThe information to copy.
ExtrapolationInfo(ExtrapolationType, Complex)
Constructor with parameters.
public ExtrapolationInfo(ExtrapolationType type, Complex value)
Parameters
typeExtrapolationTypeType of extrapolation to use.
valueComplexConstant value to be used if the type is Constant.
Properties
ConstantValue
public Complex ConstantValue { get; set; }
Property Value
IsConstantZeroOutSide
Get property that tells whether or not this object represents a constant zero extrapolation.
public bool IsConstantZeroOutSide { get; }
Property Value
Type
Type of extrapolation to use.
public ExtrapolationType Type { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override object Clone()
Returns
- object
A new object that is a copy of this instance.
Equals(object, EqualityIntent)
Determines whether the specified object, is equal to this instance.
public override bool Equals(object obj, EqualityIntent equalityIntent)
Parameters
objobjectThe object to compare with this instance.
equalityIntentEqualityIntentDefines what kind of equality you want to check when comparing two objects, for example all values or physical equality.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.