Class SpecialPoints
- Namespace
- ChebyshevSharp
- Assembly
- ChebyshevSharp.dll
Typed wrapper for per-dimension special points (e.g., kinks where a
piecewise spline must place a knot).
Implicit conversions to and from jagged double arrays let you pass
either form to constructors that accept SpecialPoints.
public sealed record SpecialPoints : IEquatable<SpecialPoints>
- Inheritance
-
SpecialPoints
- Implements
- Inherited Members
Constructors
SpecialPoints(double[][])
Create a special-point wrapper from per-dimension coordinates.
public SpecialPoints(double[][] Points)
Parameters
Pointsdouble[][]Per-dimension array of special-point coordinates.
Properties
Points
Per-dimension array of special-point coordinates.
public double[][] Points { get; init; }
Property Value
- double[][]
Methods
Deconstruct(out double[][])
Deconstruct into the wrapped special points.
public void Deconstruct(out double[][] Points)
Parameters
Pointsdouble[][]
Operators
implicit operator double[][](SpecialPoints)
Implicit conversion from SpecialPoints to jagged double array.
public static implicit operator double[][](SpecialPoints sp)
Parameters
Returns
- double[][]
implicit operator SpecialPoints(double[][])
Implicit conversion from jagged double array to SpecialPoints.
public static implicit operator SpecialPoints(double[][] Points)
Parameters
Pointsdouble[][]