Student[NumericalAnalysis]
LinearSystem
return the linear system of equations used to solve cubic spline interpolants
Calling Sequence
Parameters
Description
Examples
LinearSystem(p)
p
-
a POLYINTERP structure
The LinearSystem command retrieves the matrix and vector in the linear system of equations that were solved when computing the cubic spline interpolants.
The LinearSystem command returns an expression sequence of the form: A, b, where A is a matrix and b is a vector and A·x=b is the linear system.
The POLYINTERP structure is created using the CubicSpline command.
The LinearSystem command only accepts interpolation structures that were created using the CubicSpline command, since the cubic spline interpolation method is the only method that has an associated linear system.
with⁡StudentNumericalAnalysis:
xy≔0,1,12,1,1,1110,32,34,2,78,52,910,3,1110,72,1
p1≔CubicSpline⁡xy,independentvar=x:
LinearSystem⁡p1
1.0.0.0.0.0.0.0.0.50000000002.0.50000000000.0.0.0.0.0.0.50000000002.0.50000000000.0.0.0.0.0.0.50000000002.0.50000000000.0.0.0.0.0.0.50000000002.0.50000000000.0.0.0.0.0.0.50000000002.0.50000000000.0.0.0.0.0.0.50000000002.0.50000000000.0.0.0.0.0.0.1.,0.0.8291995878−2.1167983512.237993817−1.1351769151.102713844−1.1756784610.
See Also
Student[NumericalAnalysis][ComputationOverview]
Student[NumericalAnalysis][CubicSpline]
Student[NumericalAnalysis][DataPoints]
Student[NumericalAnalysis][Interpolant]
Download Help Document