[IoId("00000000-D8EE-4D8A-B482-45320CE69A01")] public class HyperbolaFunction : FunctionWithCaching
Represents an immutable hyperbolic function in the form y = (ax + b) + (d/(x - c))

Constructors

HyperbolaFunction

#
public HyperbolaFunction()

HyperbolaFunction

#
public HyperbolaFunction()

HyperbolaFunction

#
public HyperbolaFunction(
reader
)

HyperbolaFunction

#
public HyperbolaFunction(
origin,
asymptote,
intersect
)

Properties

A

#
public double A { get; }

Asymptote

#
public Point2d Asymptote { get; }

B

#
public double B { get; }

C

#
public double C { get; }

D

#
public double D { get; }

Derivative

Gets a function which is the derivative of this function. The returned function may be either analytic or approximate.
public sealed override Function Derivative { get; }
inherited fromFunctionWithCaching

Integral

Gets a function which is the indefinite integral of this function. The returned function may be analytic or approximate. Note that numeric approximation of indefinite integrals is a slow and not particularly high quality process.
public sealed override Function Integral { get; }
inherited fromFunctionWithCaching

Intersect

#
public Point2d Intersect { get; }

Nomen

Gets a description of this function.
public sealed override Nomen Nomen { get; }
inherited fromFunctionWithCaching
Function.Nomen

Notation

#
public override string Notation { get; }

Origin

#
public Point2d Origin { get; }

Ui

#
public override FunctionUi Ui { get; }
Function.Ui

Methods

Asymptotes

#
public override Line[] Asymptotes()

AutoCoDomain

Compute the automatic codomain for a given domain.
protected void AutoCoDomain(
x0,
Domain start.
x1,
Domain end.
out double
y0,
Lowest value in codomain.
out double
y1,
Highest value in codomain.
samples = 100
Samples.
)
inherited fromFunction

DomainEstimate

#
Return an estimate of the interesting part of a function. Each function may choose how to answer this question individually.
public override void DomainEstimate(
out double
x0,
Lowest x coordinate of interest.
out double
x1,
Highest x coordinate of interest.
out double
y0,
Lowest y coordinate of interest.
out double
y1
Highest y coordinate of interest.
)

EmitDerivative

#
protected override Function EmitDerivative()

EmitIntegral

#
protected override Function EmitIntegral()

Holes

Returns a collection of domains for which this function is not defined. This method may return null or an empty array, implying no undefined domains. This method may also return domains outside of the specified interval.
public virtual Interval[] Holes(
x0,
Lower limit of query domain.
x1
Upper limit of query domain.
)
inherited fromFunction

Integrate

Evaluate the definite integral between two parameters. Unless a function specifically implements an analytic integral, this value will be approximate. Note to implementer: if you provide an analytic integral via the Function.Integral property, that function will be used to compute an analytic result. There is typically no reason to override this method.
public virtual double Integrate(
x0,
Integral start.
x1
Integral end.
)
inherited fromFunction
Definite integral from x0 to x1.

Poles

#
public override Pole[] Poles()
Function.Poles

Store

#
public override void Store(
writer
)

Y

#
public override double Y()
Function.Y

YYYY

Evaluate a large amount of values. Functions may choose to use multiple threads to perform this calculation. This method should not throw, instead every failed evaluation will be represented by a NaN value.
public double[] YYYY(
x
Value to evaluate.
)
inherited fromFunction
Evaluation results. Array will contain double.NaN entries for failed evaluations.