AmitDiwan has Published 10744 Articles

Evaluate a Laguerre series at points x when coefficients are multi-dimensional in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:37:18

166 Views

To evaluate a Laguerre series at points x, use the polynomial.laguerre.lagval() method in Python Numpy. The 1st parameter is x. If x is a list or tuple, it is converted to an ndarray, otherwise it is left unchanged and treated as a scalar. In either case, x or its elements ... Read More

Evaluate a Laguerre series at points x in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:35:06

132 Views

To evaluate a Laguerre series at points x, use the polynomial.laguerre.lagval() method in Python Numpy. The 1st parameter is x. If x is a list or tuple, it is converted to an ndarray, otherwise it is left unchanged and treated as a scalar. In either case, x or its elements ... Read More

Raise a Laguerre series to a power in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:33:02

138 Views

To raise a Laguerre series to a power, use the polynomial.laguerre.lagpow() method in Python Numpy. The method returns the Laguerre series c raised to the power pow. The argument c is a sequence of coefficients ordered from low to high. i.e., [1, 2, 3] is the series P_0 + 2*P_1 ... Read More

Divide one Laguerre series by another in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:30:35

117 Views

To divide one Laguerre series by another, use the polynomial.laguerre.lagdiv() method in Python Numpy. The method returns a [quo, rem] array Of Laguerre series coefficients representing the quotient and remainder. Returns the quotient-with-remainder of two Laguerre series c1 / c2. The arguments are sequences of coefficients from lowest order “term” ... Read More

Multiply one Laguerre series to another in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:27:24

140 Views

To multiply one Laguerre series to another, use the polynomial.laguerre.lagmul() method in Python Numpy. Returns the multiplication of two Laguerre series c1 * c2. The sequences of coefficients are from lowest order term to highest, i.e., [1, 2, 3] represents the series P_0 + 2*P_1 + 3*P_2. The parameters c1 ... Read More

Multiply a Laguerre series by an independent variable in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:25:28

112 Views

To multiply a Laguerre series by an independent variable, use the polynomial.laguerre.lagmulx() method in Python. Multiply the Laguerre series c by x, where x is the independent variable. The parameter c is a 1-D array of Laguerre series coefficients ordered from low to high.StepsAt first, import the required library −import ... Read More

Subtract one Laguerre series from another in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:23:27

126 Views

To subtract one Laguerre series from another, use the polynomial.laguerre.lagsub() method in Python Numpy. The method returns an array of Laguerre series coefficients representing their difference. Returns the difference of two Laguerre series c1 - c2. The sequences of coefficients are from lowest order term to highest, i.e., [1, 2, ... Read More

Generate a Pseudo Vandermonde matrix of the Hermite polynomial and x, y, z sample points in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 06:19:47

177 Views

To generate a pseudo Vandermonde matrix of the Hermite polynomial and x, y, z sample points, use the hermite.hermvander3d() in Python Numpy. The method returns the pseudo-Vandermonde matrix. The parameter, x, y, z are arrays of point coordinates, all of the same shape. The dtypes will be converted to either ... Read More

Generate a Pseudo Vandermonde matrix of the Hermite polynomial with complex array of points coordinates in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 05:59:20

154 Views

To generate a pseudo Vandermonde matrix of the Hermite polynomial, use the hermite.hermvander2d() in Python Numpy. The method returns the pseudo-Vandermonde matrix. The parameter, x, y are an array of point coordinates, all of the same shape. The dtypes will be converted to either float64 or complex128 depending on whether ... Read More

Generate a Hermite series with given roots in Python

AmitDiwan

AmitDiwan

Updated on 03-Mar-2022 05:55:22

134 Views

To generate a Hermite series with given roots, use the hermite.hermfromroots() method in Python Numpy. The method returns a 1-D array of coefficients. If all roots are real then out is a real array, if some of the roots are complex, then out is complex even if all the coefficients ... Read More

Advertisements