Table of Contents

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
ObjectBase
SerializableObjectBase
ManualSerialization
ExtrapolationInfo
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

info ExtrapolationInfo

The information to copy.

ExtrapolationInfo(ExtrapolationType, Complex)

Constructor with parameters.

public ExtrapolationInfo(ExtrapolationType type, Complex value)

Parameters

type ExtrapolationType

Type of extrapolation to use.

value Complex

Constant value to be used if the type is Constant.

Properties

ConstantValue

Constant value to be used if if the Type is Constant.

public Complex ConstantValue { get; set; }

Property Value

Complex

IsConstantZeroOutSide

Get property that tells whether or not this object represents a constant zero extrapolation.

public bool IsConstantZeroOutSide { get; }

Property Value

bool

Type

Type of extrapolation to use.

public ExtrapolationType Type { get; set; }

Property Value

ExtrapolationType

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

obj 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.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.