18 type(display_type) :: disp
19 integer(IK) :: itry, ntry
= 5
20 integer(IK) :: dim, isam, ndim, nsam
24 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
25 call disp%show(
"!Transform 2D sample along the second dimension.")
26 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
31 real(RKG),
allocatable :: tlate(:), tform(:,:), sample(:,:), affinInv(:,:), affinity(:,:)
34 call disp%show(
"dim = 2; ndim = getUnifRand(1, 3); nsam = getUnifRand(4, 5)")
38 call disp%show(
"tlate = getUnifRand(-5, +5, ndim)")
42 call disp%show(
"sample = getUnifRand(-9, +9, ndim, nsam)")
46 call disp%show(
"call setResized(affinity, shape(sample, IK))")
48 call disp%show(
"call setResized(affinInv, shape(sample, IK))")
50 call disp%show(
"tform = getCovRand(1., ndim)")
54 call disp%show(
"affinity = getAffinity(sample, dim, tform) ! whole sample transformation.")
56 call disp%show(
"transpose(affinity)")
57 call disp%show(
transpose(affinity) )
59 call disp%show(
" affinity(:,isam) = getAffinity(sample(:,isam), tform) ! point-wise transformation")
62 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
64 call disp%show(
"transpose(affinity)")
65 call disp%show(
transpose(affinity) )
66 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform)) ! inverse transformation.")
68 call disp%show(
"transpose(affinInv)")
69 call disp%show(
transpose(affinInv) )
70 call disp%show(
"transpose(sample) ! for comparison with affinInv.")
73 call disp%show(
"call setMatInit(tform(2:,1:ndim-1), lowDia, vlow = 0._RKG, vdia = 0._RKG) ! make tform an upper-diagonal matrix.")
74 call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
77 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = upperDiag) ! whole sample transformation.")
78 affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
79 call disp%show(
"transpose(affinity)")
80 call disp%show(
transpose(affinity) )
82 call disp%show(
" affinity(:,isam) = getAffinity(sample(:,isam), tform, upperDiag) ! point-wise transformation")
85 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
87 call disp%show(
"transpose(affinity)")
88 call disp%show(
transpose(affinity) )
89 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform, upperDiag), class = upperDiag) ! inverse transformation.")
91 call disp%show(
"transpose(affinInv)")
92 call disp%show(
transpose(affinInv) )
93 call disp%show(
"transpose(sample) ! for comparison with affinInv.")
96 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = upperUnit) ! whole sample transformation.")
97 affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
98 call disp%show(
"transpose(affinity)")
99 call disp%show(
transpose(affinity) )
101 call disp%show(
" affinity(:,isam) = getAffinity(sample(:,isam), tform, upperUnit) ! point-wise transformation")
104 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
106 call disp%show(
"transpose(affinity)")
107 call disp%show(
transpose(affinity) )
108 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform), class = upperUnit) ! inverse transformation.")
110 call disp%show(
"transpose(affinInv)")
111 call disp%show(
transpose(affinInv) )
112 call disp%show(
"transpose(sample) ! for comparison with affinInv.")
115 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = lowerDiag) ! whole sample transformation.")
116 affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
117 call disp%show(
"transpose(affinity)")
118 call disp%show(
transpose(affinity) )
120 call disp%show(
" affinity(:,isam) = getAffinity(sample(:,isam), tform, lowerDiag) ! point-wise transformation")
123 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
125 call disp%show(
"transpose(affinity)")
126 call disp%show(
transpose(affinity) )
127 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform), class = lowerDiag) ! inverse transformation.")
129 call disp%show(
"transpose(affinInv)")
130 call disp%show(
transpose(affinInv) )
131 call disp%show(
"transpose(sample) ! for comparison with affinInv.")
134 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = lowerUnit) ! whole sample transformation.")
135 affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
136 call disp%show(
"transpose(affinity)")
137 call disp%show(
transpose(affinity) )
139 call disp%show(
" affinity(:,isam) = getAffinity(sample(:,isam), tform, lowerUnit) ! point-wise transformation")
142 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
144 call disp%show(
"transpose(affinity)")
145 call disp%show(
transpose(affinity) )
146 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform), class = lowerUnit) ! inverse transformation.")
148 call disp%show(
"transpose(affinInv)")
149 call disp%show(
transpose(affinInv) )
150 call disp%show(
"transpose(sample) ! for comparison with affinInv.")
156 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
157 call disp%show(
"!Transform 2D sample along the first dimension.")
158 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
163 real(RKG),
allocatable :: tlate(:), tform(:,:), sample(:,:), affinInv(:,:), affinity(:,:)
166 call disp%show(
"dim = 1; ndim = getUnifRand(1, 3); nsam = getUnifRand(4, 5)")
170 call disp%show(
"tlate = getUnifRand(-5, +5, ndim)")
174 call disp%show(
"sample = getUnifRand(-9, +9, nsam, ndim)")
178 call disp%show(
"call setResized(affinity, shape(sample, IK))")
180 call disp%show(
"call setResized(affinInv, shape(sample, IK))")
182 call disp%show(
"tform = getCovRand(1., ndim)")
186 call disp%show(
"affinity = getAffinity(sample, dim, tform) ! whole sample transformation.")
191 call disp%show(
" affinity(isam,:) = getAffinity(sample(isam,:), tform) ! point-wise transformation")
194 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
198 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform)) ! inverse transformation.")
202 call disp%show(
"sample ! for comparison with affinInv.")
205 call disp%show(
"call setMatInit(tform(2:,1:ndim-1), lowDia, vlow = 0._RKG, vdia = 0._RKG) ! make tform an upper-diagonal matrix.")
206 call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
209 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = upperDiag) ! whole sample transformation.")
210 affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
214 call disp%show(
" affinity(isam,:) = getAffinity(sample(isam,:), tform, upperDiag) ! point-wise transformation")
217 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
221 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform, upperDiag), class = upperDiag) ! inverse transformation.")
225 call disp%show(
"sample ! for comparison with affinInv.")
228 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = upperUnit) ! whole sample transformation.")
229 affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
233 call disp%show(
" affinity(isam,:) = getAffinity(sample(isam,:), tform, upperUnit) ! point-wise transformation")
236 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
240 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform), class = upperUnit) ! inverse transformation.")
244 call disp%show(
"sample ! for comparison with affinInv.")
247 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = lowerDiag) ! whole sample transformation.")
248 affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
252 call disp%show(
" affinity(isam,:) = getAffinity(sample(isam,:), tform, lowerDiag) ! point-wise transformation")
255 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
259 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform), class = lowerDiag) ! inverse transformation.")
263 call disp%show(
"sample ! for comparison with affinInv.")
266 call disp%show(
"affinity = getAffinity(sample, dim, tform, class = lowerUnit) ! whole sample transformation.")
267 affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
271 call disp%show(
" affinity(isam,:) = getAffinity(sample(isam,:), tform, lowerUnit) ! point-wise transformation")
274 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
278 call disp%show(
"affinInv = getAffinity(affinity, dim, getMatInv(tform), class = lowerUnit) ! inverse transformation.")
282 call disp%show(
"sample ! for comparison with affinInv.")
303 type(css_type),
allocatable :: shapes(:), tforms(:)
304 integer(IK) :: ishape, itform
305 integer(IK),
parameter :: nsam
= 1000, ndim
= 2, dim
= 2
306 real(RKG),
allocatable :: angle, tlate(:), cov(:,:), tform(:,:), sample(:,:), affinity(:,:), affinInv(:,:)
310 do ishape
= 1,
size(shapes)
311 if (shapes(ishape)
%val
== "circle")
then
313 elseif (shapes(ishape)
%val
== "square")
then
316 error stop "Unrecognized shape."
318 do itform
= 1,
size(tforms)
319 if (tforms(itform)
%val
== "rotation")
then
321 tform
= reshape([
cos(angle),
-sin(angle),
sin(angle),
cos(angle)], [ndim, ndim])
322 affinity
= getAffinity(sample, dim, tform, genrecmat, tlate)
323 elseif (tforms(itform)
%val
== "warp")
then
324 cov
= reshape([
1., .
5, .
5,
1.], shape
= [ndim, ndim])
326 affinity
= getAffinity(sample, dim, tform, lowerDiag, tlate)
328 error stop "Unrecognized tform."
331 if (
0 /= getErrTableWrite(SK_
"getAffinity."//tforms(itform)
%val
//SK_
"."//shapes(ishape)
%val
//SK_
".sample.txt", sample, trans))
error stop "Failed table-write."
332 if (
0 /= getErrTableWrite(SK_
"getAffinity."//tforms(itform)
%val
//SK_
"."//shapes(ishape)
%val
//SK_
".affinity.txt", affinity, trans))
error stop "Failed table-write."
333 if (
0 /= getErrTableWrite(SK_
"getAffinity."//tforms(itform)
%val
//SK_
"."//shapes(ishape)
%val
//SK_
".affinInv.txt", affinInv, trans))
error stop "Failed table-write."
Generate and return an array of the specified rank and shape of arbitrary intrinsic type and kind wit...
Allocate or resize (shrink or expand) an input allocatable scalar string or array of rank 1....
Generate count evenly spaced points over the interval [x1, x2] if x1 < x2, or [x2,...
Generate and return a random positive-definite (correlation or covariance) matrix using the Gram meth...
Generate and return a (collection) of random vector(s) of size ndim from the ndim-dimensional MultiVa...
Generate and return a scalar or a contiguous array of rank 1 of length s1 of randomly uniformly distr...
Generate and return the iostat code resulting from writing the input table of rank 1 or 2 to the spec...
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 the upper or the lower Cholesky factorization of the input symmetric positive-def...
Generate and return a matrix of shape (shape(1), shape(2)) with the upper/lower triangle and the diag...
Set the upper/lower triangle and the diagonal elements of the input matrix of arbitrary shape (:,...
Generate and return the full inverse of an input matrix of general or triangular form directly or thr...
Generate a sample of shape (nsam), or (ndim, nsam) or (nsam, ndim) that is shifted by the specified i...
This module contains procedures and generic interfaces for convenient allocation and filling of array...
This module contains procedures and generic interfaces for resizing allocatable arrays of various typ...
This module contains procedures and generic interfaces for generating arrays with linear or logarithm...
This module contains the derived types for generating allocatable containers of scalar,...
This module contains classes and procedures for generating random matrices distributed on the space o...
This module contains classes and procedures for computing various statistical quantities related to t...
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 LK
The default logical kind in the ParaMonte library: kind(.true.) in Fortran, kind(....
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.
This module contains relevant mathematical constants.
real(RKB), parameter PI
The scalar real constant of kind with highest available precision RKB representing the irrational num...
This module contains procedures and generic interfaces for computing the Cholesky factorization of po...
This module contains procedures and generic interfaces relevant to generating and initializing matric...
This module contains abstract and concrete derived types and procedures related to the inversion of s...
This module contains classes and procedures for shifting univariate or multivariate samples by arbitr...
This is the css_type type for generating instances of container of scalar of string objects.
Generate and return an object of type display_type.
12-4.00000000,
+2.00000000
15+9.00000000,
+8.00000000,
+1.00000000,
+6.00000000
16+5.00000000,
+1.00000000,
-6.00000000,
+3.00000000
21+1.00000000,
+0.895324886
22+0.895324886,
+1.00000000
25+13.4766245,
+13.0579243
26+8.89532471,
+8.16259956
27-4.37194920,
-5.10467529
28+8.68597412,
+8.37194920
30 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
33+13.4766245,
+13.0579243
34+8.89532471,
+8.16259956
35-4.37194920,
-5.10467529
36+8.68597412,
+8.37194920
39+8.99999619,
+5.00000381
40+8.00000000,
+1.00000381
41+1.00000000,
-6.00000191
42+5.99999619,
+3.00000000
44+9.00000000,
+5.00000000
45+8.00000000,
+1.00000000
46+1.00000000,
-6.00000000
47+6.00000000,
+3.00000000
49call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
51+1.00000000,
+0.895324886
52+0.00000000,
+1.00000000
53affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
55+13.4766245,
+5.00000000
56+8.89532471,
+1.00000000
57-4.37194920,
-6.00000000
58+8.68597412,
+3.00000000
60 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
63+13.4766245,
+5.00000000
64+8.89532471,
+1.00000000
65-4.37194920,
-6.00000000
66+8.68597412,
+3.00000000
69+9.00000000,
+5.00000000
70+8.00000000,
+1.00000000
71+1.00000000,
-6.00000000
72+5.99999952,
+3.00000000
74+9.00000000,
+5.00000000
75+8.00000000,
+1.00000000
76+1.00000000,
-6.00000000
77+6.00000000,
+3.00000000
79affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
81+13.4766245,
+5.00000000
82+8.89532471,
+1.00000000
83-4.37194920,
-6.00000000
84+8.68597412,
+3.00000000
86 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
89+13.4766245,
+5.00000000
90+8.89532471,
+1.00000000
91-4.37194920,
-6.00000000
92+8.68597412,
+3.00000000
95+9.00000000,
+5.00000000
96+8.00000000,
+1.00000000
97+1.00000000,
-6.00000000
98+5.99999952,
+3.00000000
100+9.00000000,
+5.00000000
101+8.00000000,
+1.00000000
102+1.00000000,
-6.00000000
103+6.00000000,
+3.00000000
105affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
107+9.00000000,
+5.00000000
108+8.00000000,
+1.00000000
109+1.00000000,
-6.00000000
110+6.00000000,
+3.00000000
112 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
115+9.00000000,
+5.00000000
116+8.00000000,
+1.00000000
117+1.00000000,
-6.00000000
118+6.00000000,
+3.00000000
121+9.00000000,
+5.00000000
122+8.00000000,
+1.00000000
123+1.00000000,
-6.00000000
124+6.00000000,
+3.00000000
126+9.00000000,
+5.00000000
127+8.00000000,
+1.00000000
128+1.00000000,
-6.00000000
129+6.00000000,
+3.00000000
131affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
133+9.00000000,
+5.00000000
134+8.00000000,
+1.00000000
135+1.00000000,
-6.00000000
136+6.00000000,
+3.00000000
138 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
141+9.00000000,
+5.00000000
142+8.00000000,
+1.00000000
143+1.00000000,
-6.00000000
144+6.00000000,
+3.00000000
147+9.00000000,
+5.00000000
148+8.00000000,
+1.00000000
149+1.00000000,
-6.00000000
150+6.00000000,
+3.00000000
152+9.00000000,
+5.00000000
153+8.00000000,
+1.00000000
154+1.00000000,
-6.00000000
155+6.00000000,
+3.00000000
165+4.00000000,
+2.00000000,
+9.00000000,
+1.00000000
178 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
197call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
200affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
207 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
226affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
233 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
252affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
259 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
278affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
285 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
312+5.00000000,
+5.00000000,
-8.00000000,
-7.00000000
325 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
344call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
347affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
354 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
373affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
380 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
399affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
406 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
425affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
432 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
456-4.00000000,
+5.00000000,
+5.00000000
459-9.00000000,
-4.00000000,
+0.00000000,
+3.00000000,
+4.00000000
460+3.00000000,
+7.00000000,
+6.00000000,
-3.00000000,
+3.00000000
461+6.00000000,
+4.00000000,
-3.00000000,
+8.00000000,
-5.00000000
466+1.00000000,
+0.992524028,
-0.746748388
467+0.992524028,
+1.00000000,
-0.820488811
468-0.746748388,
-0.820488811,
+1.00000000
471-10.5029182,
-10.8556490,
+10.2592697
472-0.393254757E-1,
-0.252051353,
+1.24357200
473+8.19538879,
+8.46146584,
-7.92293262
474-5.95155907,
-6.58633852,
+8.22122097
475+10.7113142,
+11.0725403,
-10.4484596
477 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
480-10.5029182,
-10.8556490,
+10.2592697
481-0.393254757E-1,
-0.252051353,
+1.24357200
482+8.19538879,
+8.46146584,
-7.92293262
483-5.95155907,
-6.58633852,
+8.22122097
484+10.7113142,
+11.0725403,
-10.4484596
487-9.00146484,
+3.00122070,
+6.00006104
488-4.00045776,
+7.00057983,
+4.00009918
489+0.610351562E-3,
+5.99877930,
-2.99990845
490+2.99926758,
-2.99975586,
+7.99990845
491+4.00097656,
+2.99877930,
-5.00000000
493-9.00000000,
+3.00000000,
+6.00000000
494-4.00000000,
+7.00000000,
+4.00000000
495+0.00000000,
+6.00000000,
-3.00000000
496+3.00000000,
-3.00000000,
+8.00000000
497+4.00000000,
+3.00000000,
-5.00000000
499call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
501+1.00000000,
+0.992524028,
-0.746748388
502+0.00000000,
+1.00000000,
-0.820488811
503+0.00000000,
+0.00000000,
+1.00000000
504affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
506-10.5029182,
-1.92293262,
+6.00000000
507-0.393254757E-1,
+3.71804476,
+4.00000000
508+8.19538879,
+8.46146584,
-3.00000000
509-5.95155907,
-9.56391048,
+8.00000000
510+10.7113142,
+7.10244417,
-5.00000000
512 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
515-10.5029182,
-1.92293262,
+6.00000000
516-0.393254757E-1,
+3.71804476,
+4.00000000
517+8.19538879,
+8.46146584,
-3.00000000
518-5.95155907,
-9.56391048,
+8.00000000
519+10.7113142,
+7.10244417,
-5.00000000
522-9.00000000,
+3.00000000,
+6.00000000
523-4.00000000,
+7.00000000,
+4.00000000
524+0.00000000,
+5.99999952,
-3.00000000
525+3.00000000,
-3.00000000,
+8.00000000
526+4.00000000,
+3.00000000,
-5.00000000
528-9.00000000,
+3.00000000,
+6.00000000
529-4.00000000,
+7.00000000,
+4.00000000
530+0.00000000,
+6.00000000,
-3.00000000
531+3.00000000,
-3.00000000,
+8.00000000
532+4.00000000,
+3.00000000,
-5.00000000
534affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
536-10.5029182,
-1.92293262,
+6.00000000
537-0.393254757E-1,
+3.71804476,
+4.00000000
538+8.19538879,
+8.46146584,
-3.00000000
539-5.95155907,
-9.56391048,
+8.00000000
540+10.7113142,
+7.10244417,
-5.00000000
542 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
545-10.5029182,
-1.92293262,
+6.00000000
546-0.393254757E-1,
+3.71804476,
+4.00000000
547+8.19538879,
+8.46146584,
-3.00000000
548-5.95155907,
-9.56391048,
+8.00000000
549+10.7113142,
+7.10244417,
-5.00000000
552-9.00000000,
+3.00000000,
+6.00000000
553-4.00000000,
+7.00000000,
+4.00000000
554+0.00000000,
+5.99999952,
-3.00000000
555+3.00000000,
-3.00000000,
+8.00000000
556+4.00000000,
+3.00000000,
-5.00000000
558-9.00000000,
+3.00000000,
+6.00000000
559-4.00000000,
+7.00000000,
+4.00000000
560+0.00000000,
+6.00000000,
-3.00000000
561+3.00000000,
-3.00000000,
+8.00000000
562+4.00000000,
+3.00000000,
-5.00000000
564affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
566-9.00000000,
+3.00000000,
+6.00000000
567-4.00000000,
+7.00000000,
+4.00000000
568+0.00000000,
+6.00000000,
-3.00000000
569+3.00000000,
-3.00000000,
+8.00000000
570+4.00000000,
+3.00000000,
-5.00000000
572 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
575-9.00000000,
+3.00000000,
+6.00000000
576-4.00000000,
+7.00000000,
+4.00000000
577+0.00000000,
+6.00000000,
-3.00000000
578+3.00000000,
-3.00000000,
+8.00000000
579+4.00000000,
+3.00000000,
-5.00000000
582-9.00000000,
+3.00000000,
+6.00000000
583-4.00000000,
+7.00000000,
+4.00000000
584+0.00000000,
+6.00000000,
-3.00000000
585+3.00000000,
-3.00000000,
+8.00000000
586+4.00000000,
+3.00000000,
-5.00000000
588-9.00000000,
+3.00000000,
+6.00000000
589-4.00000000,
+7.00000000,
+4.00000000
590+0.00000000,
+6.00000000,
-3.00000000
591+3.00000000,
-3.00000000,
+8.00000000
592+4.00000000,
+3.00000000,
-5.00000000
594affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
596-9.00000000,
+3.00000000,
+6.00000000
597-4.00000000,
+7.00000000,
+4.00000000
598+0.00000000,
+6.00000000,
-3.00000000
599+3.00000000,
-3.00000000,
+8.00000000
600+4.00000000,
+3.00000000,
-5.00000000
602 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
605-9.00000000,
+3.00000000,
+6.00000000
606-4.00000000,
+7.00000000,
+4.00000000
607+0.00000000,
+6.00000000,
-3.00000000
608+3.00000000,
-3.00000000,
+8.00000000
609+4.00000000,
+3.00000000,
-5.00000000
612-9.00000000,
+3.00000000,
+6.00000000
613-4.00000000,
+7.00000000,
+4.00000000
614+0.00000000,
+6.00000000,
-3.00000000
615+3.00000000,
-3.00000000,
+8.00000000
616+4.00000000,
+3.00000000,
-5.00000000
618-9.00000000,
+3.00000000,
+6.00000000
619-4.00000000,
+7.00000000,
+4.00000000
620+0.00000000,
+6.00000000,
-3.00000000
621+3.00000000,
-3.00000000,
+8.00000000
622+4.00000000,
+3.00000000,
-5.00000000
629+2.00000000,
+1.00000000
632+4.00000000,
+0.00000000,
+4.00000000,
-5.00000000,
+5.00000000
633+2.00000000,
+5.00000000,
-9.00000000,
+1.00000000,
+9.00000000
638+1.00000000,
-0.592477202
639-0.592477202,
+1.00000000
642+2.81504560,
-0.369908810
643-2.96238613,
+5.00000000
644+9.33229446,
-11.3699093
645-5.59247732,
+3.96238613
646-0.332294941,
+6.03761387
648 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
651+2.81504560,
-0.369908810
652-2.96238613,
+5.00000000
653+9.33229446,
-11.3699093
654-5.59247732,
+3.96238613
655-0.332294941,
+6.03761387
658+4.00000000,
+2.00000000
659+0.00000000,
+5.00000000
660+3.99999809,
-9.00000191
661-5.00000000,
+1.00000048
662+4.99999952,
+9.00000000
664+4.00000000,
+2.00000000
665+0.00000000,
+5.00000000
666+4.00000000,
-9.00000000
667-5.00000000,
+1.00000000
668+5.00000000,
+9.00000000
670call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
672+1.00000000,
-0.592477202
673+0.00000000,
+1.00000000
674affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
676+2.81504560,
+2.00000000
677-2.96238613,
+5.00000000
678+9.33229446,
-9.00000000
679-5.59247732,
+1.00000000
680-0.332294941,
+9.00000000
682 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
685+2.81504560,
+2.00000000
686-2.96238613,
+5.00000000
687+9.33229446,
-9.00000000
688-5.59247732,
+1.00000000
689-0.332294941,
+9.00000000
692+4.00000000,
+2.00000000
693+0.00000000,
+5.00000000
694+3.99999952,
-9.00000000
695-5.00000000,
+1.00000000
696+5.00000000,
+9.00000000
698+4.00000000,
+2.00000000
699+0.00000000,
+5.00000000
700+4.00000000,
-9.00000000
701-5.00000000,
+1.00000000
702+5.00000000,
+9.00000000
704affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
706+2.81504560,
+2.00000000
707-2.96238613,
+5.00000000
708+9.33229446,
-9.00000000
709-5.59247732,
+1.00000000
710-0.332294941,
+9.00000000
712 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
715+2.81504560,
+2.00000000
716-2.96238613,
+5.00000000
717+9.33229446,
-9.00000000
718-5.59247732,
+1.00000000
719-0.332294941,
+9.00000000
722+4.00000000,
+2.00000000
723+0.00000000,
+5.00000000
724+3.99999952,
-9.00000000
725-5.00000000,
+1.00000000
726+5.00000000,
+9.00000000
728+4.00000000,
+2.00000000
729+0.00000000,
+5.00000000
730+4.00000000,
-9.00000000
731-5.00000000,
+1.00000000
732+5.00000000,
+9.00000000
734affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
736+4.00000000,
+2.00000000
737+0.00000000,
+5.00000000
738+4.00000000,
-9.00000000
739-5.00000000,
+1.00000000
740+5.00000000,
+9.00000000
742 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
745+4.00000000,
+2.00000000
746+0.00000000,
+5.00000000
747+4.00000000,
-9.00000000
748-5.00000000,
+1.00000000
749+5.00000000,
+9.00000000
752+4.00000000,
+2.00000000
753+0.00000000,
+5.00000000
754+4.00000000,
-9.00000000
755-5.00000000,
+1.00000000
756+5.00000000,
+9.00000000
758+4.00000000,
+2.00000000
759+0.00000000,
+5.00000000
760+4.00000000,
-9.00000000
761-5.00000000,
+1.00000000
762+5.00000000,
+9.00000000
764affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
766+4.00000000,
+2.00000000
767+0.00000000,
+5.00000000
768+4.00000000,
-9.00000000
769-5.00000000,
+1.00000000
770+5.00000000,
+9.00000000
772 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
775+4.00000000,
+2.00000000
776+0.00000000,
+5.00000000
777+4.00000000,
-9.00000000
778-5.00000000,
+1.00000000
779+5.00000000,
+9.00000000
782+4.00000000,
+2.00000000
783+0.00000000,
+5.00000000
784+4.00000000,
-9.00000000
785-5.00000000,
+1.00000000
786+5.00000000,
+9.00000000
788+4.00000000,
+2.00000000
789+0.00000000,
+5.00000000
790+4.00000000,
-9.00000000
791-5.00000000,
+1.00000000
792+5.00000000,
+9.00000000
804-1.00000000,
+3.00000000,
+4.00000000
807+9.00000000,
-6.00000000,
+6.00000000
808-9.00000000,
-3.00000000,
+6.00000000
809+6.00000000,
+4.00000000,
+7.00000000
810+0.00000000,
+4.00000000,
-1.00000000
815+1.00000000,
+0.840149701,
+0.516399145
816+0.840149701,
+1.00000000,
-0.167174637E-1
817+0.516399145,
-0.167174637E-1,
+1.00000000
820+7.05749655,
+1.46104264,
+10.7478971
821-8.42205429,
-10.6616526,
+1.40255976
822+12.9753923,
+8.92387581,
+10.0315247
823+2.84419966,
+4.01671743,
-1.06686985
825 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
828+7.05749655,
+1.46104264,
+10.7478971
829-8.42205429,
-10.6616526,
+1.40255976
830+12.9753923,
+8.92387581,
+10.0315247
831+2.84419966,
+4.01671743,
-1.06686985
834+8.99993896,
-5.99993896,
+6.00004578
835-8.99985886,
-3.00009155,
+5.99995041
836+5.99987793,
+4.00009155,
+7.00004578
837-0.152587891E-4,
+4.00001526,
-0.999992371
839+9.00000000,
-6.00000000,
+6.00000000
840-9.00000000,
-3.00000000,
+6.00000000
841+6.00000000,
+4.00000000,
+7.00000000
842+0.00000000,
+4.00000000,
-1.00000000
844call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
846+1.00000000,
+0.840149701,
+0.516399145
847+0.00000000,
+1.00000000,
-0.167174637E-1
848+0.00000000,
+0.00000000,
+1.00000000
849affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
851+7.05749655,
-6.10030460,
+6.00000000
852-8.42205429,
-3.10030484,
+6.00000000
853+12.9753933,
+3.88297772,
+7.00000000
854+2.84419966,
+4.01671743,
-1.00000000
856 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
859+7.05749655,
-6.10030460,
+6.00000000
860-8.42205429,
-3.10030484,
+6.00000000
861+12.9753933,
+3.88297772,
+7.00000000
862+2.84419966,
+4.01671743,
-1.00000000
865+9.00000000,
-6.00000000,
+6.00000000
866-9.00000000,
-3.00000000,
+6.00000000
867+6.00000048,
+4.00000000,
+7.00000000
868+0.00000000,
+4.00000000,
-1.00000000
870+9.00000000,
-6.00000000,
+6.00000000
871-9.00000000,
-3.00000000,
+6.00000000
872+6.00000000,
+4.00000000,
+7.00000000
873+0.00000000,
+4.00000000,
-1.00000000
875affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
877+7.05749655,
-6.10030460,
+6.00000000
878-8.42205429,
-3.10030484,
+6.00000000
879+12.9753933,
+3.88297772,
+7.00000000
880+2.84419966,
+4.01671743,
-1.00000000
882 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
885+7.05749655,
-6.10030460,
+6.00000000
886-8.42205429,
-3.10030484,
+6.00000000
887+12.9753933,
+3.88297772,
+7.00000000
888+2.84419966,
+4.01671743,
-1.00000000
891+9.00000000,
-6.00000000,
+6.00000000
892-9.00000000,
-3.00000000,
+6.00000000
893+6.00000048,
+4.00000000,
+7.00000000
894+0.00000000,
+4.00000000,
-1.00000000
896+9.00000000,
-6.00000000,
+6.00000000
897-9.00000000,
-3.00000000,
+6.00000000
898+6.00000000,
+4.00000000,
+7.00000000
899+0.00000000,
+4.00000000,
-1.00000000
901affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
903+9.00000000,
-6.00000000,
+6.00000000
904-9.00000000,
-3.00000000,
+6.00000000
905+6.00000000,
+4.00000000,
+7.00000000
906+0.00000000,
+4.00000000,
-1.00000000
908 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
911+9.00000000,
-6.00000000,
+6.00000000
912-9.00000000,
-3.00000000,
+6.00000000
913+6.00000000,
+4.00000000,
+7.00000000
914+0.00000000,
+4.00000000,
-1.00000000
917+9.00000000,
-6.00000000,
+6.00000000
918-9.00000000,
-3.00000000,
+6.00000000
919+6.00000000,
+4.00000000,
+7.00000000
920+0.00000000,
+4.00000000,
-1.00000000
922+9.00000000,
-6.00000000,
+6.00000000
923-9.00000000,
-3.00000000,
+6.00000000
924+6.00000000,
+4.00000000,
+7.00000000
925+0.00000000,
+4.00000000,
-1.00000000
927affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
929+9.00000000,
-6.00000000,
+6.00000000
930-9.00000000,
-3.00000000,
+6.00000000
931+6.00000000,
+4.00000000,
+7.00000000
932+0.00000000,
+4.00000000,
-1.00000000
934 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
937+9.00000000,
-6.00000000,
+6.00000000
938-9.00000000,
-3.00000000,
+6.00000000
939+6.00000000,
+4.00000000,
+7.00000000
940+0.00000000,
+4.00000000,
-1.00000000
943+9.00000000,
-6.00000000,
+6.00000000
944-9.00000000,
-3.00000000,
+6.00000000
945+6.00000000,
+4.00000000,
+7.00000000
946+0.00000000,
+4.00000000,
-1.00000000
948+9.00000000,
-6.00000000,
+6.00000000
949-9.00000000,
-3.00000000,
+6.00000000
950+6.00000000,
+4.00000000,
+7.00000000
951+0.00000000,
+4.00000000,
-1.00000000
958+3.00000000,
-2.00000000,
-2.00000000
961-4.00000000,
-5.00000000,
-2.00000000
962-7.00000000,
+1.00000000,
-6.00000000
963+5.00000000,
+5.00000000,
+5.00000000
964+7.00000000,
-9.00000000,
-3.00000000
965-1.00000000,
-8.00000000,
+9.00000000
970+1.00000000,
-0.961070478,
+0.609573305
971-0.961070478,
+1.00000000,
-0.767626822
972+0.609573305,
-0.767626822,
+1.00000000
975-0.413794398,
+0.379535556,
-0.600159168
976-11.6185102,
+12.3332539,
-11.0346394
977+3.24251437,
-3.64348626,
+4.20973253
978+13.8209143,
-13.4246130,
+8.17565441
979+12.1747236,
-13.9475708,
+14.5314407
981 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
984-0.413794398,
+0.379535556,
-0.600159168
985-11.6185102,
+12.3332539,
-11.0346394
986+3.24251437,
-3.64348626,
+4.20973253
987+13.8209143,
-13.4246130,
+8.17565441
988+12.1747236,
-13.9475708,
+14.5314407
991-4.00000477,
-5.00000668,
-2.00000238
992-6.99996948,
+1.00003052,
-6.00000763
993+5.00001144,
+5.00000763,
+5.00000763
994+6.99996185,
-9.00006866,
-2.99999619
995-1.00003052,
-8.00006104,
+9.00000000
997-4.00000000,
-5.00000000,
-2.00000000
998-7.00000000,
+1.00000000,
-6.00000000
999+5.00000000,
+5.00000000,
+5.00000000
1000+7.00000000,
-9.00000000,
-3.00000000
1001-1.00000000,
-8.00000000,
+9.00000000
1003call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1005+1.00000000,
-0.961070478,
+0.609573305
1006+0.00000000,
+1.00000000,
-0.767626822
1007+0.00000000,
+0.00000000,
+1.00000000
1008affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1010-0.413794518,
-3.46474648,
-2.00000000
1011-11.6185102,
+5.60576105,
-6.00000000
1012+3.24251437,
+1.16186595,
+5.00000000
1013+13.8209143,
-6.69711971,
-3.00000000
1014+12.1747236,
-14.9086418,
+9.00000000
1016 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1019-0.413794518,
-3.46474648,
-2.00000000
1020-11.6185102,
+5.60576105,
-6.00000000
1021+3.24251437,
+1.16186595,
+5.00000000
1022+13.8209143,
-6.69711971,
-3.00000000
1023+12.1747236,
-14.9086418,
+9.00000000
1026-4.00000048,
-5.00000000,
-2.00000000
1027-7.00000000,
+1.00000000,
-6.00000000
1028+5.00000048,
+5.00000000,
+5.00000000
1029+6.99999952,
-9.00000000,
-3.00000000
1030-1.00000000,
-8.00000000,
+9.00000000
1032-4.00000000,
-5.00000000,
-2.00000000
1033-7.00000000,
+1.00000000,
-6.00000000
1034+5.00000000,
+5.00000000,
+5.00000000
1035+7.00000000,
-9.00000000,
-3.00000000
1036-1.00000000,
-8.00000000,
+9.00000000
1038affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1040-0.413794518,
-3.46474648,
-2.00000000
1041-11.6185102,
+5.60576105,
-6.00000000
1042+3.24251437,
+1.16186595,
+5.00000000
1043+13.8209143,
-6.69711971,
-3.00000000
1044+12.1747236,
-14.9086418,
+9.00000000
1046 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1049-0.413794518,
-3.46474648,
-2.00000000
1050-11.6185102,
+5.60576105,
-6.00000000
1051+3.24251437,
+1.16186595,
+5.00000000
1052+13.8209143,
-6.69711971,
-3.00000000
1053+12.1747236,
-14.9086418,
+9.00000000
1056-4.00000048,
-5.00000000,
-2.00000000
1057-7.00000000,
+1.00000000,
-6.00000000
1058+5.00000048,
+5.00000000,
+5.00000000
1059+6.99999952,
-9.00000000,
-3.00000000
1060-1.00000000,
-8.00000000,
+9.00000000
1062-4.00000000,
-5.00000000,
-2.00000000
1063-7.00000000,
+1.00000000,
-6.00000000
1064+5.00000000,
+5.00000000,
+5.00000000
1065+7.00000000,
-9.00000000,
-3.00000000
1066-1.00000000,
-8.00000000,
+9.00000000
1068affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1070-4.00000000,
-5.00000000,
-2.00000000
1071-7.00000000,
+1.00000000,
-6.00000000
1072+5.00000000,
+5.00000000,
+5.00000000
1073+7.00000000,
-9.00000000,
-3.00000000
1074-1.00000000,
-8.00000000,
+9.00000000
1076 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1079-4.00000000,
-5.00000000,
-2.00000000
1080-7.00000000,
+1.00000000,
-6.00000000
1081+5.00000000,
+5.00000000,
+5.00000000
1082+7.00000000,
-9.00000000,
-3.00000000
1083-1.00000000,
-8.00000000,
+9.00000000
1086-4.00000000,
-5.00000000,
-2.00000000
1087-7.00000000,
+1.00000000,
-6.00000000
1088+5.00000000,
+5.00000000,
+5.00000000
1089+7.00000000,
-9.00000000,
-3.00000000
1090-1.00000000,
-8.00000000,
+9.00000000
1092-4.00000000,
-5.00000000,
-2.00000000
1093-7.00000000,
+1.00000000,
-6.00000000
1094+5.00000000,
+5.00000000,
+5.00000000
1095+7.00000000,
-9.00000000,
-3.00000000
1096-1.00000000,
-8.00000000,
+9.00000000
1098affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1100-4.00000000,
-5.00000000,
-2.00000000
1101-7.00000000,
+1.00000000,
-6.00000000
1102+5.00000000,
+5.00000000,
+5.00000000
1103+7.00000000,
-9.00000000,
-3.00000000
1104-1.00000000,
-8.00000000,
+9.00000000
1106 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1109-4.00000000,
-5.00000000,
-2.00000000
1110-7.00000000,
+1.00000000,
-6.00000000
1111+5.00000000,
+5.00000000,
+5.00000000
1112+7.00000000,
-9.00000000,
-3.00000000
1113-1.00000000,
-8.00000000,
+9.00000000
1116-4.00000000,
-5.00000000,
-2.00000000
1117-7.00000000,
+1.00000000,
-6.00000000
1118+5.00000000,
+5.00000000,
+5.00000000
1119+7.00000000,
-9.00000000,
-3.00000000
1120-1.00000000,
-8.00000000,
+9.00000000
1122-4.00000000,
-5.00000000,
-2.00000000
1123-7.00000000,
+1.00000000,
-6.00000000
1124+5.00000000,
+5.00000000,
+5.00000000
1125+7.00000000,
-9.00000000,
-3.00000000
1126-1.00000000,
-8.00000000,
+9.00000000
1133-4.00000000,
+5.00000000,
-5.00000000
1136-7.00000000,
-4.00000000,
+7.00000000
1137+4.00000000,
-9.00000000,
-7.00000000
1138-6.00000000,
-1.00000000,
+2.00000000
1139+0.00000000,
+5.00000000,
-8.00000000
1140-6.00000000,
-2.00000000,
-7.00000000
1145+1.00000000,
+0.983967423,
+0.568975270
1146+0.983967423,
+1.00000000,
+0.631563604
1147+0.568975270,
+0.631563604,
+1.00000000
1150-6.95304203,
-6.46682644,
+0.490918636
1151-8.83853436,
-9.48507500,
-10.4081717
1152-5.84601688,
-5.64067745,
-2.04541540
1153+0.368034840,
-0.525088310E-1,
-4.84218216
1154-11.9507618,
-12.3247499,
-11.6769791
1156 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1159-6.95304203,
-6.46682644,
+0.490918636
1160-8.83853436,
-9.48507500,
-10.4081717
1161-5.84601688,
-5.64067745,
-2.04541540
1162+0.368034840,
-0.525088310E-1,
-4.84218216
1163-11.9507618,
-12.3247499,
-11.6769791
1166-6.99997234,
-4.00003242,
+6.99999905
1167+3.99996567,
-8.99995804,
-7.00000572
1168-5.99998522,
-1.00000668,
+1.99999881
1169+0.476837158E-5,
+4.99999237,
-7.99999952
1170-5.99997330,
-2.00002289,
-7.00000191
1172-7.00000000,
-4.00000000,
+7.00000000
1173+4.00000000,
-9.00000000,
-7.00000000
1174-6.00000000,
-1.00000000,
+2.00000000
1175+0.00000000,
+5.00000000,
-8.00000000
1176-6.00000000,
-2.00000000,
-7.00000000
1178call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1180+1.00000000,
+0.983967423,
+0.568975270
1181+0.00000000,
+1.00000000,
+0.631563604
1182+0.00000000,
+0.00000000,
+1.00000000
1183affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1185-6.95304298,
+0.420945168,
+7.00000000
1186-8.83853436,
-13.4209452,
-7.00000000
1187-5.84601688,
+0.263127208,
+2.00000000
1188+0.368034840,
-0.525088310E-1,
-8.00000000
1189-11.9507618,
-6.42094517,
-7.00000000
1191 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1194-6.95304298,
+0.420945168,
+7.00000000
1195-8.83853436,
-13.4209452,
-7.00000000
1196-5.84601688,
+0.263127208,
+2.00000000
1197+0.368034840,
-0.525088310E-1,
-8.00000000
1198-11.9507618,
-6.42094517,
-7.00000000
1201-7.00000000,
-4.00000000,
+7.00000000
1202+3.99999905,
-9.00000000,
-7.00000000
1203-6.00000000,
-1.00000000,
+2.00000000
1204-0.238418579E-6,
+5.00000000,
-8.00000000
1205-6.00000048,
-2.00000000,
-7.00000000
1207-7.00000000,
-4.00000000,
+7.00000000
1208+4.00000000,
-9.00000000,
-7.00000000
1209-6.00000000,
-1.00000000,
+2.00000000
1210+0.00000000,
+5.00000000,
-8.00000000
1211-6.00000000,
-2.00000000,
-7.00000000
1213affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1215-6.95304298,
+0.420945168,
+7.00000000
1216-8.83853436,
-13.4209452,
-7.00000000
1217-5.84601688,
+0.263127208,
+2.00000000
1218+0.368034840,
-0.525088310E-1,
-8.00000000
1219-11.9507618,
-6.42094517,
-7.00000000
1221 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1224-6.95304298,
+0.420945168,
+7.00000000
1225-8.83853436,
-13.4209452,
-7.00000000
1226-5.84601688,
+0.263127208,
+2.00000000
1227+0.368034840,
-0.525088310E-1,
-8.00000000
1228-11.9507618,
-6.42094517,
-7.00000000
1231-7.00000000,
-4.00000000,
+7.00000000
1232+3.99999905,
-9.00000000,
-7.00000000
1233-6.00000000,
-1.00000000,
+2.00000000
1234-0.238418579E-6,
+5.00000000,
-8.00000000
1235-6.00000048,
-2.00000000,
-7.00000000
1237-7.00000000,
-4.00000000,
+7.00000000
1238+4.00000000,
-9.00000000,
-7.00000000
1239-6.00000000,
-1.00000000,
+2.00000000
1240+0.00000000,
+5.00000000,
-8.00000000
1241-6.00000000,
-2.00000000,
-7.00000000
1243affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1245-7.00000000,
-4.00000000,
+7.00000000
1246+4.00000000,
-9.00000000,
-7.00000000
1247-6.00000000,
-1.00000000,
+2.00000000
1248+0.00000000,
+5.00000000,
-8.00000000
1249-6.00000000,
-2.00000000,
-7.00000000
1251 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1254-7.00000000,
-4.00000000,
+7.00000000
1255+4.00000000,
-9.00000000,
-7.00000000
1256-6.00000000,
-1.00000000,
+2.00000000
1257+0.00000000,
+5.00000000,
-8.00000000
1258-6.00000000,
-2.00000000,
-7.00000000
1261-7.00000000,
-4.00000000,
+7.00000000
1262+4.00000000,
-9.00000000,
-7.00000000
1263-6.00000000,
-1.00000000,
+2.00000000
1264+0.00000000,
+5.00000000,
-8.00000000
1265-6.00000000,
-2.00000000,
-7.00000000
1267-7.00000000,
-4.00000000,
+7.00000000
1268+4.00000000,
-9.00000000,
-7.00000000
1269-6.00000000,
-1.00000000,
+2.00000000
1270+0.00000000,
+5.00000000,
-8.00000000
1271-6.00000000,
-2.00000000,
-7.00000000
1273affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1275-7.00000000,
-4.00000000,
+7.00000000
1276+4.00000000,
-9.00000000,
-7.00000000
1277-6.00000000,
-1.00000000,
+2.00000000
1278+0.00000000,
+5.00000000,
-8.00000000
1279-6.00000000,
-2.00000000,
-7.00000000
1281 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1284-7.00000000,
-4.00000000,
+7.00000000
1285+4.00000000,
-9.00000000,
-7.00000000
1286-6.00000000,
-1.00000000,
+2.00000000
1287+0.00000000,
+5.00000000,
-8.00000000
1288-6.00000000,
-2.00000000,
-7.00000000
1291-7.00000000,
-4.00000000,
+7.00000000
1292+4.00000000,
-9.00000000,
-7.00000000
1293-6.00000000,
-1.00000000,
+2.00000000
1294+0.00000000,
+5.00000000,
-8.00000000
1295-6.00000000,
-2.00000000,
-7.00000000
1297-7.00000000,
-4.00000000,
+7.00000000
1298+4.00000000,
-9.00000000,
-7.00000000
1299-6.00000000,
-1.00000000,
+2.00000000
1300+0.00000000,
+5.00000000,
-8.00000000
1301-6.00000000,
-2.00000000,
-7.00000000
1327 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1346call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1349affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1356 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1375affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1382 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1401affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1408 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1427affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1434 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1458-1.00000000,
-4.00000000
1461+1.00000000,
-1.00000000
1462+5.00000000,
+4.00000000
1463+7.00000000,
-2.00000000
1464+3.00000000,
+9.00000000
1469+1.00000000,
+0.244880095E-1
1470+0.244880095E-1,
+1.00000000
1473+0.975511968,
-0.975511968
1474+5.09795189,
+4.12243986
1475+6.95102406,
-1.82858396
1476+3.22039199,
+9.07346439
1478 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1481+0.975511968,
-0.975511968
1482+5.09795189,
+4.12243986
1483+6.95102406,
-1.82858396
1484+3.22039199,
+9.07346439
1487+0.999999940,
-1.00000000
1488+4.99999952,
+4.00000000
1489+6.99999952,
-2.00000024
1490+2.99999976,
+9.00000095
1492+1.00000000,
-1.00000000
1493+5.00000000,
+4.00000000
1494+7.00000000,
-2.00000000
1495+3.00000000,
+9.00000000
1497call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1499+1.00000000,
+0.244880095E-1
1500+0.00000000,
+1.00000000
1501affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1503+0.975511968,
-1.00000000
1504+5.09795189,
+4.00000000
1505+6.95102406,
-2.00000000
1506+3.22039199,
+9.00000000
1508 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1511+0.975511968,
-1.00000000
1512+5.09795189,
+4.00000000
1513+6.95102406,
-2.00000000
1514+3.22039199,
+9.00000000
1517+1.00000000,
-1.00000000
1518+5.00000000,
+4.00000000
1519+7.00000000,
-2.00000000
1520+3.00000000,
+9.00000000
1522+1.00000000,
-1.00000000
1523+5.00000000,
+4.00000000
1524+7.00000000,
-2.00000000
1525+3.00000000,
+9.00000000
1527affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1529+0.975511968,
-1.00000000
1530+5.09795189,
+4.00000000
1531+6.95102406,
-2.00000000
1532+3.22039199,
+9.00000000
1534 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1537+0.975511968,
-1.00000000
1538+5.09795189,
+4.00000000
1539+6.95102406,
-2.00000000
1540+3.22039199,
+9.00000000
1543+1.00000000,
-1.00000000
1544+5.00000000,
+4.00000000
1545+7.00000000,
-2.00000000
1546+3.00000000,
+9.00000000
1548+1.00000000,
-1.00000000
1549+5.00000000,
+4.00000000
1550+7.00000000,
-2.00000000
1551+3.00000000,
+9.00000000
1553affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1555+1.00000000,
-1.00000000
1556+5.00000000,
+4.00000000
1557+7.00000000,
-2.00000000
1558+3.00000000,
+9.00000000
1560 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1563+1.00000000,
-1.00000000
1564+5.00000000,
+4.00000000
1565+7.00000000,
-2.00000000
1566+3.00000000,
+9.00000000
1569+1.00000000,
-1.00000000
1570+5.00000000,
+4.00000000
1571+7.00000000,
-2.00000000
1572+3.00000000,
+9.00000000
1574+1.00000000,
-1.00000000
1575+5.00000000,
+4.00000000
1576+7.00000000,
-2.00000000
1577+3.00000000,
+9.00000000
1579affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1581+1.00000000,
-1.00000000
1582+5.00000000,
+4.00000000
1583+7.00000000,
-2.00000000
1584+3.00000000,
+9.00000000
1586 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1589+1.00000000,
-1.00000000
1590+5.00000000,
+4.00000000
1591+7.00000000,
-2.00000000
1592+3.00000000,
+9.00000000
1595+1.00000000,
-1.00000000
1596+5.00000000,
+4.00000000
1597+7.00000000,
-2.00000000
1598+3.00000000,
+9.00000000
1600+1.00000000,
-1.00000000
1601+5.00000000,
+4.00000000
1602+7.00000000,
-2.00000000
1603+3.00000000,
+9.00000000
3import matplotlib.pyplot
as plt
12for kind
in [
"warp",
"rotation"]:
14 pattern =
"*."+kind+
"*.txt"
15 fileList = glob.glob(pattern)
19 df = pd.read_csv(file, delimiter =
",", header =
None)
22 left, width = 0.1, 0.65
23 bottom, height = 0.1, 0.65
27 fig = plt.figure(figsize = (8, 8))
29 plt.rcParams.update({
'font.size': fontsize - 2})
30 ax = fig.add_axes([left, bottom, width, height])
31 ax_histx = fig.add_axes([left, bottom + height + spacing, width, 0.2], sharex = ax)
32 ax_histy = fig.add_axes([left + width + spacing, bottom, 0.2, height], sharey = ax)
34 for axes
in [ax, ax_histx, ax_histy]:
35 axes.grid(visible =
True, which =
"both", axis =
"both", color =
"0.85", linestyle =
"-")
36 axes.tick_params(axis =
"y", which =
"minor")
37 axes.tick_params(axis =
"x", which =
"minor")
40 ax_histy.tick_params(axis =
"y", labelleft =
False)
41 ax_histx.tick_params(axis =
"x", labelbottom =
False)
44 ax.scatter ( df.values[:, 0]
50 ax_histx.hist(df.values[:, 0], bins = 50, zorder = 1000)
51 ax_histy.hist(df.values[:, 1], bins = 50, orientation =
"horizontal", zorder = 1000)
53 ax.set_xlabel(
"X", fontsize = 17)
54 ax.set_ylabel(
"Y", fontsize = 17)
55 ax.legend([file.split(
".")[-2]], fontsize = fontsize)
58 plt.savefig(file.replace(
".txt",
".png"))