Represents a lazy power series that is computed on demand, using a sequence of pre-specified coefficients and a transformation function for powers of the input variable.
TESTME (not currently used)
This class allows defining power series where the terms are calculated as required, combining both the provided coefficients and a transformation of the powers of the input.
Type parameters
X
the type of the input variable to the power series
Y
the type of the coefficients and resulting series terms
Value parameters
coefficients
a lazy, infinite list representing the coefficients of the power series
f
a function used to transform the powers of the input variable
Computes the resulting power series by applying the transformation function to the powers of the input and combining these with the series coefficients.
Computes the resulting power series by applying the transformation function to the powers of the input and combining these with the series coefficients.
The method generates an infinite series based on the input x, where each term of the series is derived by multiplying the transformed power of x with the corresponding coefficient.
Value parameters
x
the input variable for which the power series is computed
Attributes
Returns
an instance of Series[Y] representing the computed power series