Table of Contents

Class SplineInterpolator

Namespace
MudBlazor.Components.Chart
Assembly
MudBlazor.dll
public abstract class SplineInterpolator : ILineInterpolator
Inheritance
SplineInterpolator
Implements
Derived
Inherited Members
Extension Methods

Constructors

SplineInterpolator(double[], double[], int)

public SplineInterpolator(double[] xs, double[] ys, int resolution = 10)

Parameters

xs double[]
ys double[]
resolution int

Fields

a

protected double[] a

Field Value

double[]

b

protected double[] b

Field Value

double[]

c

protected double[] c

Field Value

double[]

d

protected double[] d

Field Value

double[]

gauss

protected MatrixSolver gauss

Field Value

MatrixSolver

h

protected double[] h

Field Value

double[]

m

protected Matrix m

Field Value

Matrix

n

protected readonly int n

Field Value

int

Properties

GivenXs

public double[] GivenXs { get; set; }

Property Value

double[]

GivenYs

public double[] GivenYs { get; set; }

Property Value

double[]

InterpolatedXs

public double[] InterpolatedXs { get; set; }

Property Value

double[]

InterpolatedYs

public double[] InterpolatedYs { get; set; }

Property Value

double[]

InterpolationRequired

public bool InterpolationRequired { get; set; }

Property Value

bool

Methods

Integrate()

public double Integrate()

Returns

double

Interpolate()

public void Interpolate()