tf_quant_finance.math.interpolation.cubic.SplineParameters

Contents

Last updated: 2023-03-16.

tf_quant_finance.math.interpolation.cubic.SplineParameters#

View source

Cubic spline parameters.

tf_quant_finance.math.interpolation.cubic.SplineParameters(
    x_data, y_data, spline_coeffs
)

Attributes:#

  • x_data: A real Tensor of shape batch_shape + [num_points] containing X-coordinates of the spline.

  • y_data: A Tensor of the same shape and dtype as x_data containing Y-coordinates of the spline.

  • spline_coeffs: A Tensor of the same shape and dtype as x_data containing spline interpolation coefficients

Methods#

__eq__

__eq__(
    other
)

Method generated by attrs for class SplineParameters.

__ge__

__ge__(
    other
)

Method generated by attrs for class SplineParameters.

__gt__

__gt__(
    other
)

Method generated by attrs for class SplineParameters.

__iter__

View source

__iter__()

__le__

__le__(
    other
)

Method generated by attrs for class SplineParameters.

__len__

View source

__len__()

__lt__

__lt__(
    other
)

Method generated by attrs for class SplineParameters.

__ne__

__ne__(
    other
)

Method generated by attrs for class SplineParameters.