Ejemplo n.º 1
0
 /// <summary>Initializes a new instance of the <see cref="Interpolator"/> class.
 /// </summary>
 /// <param name="interpolationFactory">The <see cref="CurveInterpolationLinear"/> object that serves as factory for the current object.</param>
 internal Interpolator(CurveInterpolationLinear interpolationFactory)
 {
     m_GridPointCount = 0;
     Factory          = interpolationFactory;
     m_IntegralCache  = new CurveInterpolatorIntegralCache(this);
 }
Ejemplo n.º 2
0
 /// <summary>Initializes a new instance of the <see cref="Interpolator"/> class.
 /// </summary>
 /// <param name="interpolationFactory">The <see cref="CurveInterpolationPiecewiseConstant"/> object that serves as factory for the current object.</param>
 internal Interpolator(CurveInterpolationPiecewiseConstant interpolationFactory)
 {
     m_GridPointCount = 0;
     Factory          = interpolationFactory;
     m_IntegralCache  = new CurveInterpolatorIntegralCache(this);
 }