Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Mathematics.Curves
    • BarycentricBasis Class
    • BarycentricSeries Class
    • ChebyshevBasis Class
    • ChebyshevSeries Class
    • CubicSpline Class
    • CubicSplineKind Enumeration
    • Curve Class
    • CurveFitter Class
    • FunctionBasis Class
    • GeneralCurve Class
    • GeneralFunctionBasis Class
    • LinearCombination Class
    • LinearCurveFitter Class
    • LinearLeastSquaresMethod Enumeration
    • NonlinearCurve Class
    • NonlinearCurveFitter Class
    • NonlinearCurveFitter(T) Class
    • NonlinearCurveFittingMethod Enumeration
    • PiecewiseConstantCurve Class
    • PiecewiseCurve Class
    • PiecewiseLinearCurve Class
    • Point Structure
    • Polynomial Class
    • PolynomialBase Class
    • PolynomialBasis Class
    • WeightFunctions Class
  • BarycentricBasis Class
    • BarycentricBasis Constructor
    • Properties
    • Methods

BarycentricBasis Class

Extreme Optimization Numerical Libraries for .NET Professional
Represents a barycentric basis for a set of rational functions.
Inheritance Hierarchy

SystemObject
  Extreme.Mathematics.CurvesFunctionBasis
    Extreme.Mathematics.CurvesBarycentricBasis

Namespace:  Extreme.Mathematics.Curves
Assembly:  Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Syntax

C#
VB
C++
F#
Copy
public class BarycentricBasis : FunctionBasis
Public Class BarycentricBasis
	Inherits FunctionBasis
public ref class BarycentricBasis : public FunctionBasis
type BarycentricBasis =  
    class
        inherit FunctionBasis
    end

The BarycentricBasis type exposes the following members.

Constructors

  NameDescription
Public methodBarycentricBasis
Constructs a new barycentric basis with the specified set of support points and corresponding weights.
Top
Properties

  NameDescription
Public propertyItem
Gets an element of the collection as a function of one variable.
(Inherited from FunctionBasis.)
Public propertyLength
Gets the number of items in this FunctionBasis.
(Inherited from FunctionBasis.)
Public propertySupportPoints
Gets the support points of the basis.
Public propertyWeights
Gets the weights of the basis.
Top
Methods

  NameDescription
Public methodStatic memberChebyshev(Int32)
Returns a new BarycentricBasis equivalent to a basis of Chebyshev polynomials of the specified degree over the interval [-1, 1].
Public methodStatic memberChebyshev(Double, Double, Int32)
Returns a new BarycentricBasis equivalent to a basis of Chebyshev polynomials of the specified degree over the specified interval.
Public methodStatic memberChebyshev2(Int32)
Returns a new BarycentricBasis equivalent to a basis of Chebyshev polynomials of the second kind of the specified degree over the interval [-1, 1].
Public methodStatic memberChebyshev2(Double, Double, Int32)
Returns a new BarycentricBasis equivalent to a basis of Chebyshev polynomials of the second kind of the specified degree over the specified interval.
Public methodDerivativesAt
Evaluates the derivatives of the member functions of this FunctionBasis at a specified value.
(Inherited from FunctionBasis.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFillDerivatives(Double, DenseVectorDouble)
Fills a vector with the derivatives of the member functions at a specified value.
(Overrides FunctionBasisFillDerivatives(Double, DenseVectorDouble).)
Public methodFillDerivatives(VectorDouble, DenseMatrixDouble)
Fills the rows of a DenseMatrixT with the values of the member functions of a FunctionBasis evaluated for each element in a Vector.
(Inherited from FunctionBasis.)
Public methodFillValues(Double, DenseVectorDouble)
Fills a dense vector with the values of the member functions of a FunctionBasis at a specified value.
(Overrides FunctionBasisFillValues(Double, DenseVectorDouble).)
Public methodFillValues(VectorDouble, DenseMatrixDouble)
Fills the rows of a DenseMatrixT with the values of the member functions of a FunctionBasis evaluated for each element in a Vector.
(Inherited from FunctionBasis.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFloaterHormann(VectorDouble, Int32)
Constructs a new barycentric basis for Floater-Hormann rational interpolation of the specified order through the specified support points.
Public methodStatic memberFloaterHormann(Double, Double, Int32, Int32)
Constructs a new barycentric basis for Floater-Hormann rational interpolation through a set of equidistant support points.
Public methodGetFunction(Double) Obsolete.
Constructs a new LinearCombination from the functions in this instance.
(Inherited from FunctionBasis.)
Public methodGetFunction(VectorDouble)
Constructs a new LinearCombination from the functions in this instance.
(Overrides FunctionBasisGetFunction(VectorDouble).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLeastSquaresFit(VectorDouble, VectorDouble)
Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis.)
Public methodLeastSquaresFit(Double, Double, Double)
Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis.)
Public methodLeastSquaresFit(Double, Double, Int32)
Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis.)
Public methodLeastSquaresFit(VectorDouble, VectorDouble, VectorDouble)
Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberPolynomial(VectorDouble)
Constructs a new barycentric basis equivalent to Lagrange polynomial interpolation through the specified support points.
Public methodStatic memberPolynomial(Double, Double, Int32)
Returns a new BarycentricBasis equivalent to a basis of Lagrange polynomials over an equidistant set of points.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValuesAt
Evaluates the member functions of this FunctionBasis at a specified value.
(Inherited from FunctionBasis.)
Top
Remarks

Use the BarycentricBasis class to represent the basis of a set of rational functions in barycentric form. All functions in the set have the same support points or nodes and corresponding weights.

The rational functions that can be represented in the basis are linear combinations of the basis functions.

For a specific set of support points, there is one set of weights for which all basis functions are polynomials. A barycentric basis is therefore a generalization of a polynomial basis.

See Also

Reference

Extreme.Mathematics.Curves Namespace

Copyright (c) 2004-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.