Return the vector of coefficients of the polynomial resulting from the \(k\)th-order differentiation of a univariate polynomial of arbitrary degree.
More...
Return the vector of coefficients of the polynomial resulting from the \(k\)th-order differentiation of a univariate polynomial of arbitrary degree.
See the documentation of pm_polynomial for details of the implementation.
- Parameters
-
[out] | diff | : The output contiguous vector of the same type and kind as the input coef , of size size(coef) - order , containing the coefficients (in the order of increasing power) of the resulting polynomial from the \(k\)th-order differentiation of the input polynomial with coefficients coef of arbitrary degree.
By definition, the degree of the diff polynomial is size(diff) - order .
|
[in] | coef | : The input contiguous vector of non-zero size of,
-
type
complex of kind any supported by the processor (e.g., CK, CK32, CK64, or CK128), or
-
type
real of kind any supported by the processor (e.g., RK, RK32, RK64, or RK128),
containing the coefficients (in the order of increasing power) of the univariate polynomial whose \(k\)th-order derivative must be returned.
By definition, the degree of the coef polynomial is size(coef) - 1 .
This means that the condition coef(size(coef)) /= 0. is expected to hold (although not enforced).
|
[in] | order | : The input scalar nonnegative integer of default kind IK containing the order of the derivative to compute.
(optional, default = 1 ) |
Possible calling interfaces ⛓
call setPolyDiff(diff(
1 :
size(coef)
- order), coef(:), order)
Return the vector of coefficients of the polynomial resulting from the th-order differentiation of a ...
This module contains procedures and generic interfaces for performing various mathematical operations...
- Warning
- The condition
0 <= order
must hold for the corresponding input arguments.
The condition size(diff) == max(1, size(coef) - order)
must hold for the corresponding input arguments.
These conditions are verified only if the library is built with the preprocessor macro CHECK_ENABLED=1
.
-
The
pure
procedure(s) documented herein become impure
when the ParaMonte library is compiled with preprocessor macro CHECK_ENABLED=1
.
By default, these procedures are pure
in release
build and impure
in debug
and testing
builds.
- See also
- getPolyDiff
setPolyDiff
Example usage ⛓
14 type(display_type) :: disp
15 integer(IK) :: itry, ntry
= 20
20 real(TKG),
allocatable :: coef(:), diff(:)
22 call disp%show(
"degree = getUnifRand(0, 9_IK)")
26 call disp%show(
"coef = getUnifRand(-9, 9, degree)")
32 call disp%show(
"order = getUnifRand(0, size(coef) + 1)")
37 call disp%show(
"call setResized(diff, max(0_IK, size(coef, 1, IK) - order))")
38 call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
39 call disp%show(
"call setPolyDiff(diff, coef, order)")
41 call disp%show(
"diff ! derivative coefficients.")
51 complex(TKG),
allocatable :: coef(:), diff(:)
53 call disp%show(
"degree = getUnifRand(0, 9_IK)")
57 call disp%show(
"coef = cmplx(getUnifRand(-9, 9, degree), getUnifRand(-9, 9, degree), TKG)")
63 call disp%show(
"order = getUnifRand(0, size(coef) + 1)")
68 call disp%show(
"call setResized(diff, max(0_IK, size(coef, 1, IK) - order))")
69 call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
70 call disp%show(
"call setPolyDiff(diff, coef, order)")
72 call disp%show(
"diff ! derivative coefficients.")
Allocate or resize (shrink or expand) an input allocatable scalar string or array of rank 1....
Generate and return a scalar or a contiguous array of rank 1 of length s1 of randomly uniformly distr...
This is a generic method of the derived type display_type with pass attribute.
This is a generic method of the derived type display_type with pass attribute.
Generate and return a string containing the polynomial expression corresponding to the input polynomi...
This module contains procedures and generic interfaces for resizing allocatable arrays of various typ...
This module contains classes and procedures for computing various statistical quantities related to t...
This module contains classes and procedures for input/output (IO) or generic display operations on st...
type(display_type) disp
This is a scalar module variable an object of type display_type for general display.
This module defines the relevant Fortran kind type-parameters frequently used in the ParaMonte librar...
integer, parameter IK
The default integer kind in the ParaMonte library: int32 in Fortran, c_int32_t in C-Fortran Interoper...
integer, parameter SK
The default character kind in the ParaMonte library: kind("a") in Fortran, c_char in C-Fortran Intero...
integer, parameter RKS
The single-precision real kind in Fortran mode. On most platforms, this is an 32-bit real kind.
Generate and return an object of type display_type.
Example Unix compile command via Intel ifort
compiler ⛓
3ifort -fpp -standard-semantics -O3 -Wl,-rpath,../../../lib -I../../../inc main.F90 ../../../lib/libparamonte* -o main.exe
Example Windows Batch compile command via Intel ifort
compiler ⛓
2set PATH=..\..\..\lib;%PATH%
3ifort /fpp /standard-semantics /O3 /I:..\..\..\include main.F90 ..\..\..\lib\libparamonte*.lib /exe:main.exe
Example Unix / MinGW compile command via GNU gfortran
compiler ⛓
3gfortran -cpp -ffree-line-length-none -O3 -Wl,-rpath,../../../lib -I../../../inc main.F90 ../../../lib/libparamonte* -o main.exe
Example output ⛓
6-1.00000000,
-8.00000000
13call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
25+9.00000000,
-5.00000000,
-9.00000000,
-2.00000000
279.x^
0 - 5.x^
1 - 9.x^
2 - 2.x^
3
32call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
35-18.0000000,
-6.00000000
44-1.00000000,
-4.00000000,
+3.00000000,
-3.00000000,
-1.00000000,
-6.00000000,
+4.00000000
46-1.x^
0 - 4.x^
1 + 3.x^
2 - 3.x^
3 - 1.x^
4 - 6.x^
5 + 4.x^
6
51call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
54-4.00000000,
+6.00000000,
-9.00000000,
-4.00000000,
-30.0000000,
+24.0000000
56-4.x^
0 + 6.x^
1 - 9.x^
2 - 4.x^
3 - 30.x^
4 + 24.x^
5
70call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
89call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
101+8.00000000,
-9.00000000,
-7.00000000,
+0.00000000,
+4.00000000,
-7.00000000,
+1.00000000
1038.x^
0 - 9.x^
1 - 7.x^
2 + 0.x^
3 + 4.x^
4 - 7.x^
5 + 1.x^
6
108call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
111-14.0000000,
+0.00000000,
+16.0000000,
-35.0000000,
+6.00000000
113-14.x^
0 + 0.x^
1 + 16.x^
2 - 35.x^
3 + 6.x^
4
120+5.00000000,
+8.00000000,
+4.00000000,
+2.00000000,
+5.00000000,
-5.00000000,
-3.00000000
1225.x^
0 + 8.x^
1 + 4.x^
2 + 2.x^
3 + 5.x^
4 - 5.x^
5 - 3.x^
6
127call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
139+9.00000000,
-3.00000000,
-1.00000000,
-9.00000000,
-4.00000000
1419.x^
0 - 3.x^
1 - 1.x^
2 - 9.x^
3 - 4.x^
4
146call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
158+2.00000000,
-9.00000000,
-5.00000000
165call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
177-1.00000000,
+4.00000000,
-8.00000000,
-9.00000000,
-1.00000000
179-1.x^
0 + 4.x^
1 - 8.x^
2 - 9.x^
3 - 1.x^
4
184call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
203call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
215-8.00000000,
-2.00000000,
+5.00000000,
+8.00000000,
+6.00000000,
+4.00000000,
+9.00000000
217-8.x^
0 - 2.x^
1 + 5.x^
2 + 8.x^
3 + 6.x^
4 + 4.x^
5 + 9.x^
6
222call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
225+20.0000000,
+54.0000000
234+9.00000000,
+7.00000000
241call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
253+4.00000000,
-9.00000000,
-4.00000000,
-6.00000000,
-9.00000000,
+2.00000000,
+1.00000000
2554.x^
0 - 9.x^
1 - 4.x^
2 - 6.x^
3 - 9.x^
4 + 2.x^
5 + 1.x^
6
260call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
279call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
291-8.00000000,
+7.00000000,
+1.00000000,
-6.00000000
293-8.x^
0 + 7.x^
1 + 1.x^
2 - 6.x^
3
298call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
301+7.00000000,
+2.00000000,
-18.0000000
3037.x^
0 + 2.x^
1 - 18.x^
2
310+7.00000000,
+0.00000000,
+6.00000000
317call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
320+0.00000000,
+12.0000000
329+5.00000000,
+6.00000000,
-6.00000000,
+1.00000000,
+9.00000000
3315.x^
0 + 6.x^
1 - 6.x^
2 + 1.x^
3 + 9.x^
4
336call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
339+6.00000000,
-12.0000000,
+3.00000000,
+36.0000000
3416.x^
0 - 12.x^
1 + 3.x^
2 + 36.x^
3
355call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
367-7.00000000,
+4.00000000,
+2.00000000,
-3.00000000,
+7.00000000
369-7.x^
0 + 4.x^
1 + 2.x^
2 - 3.x^
3 + 7.x^
4
374call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
377+4.00000000,
-9.00000000,
+28.0000000
3794.x^
0 - 9.x^
1 + 28.x^
2
386(
+4.00000000,
+4.00000000)
393call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
405(
-9.00000000,
+8.00000000), (
+7.00000000,
+5.00000000), (
-7.00000000,
-6.00000000), (
+2.00000000,
+8.00000000), (
-8.00000000,
+5.00000000), (
-3.00000000,
-6.00000000), (
+3.00000000,
-9.00000000)
407(
-9.,
8.)x^
0 + (
7.,
5.)x^
1 + (
-7.,
-6.)x^
2 + (
2.,
8.)x^
3 + (
-8.,
5.)x^
4 + (
-3.,
-6.)x^
5 + (
3.,
-9.)x^
6
412call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
415(
-32.0000000,
+20.0000000), (
-15.0000000,
-30.0000000), (
+18.0000000,
-54.0000000)
417(
-32.,
20.)x^
0 + (
-15.,
-30.)x^
1 + (
18.,
-54.)x^
2
424(
-2.00000000,
-6.00000000), (
-5.00000000,
-2.00000000), (
-4.00000000,
-1.00000000), (
-4.00000000,
-6.00000000), (
+1.00000000,
+9.00000000), (
+2.00000000,
+8.00000000), (
+2.00000000,
+4.00000000)
426(
-2.,
-6.)x^
0 + (
-5.,
-2.)x^
1 + (
-4.,
-1.)x^
2 + (
-4.,
-6.)x^
3 + (
1.,
9.)x^
4 + (
2.,
8.)x^
5 + (
2.,
4.)x^
6
431call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
434(
+10.0000000,
+40.0000000), (
+12.0000000,
+24.0000000)
436(
10.,
40.)x^
0 + (
12.,
24.)x^
1
443(
-2.00000000,
+7.00000000), (
+8.00000000,
-4.00000000), (
-1.00000000,
+0.00000000), (
-7.00000000,
+2.00000000), (
-1.00000000,
-7.00000000), (
+0.00000000,
+4.00000000), (
+4.00000000,
+7.00000000)
445(
-2.,
7.)x^
0 + (
8.,
-4.)x^
1 + (
-1.,
0.)x^
2 + (
-7.,
2.)x^
3 + (
-1.,
-7.)x^
4 + (
0.,
4.)x^
5 + (
4.,
7.)x^
6
450call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
453(
-2.00000000,
+7.00000000), (
+8.00000000,
-4.00000000), (
-1.00000000,
+0.00000000), (
-7.00000000,
+2.00000000), (
-1.00000000,
-7.00000000), (
+0.00000000,
+4.00000000), (
+4.00000000,
+7.00000000)
455(
-2.,
7.)x^
0 + (
8.,
-4.)x^
1 + (
-1.,
0.)x^
2 + (
-7.,
2.)x^
3 + (
-1.,
-7.)x^
4 + (
0.,
4.)x^
5 + (
4.,
7.)x^
6
462(
+2.00000000,
-9.00000000), (
-4.00000000,
+1.00000000), (
-5.00000000,
-5.00000000), (
-9.00000000,
+0.00000000), (
+7.00000000,
+9.00000000), (
+0.00000000,
+3.00000000), (
+1.00000000,
+0.00000000), (
-6.00000000,
+4.00000000), (
-3.00000000,
-5.00000000)
464(
2.,
-9.)x^
0 + (
-4.,
1.)x^
1 + (
-5.,
-5.)x^
2 + (
-9.,
0.)x^
3 + (
7.,
9.)x^
4 + (
0.,
3.)x^
5 + (
1.,
0.)x^
6 + (
-6.,
4.)x^
7 + (
-3.,
-5.)x^
8
469call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
472(
+28.0000000,
+36.0000000), (
+0.00000000,
+15.0000000), (
+6.00000000,
+0.00000000), (
-42.0000000,
+28.0000000), (
-24.0000000,
-40.0000000)
474(
28.,
36.)x^
0 + (
0.,
15.)x^
1 + (
6.,
0.)x^
2 + (
-42.,
28.)x^
3 + (
-24.,
-40.)x^
4
481(
+4.00000000,
-2.00000000), (
-4.00000000,
-4.00000000)
483(
4.,
-2.)x^
0 + (
-4.,
-4.)x^
1
488call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
491(
-4.00000000,
-4.00000000)
500(
-3.00000000,
-8.00000000), (
+2.00000000,
+8.00000000), (
-1.00000000,
-6.00000000), (
-4.00000000,
+2.00000000), (
+8.00000000,
+9.00000000), (
+5.00000000,
-6.00000000), (
+2.00000000,
+4.00000000), (
-5.00000000,
+1.00000000), (
+3.00000000,
+8.00000000)
502(
-3.,
-8.)x^
0 + (
2.,
8.)x^
1 + (
-1.,
-6.)x^
2 + (
-4.,
2.)x^
3 + (
8.,
9.)x^
4 + (
5.,
-6.)x^
5 + (
2.,
4.)x^
6 + (
-5.,
1.)x^
7 + (
3.,
8.)x^
8
507call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
510(
+32.0000000,
+36.0000000), (
+25.0000000,
-30.0000000), (
+12.0000000,
+24.0000000), (
-35.0000000,
+7.00000000), (
+24.0000000,
+64.0000000)
512(
32.,
36.)x^
0 + (
25.,
-30.)x^
1 + (
12.,
24.)x^
2 + (
-35.,
7.)x^
3 + (
24.,
64.)x^
4
519(
+2.00000000,
+0.00000000), (
+7.00000000,
-1.00000000), (
+6.00000000,
+9.00000000)
521(
2.,
0.)x^
0 + (
7.,
-1.)x^
1 + (
6.,
9.)x^
2
526call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
529(
+12.0000000,
+18.0000000)
538(
-7.00000000,
-9.00000000), (
+4.00000000,
+9.00000000), (
-5.00000000,
+0.00000000), (
-3.00000000,
+1.00000000), (
+0.00000000,
-3.00000000), (
-3.00000000,
-6.00000000), (
+9.00000000,
+4.00000000), (
+2.00000000,
+1.00000000), (
-7.00000000,
-9.00000000)
540(
-7.,
-9.)x^
0 + (
4.,
9.)x^
1 + (
-5.,
0.)x^
2 + (
-3.,
1.)x^
3 + (
0.,
-3.)x^
4 + (
-3.,
-6.)x^
5 + (
9.,
4.)x^
6 + (
2.,
1.)x^
7 + (
-7.,
-9.)x^
8
545call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
548(
+4.00000000,
+9.00000000), (
-10.0000000,
+0.00000000), (
-9.00000000,
+3.00000000), (
+0.00000000,
-12.0000000), (
-15.0000000,
-30.0000000), (
+54.0000000,
+24.0000000), (
+14.0000000,
+7.00000000), (
-56.0000000,
-72.0000000)
550(
4.,
9.)x^
0 + (
-10.,
0.)x^
1 + (
-9.,
3.)x^
2 + (
0.,
-12.)x^
3 + (
-15.,
-30.)x^
4 + (
54.,
24.)x^
5 + (
14.,
7.)x^
6 + (
-56.,
-72.)x^
7
557(
-9.00000000,
+5.00000000), (
-5.00000000,
+4.00000000), (
+3.00000000,
+2.00000000), (
-7.00000000,
-1.00000000), (
-2.00000000,
+9.00000000), (
+5.00000000,
-2.00000000), (
-1.00000000,
+8.00000000), (
+6.00000000,
+9.00000000)
559(
-9.,
5.)x^
0 + (
-5.,
4.)x^
1 + (
3.,
2.)x^
2 + (
-7.,
-1.)x^
3 + (
-2.,
9.)x^
4 + (
5.,
-2.)x^
5 + (
-1.,
8.)x^
6 + (
6.,
9.)x^
7
564call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
567(
+6.00000000,
+4.00000000), (
-21.0000000,
-3.00000000), (
-8.00000000,
+36.0000000), (
+25.0000000,
-10.0000000), (
-6.00000000,
+48.0000000), (
+42.0000000,
+63.0000000)
569(
6.,
4.)x^
0 + (
-21.,
-3.)x^
1 + (
-8.,
36.)x^
2 + (
25.,
-10.)x^
3 + (
-6.,
48.)x^
4 + (
42.,
63.)x^
5
576(
-9.00000000,
+2.00000000), (
+3.00000000,
+5.00000000), (
-6.00000000,
-2.00000000), (
+3.00000000,
+7.00000000), (
+5.00000000,
+7.00000000), (
+5.00000000,
+8.00000000), (
+5.00000000,
-5.00000000)
578(
-9.,
2.)x^
0 + (
3.,
5.)x^
1 + (
-6.,
-2.)x^
2 + (
3.,
7.)x^
3 + (
5.,
7.)x^
4 + (
5.,
8.)x^
5 + (
5.,
-5.)x^
6
583call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
586(
+3.00000000,
+5.00000000), (
-12.0000000,
-4.00000000), (
+9.00000000,
+21.0000000), (
+20.0000000,
+28.0000000), (
+25.0000000,
+40.0000000), (
+30.0000000,
-30.0000000)
588(
3.,
5.)x^
0 + (
-12.,
-4.)x^
1 + (
9.,
21.)x^
2 + (
20.,
28.)x^
3 + (
25.,
40.)x^
4 + (
30.,
-30.)x^
5
595(
+7.00000000,
+4.00000000), (
-1.00000000,
-6.00000000), (
-4.00000000,
+3.00000000), (
+6.00000000,
+7.00000000), (
-4.00000000,
+9.00000000), (
+9.00000000,
+0.00000000), (
+1.00000000,
+5.00000000), (
-2.00000000,
-7.00000000)
597(
7.,
4.)x^
0 + (
-1.,
-6.)x^
1 + (
-4.,
3.)x^
2 + (
6.,
7.)x^
3 + (
-4.,
9.)x^
4 + (
9.,
0.)x^
5 + (
1.,
5.)x^
6 + (
-2.,
-7.)x^
7
602call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
605(
-16.0000000,
+36.0000000), (
+45.0000000,
+0.00000000), (
+6.00000000,
+30.0000000), (
-14.0000000,
-49.0000000)
607(
-16.,
36.)x^
0 + (
45.,
0.)x^
1 + (
6.,
30.)x^
2 + (
-14.,
-49.)x^
3
614(
+2.00000000,
+5.00000000), (
-1.00000000,
-6.00000000), (
+8.00000000,
-8.00000000), (
-7.00000000,
-9.00000000), (
+8.00000000,
-5.00000000), (
-7.00000000,
-4.00000000), (
+7.00000000,
-2.00000000), (
-8.00000000,
-3.00000000)
616(
2.,
5.)x^
0 + (
-1.,
-6.)x^
1 + (
8.,
-8.)x^
2 + (
-7.,
-9.)x^
3 + (
8.,
-5.)x^
4 + (
-7.,
-4.)x^
5 + (
7.,
-2.)x^
6 + (
-8.,
-3.)x^
7
621call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
633(
-4.00000000,
-3.00000000), (
+1.00000000,
-8.00000000), (
+1.00000000,
-7.00000000), (
+2.00000000,
+9.00000000), (
-1.00000000,
+9.00000000), (
-3.00000000,
-4.00000000), (
-1.00000000,
+2.00000000), (
+0.00000000,
-7.00000000)
635(
-4.,
-3.)x^
0 + (
1.,
-8.)x^
1 + (
1.,
-7.)x^
2 + (
2.,
9.)x^
3 + (
-1.,
9.)x^
4 + (
-3.,
-4.)x^
5 + (
-1.,
2.)x^
6 + (
0.,
-7.)x^
7
640call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
643(
-15.0000000,
-20.0000000), (
-6.00000000,
+12.0000000), (
+0.00000000,
-49.0000000)
645(
-15.,
-20.)x^
0 + (
-6.,
12.)x^
1 + (
0.,
-49.)x^
2
652(
-5.00000000,
+6.00000000), (
+5.00000000,
-3.00000000), (
-6.00000000,
-5.00000000)
654(
-5.,
6.)x^
0 + (
5.,
-3.)x^
1 + (
-6.,
-5.)x^
2
659call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
662(
-5.00000000,
+6.00000000), (
+5.00000000,
-3.00000000), (
-6.00000000,
-5.00000000)
664(
-5.,
6.)x^
0 + (
5.,
-3.)x^
1 + (
-6.,
-5.)x^
2
671(
+1.00000000,
+8.00000000), (
+9.00000000,
+8.00000000), (
-8.00000000,
+6.00000000), (
-6.00000000,
+3.00000000), (
+1.00000000,
-1.00000000), (
-4.00000000,
-9.00000000), (
-8.00000000,
+1.00000000)
673(
1.,
8.)x^
0 + (
9.,
8.)x^
1 + (
-8.,
6.)x^
2 + (
-6.,
3.)x^
3 + (
1.,
-1.)x^
4 + (
-4.,
-9.)x^
5 + (
-8.,
1.)x^
6
678call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
681(
+4.00000000,
-4.00000000), (
-20.0000000,
-45.0000000), (
-48.0000000,
+6.00000000)
683(
4.,
-4.)x^
0 + (
-20.,
-45.)x^
1 + (
-48.,
6.)x^
2
697call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
709(
+8.00000000,
-5.00000000), (
-9.00000000,
+6.00000000), (
+8.00000000,
+6.00000000), (
+1.00000000,
+2.00000000), (
-2.00000000,
-6.00000000), (
-1.00000000,
-5.00000000), (
-4.00000000,
-6.00000000), (
-9.00000000,
-4.00000000)
711(
8.,
-5.)x^
0 + (
-9.,
6.)x^
1 + (
8.,
6.)x^
2 + (
1.,
2.)x^
3 + (
-2.,
-6.)x^
4 + (
-1.,
-5.)x^
5 + (
-4.,
-6.)x^
6 + (
-9.,
-4.)x^
7
716call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
719(
-24.0000000,
-36.0000000), (
-63.0000000,
-28.0000000)
721(
-24.,
-36.)x^
0 + (
-63.,
-28.)x^
1
728(
-2.00000000,
+7.00000000), (
+9.00000000,
+4.00000000)
730(
-2.,
7.)x^
0 + (
9.,
4.)x^
1
735call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
747(
-2.00000000,
-1.00000000), (
+0.00000000,
+9.00000000), (
+8.00000000,
+2.00000000), (
+6.00000000,
+4.00000000), (
+6.00000000,
-3.00000000), (
+3.00000000,
+0.00000000), (
-6.00000000,
-4.00000000), (
+1.00000000,
-4.00000000), (
-5.00000000,
+9.00000000)
749(
-2.,
-1.)x^
0 + (
0.,
9.)x^
1 + (
8.,
2.)x^
2 + (
6.,
4.)x^
3 + (
6.,
-3.)x^
4 + (
3.,
0.)x^
5 + (
-6.,
-4.)x^
6 + (
1.,
-4.)x^
7 + (
-5.,
9.)x^
8
754call setResized(diff,
max(
0_IK,
size(coef,
1,
IK)
- order))
757(
-2.00000000,
-1.00000000), (
+0.00000000,
+9.00000000), (
+8.00000000,
+2.00000000), (
+6.00000000,
+4.00000000), (
+6.00000000,
-3.00000000), (
+3.00000000,
+0.00000000), (
-6.00000000,
-4.00000000), (
+1.00000000,
-4.00000000), (
-5.00000000,
+9.00000000)
759(
-2.,
-1.)x^
0 + (
0.,
9.)x^
1 + (
8.,
2.)x^
2 + (
6.,
4.)x^
3 + (
6.,
-3.)x^
4 + (
3.,
0.)x^
5 + (
-6.,
-4.)x^
6 + (
1.,
-4.)x^
7 + (
-5.,
9.)x^
8
- Test:
- test_pm_polynomial
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
-
If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
-
If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
- Copyright
- Computational Data Science Lab
- Author:
- Fatemeh Bagheri, Tuesday 11:34 PM, August 10, 2021, Dallas, TX
Definition at line 2730 of file pm_polynomial.F90.