Dew Math for .NET
|
Divide polynomials, deconvolution.
The procedure deconvolves vector A out of vector B. If vectors A and B are treated as polynomial coefficients, the the deconvolution is equal to polynomial division. In this case the DeConv divides polynomial B with polynomial A and returns the quotient in Quot and remainder in Remain. An exception is raised if A and B complex properties do not match. An exception is raised if |A.Values[0]| = 0.
NOTE To perform polynomial multiplication, use the TVec.Convolve method.
Below are two cases. In the first case the following division is performed.
For the first example the ratio is x-2, and the reminder is zero. The second case demonstrates that division can be done also for complex polynomials giving complex result and reminder.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|