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-2.00000000,
+1.00000000,
+3.00000000
15-3.00000000,
-2.00000000,
+0.00000000,
+0.00000000,
-7.00000000
16-9.00000000,
-8.00000000,
-4.00000000,
+8.00000000,
+8.00000000
17+2.00000000,
+1.00000000,
+8.00000000,
+4.00000000,
-4.00000000
22+1.00000000,
+0.225927606E-1,
+0.975619927E-1
23+0.225927606E-1,
+1.00000000,
+0.936427712
24+0.975619927E-1,
+0.936427712,
+1.00000000
27-3.00821090,
-7.19492340,
-6.72053528
28-2.08317995,
-7.10875750,
-6.68654585
29+0.690124869,
+3.49142170,
+4.25428915
30+0.570990086,
+11.7457104,
+11.4914217
31-7.20950556,
+4.09613991,
+2.80848789
33 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
36-3.00821090,
-7.19492340,
-6.72053528
37-2.08317995,
-7.10875750,
-6.68654585
38+0.690124869,
+3.49142170,
+4.25428915
39+0.570990086,
+11.7457104,
+11.4914217
40-7.20950556,
+4.09613991,
+2.80848789
43-3.00000048,
-9.00000000,
+2.00000381
44-1.99999952,
-7.99999619,
+0.999996185
45+0.00000000,
-4.00000381,
+8.00000000
46+0.00000000,
+7.99999237,
+4.00000763
47-7.00000000,
+7.99999809,
-4.00000191
49-3.00000000,
-9.00000000,
+2.00000000
50-2.00000000,
-8.00000000,
+1.00000000
51+0.00000000,
-4.00000000,
+8.00000000
52+0.00000000,
+8.00000000,
+4.00000000
53-7.00000000,
+8.00000000,
-4.00000000
55call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
57+1.00000000,
+0.225927606E-1,
+0.975619927E-1
58+0.00000000,
+1.00000000,
+0.936427712
59+0.00000000,
+0.00000000,
+1.00000000
60affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
62-3.00821090,
-7.12714481,
+2.00000000
63-2.08318019,
-7.06357241,
+1.00000000
64+0.690124869,
+3.49142170,
+8.00000000
65+0.570990086,
+11.7457104,
+4.00000000
66-7.20950603,
+4.25428915,
-4.00000000
68 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
71-3.00821090,
-7.12714481,
+2.00000000
72-2.08318019,
-7.06357241,
+1.00000000
73+0.690124869,
+3.49142170,
+8.00000000
74+0.570990086,
+11.7457104,
+4.00000000
75-7.20950603,
+4.25428915,
-4.00000000
78-3.00000000,
-9.00000000,
+2.00000000
79-2.00000000,
-8.00000000,
+1.00000000
80+0.00000000,
-4.00000000,
+8.00000000
81+0.596046448E-7,
+7.99999952,
+4.00000000
82-7.00000000,
+8.00000000,
-4.00000000
84-3.00000000,
-9.00000000,
+2.00000000
85-2.00000000,
-8.00000000,
+1.00000000
86+0.00000000,
-4.00000000,
+8.00000000
87+0.00000000,
+8.00000000,
+4.00000000
88-7.00000000,
+8.00000000,
-4.00000000
90affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
92-3.00821090,
-7.12714481,
+2.00000000
93-2.08318019,
-7.06357241,
+1.00000000
94+0.690124869,
+3.49142170,
+8.00000000
95+0.570990086,
+11.7457104,
+4.00000000
96-7.20950603,
+4.25428915,
-4.00000000
98 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
101-3.00821090,
-7.12714481,
+2.00000000
102-2.08318019,
-7.06357241,
+1.00000000
103+0.690124869,
+3.49142170,
+8.00000000
104+0.570990086,
+11.7457104,
+4.00000000
105-7.20950603,
+4.25428915,
-4.00000000
108-3.00000000,
-9.00000000,
+2.00000000
109-2.00000000,
-8.00000000,
+1.00000000
110+0.00000000,
-4.00000000,
+8.00000000
111+0.596046448E-7,
+7.99999952,
+4.00000000
112-7.00000000,
+8.00000000,
-4.00000000
114-3.00000000,
-9.00000000,
+2.00000000
115-2.00000000,
-8.00000000,
+1.00000000
116+0.00000000,
-4.00000000,
+8.00000000
117+0.00000000,
+8.00000000,
+4.00000000
118-7.00000000,
+8.00000000,
-4.00000000
120affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
122-3.00000000,
-9.00000000,
+2.00000000
123-2.00000000,
-8.00000000,
+1.00000000
124+0.00000000,
-4.00000000,
+8.00000000
125+0.00000000,
+8.00000000,
+4.00000000
126-7.00000000,
+8.00000000,
-4.00000000
128 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
131-3.00000000,
-9.00000000,
+2.00000000
132-2.00000000,
-8.00000000,
+1.00000000
133+0.00000000,
-4.00000000,
+8.00000000
134+0.00000000,
+8.00000000,
+4.00000000
135-7.00000000,
+8.00000000,
-4.00000000
138-3.00000000,
-9.00000000,
+2.00000000
139-2.00000000,
-8.00000000,
+1.00000000
140+0.00000000,
-4.00000000,
+8.00000000
141+0.00000000,
+8.00000000,
+4.00000000
142-7.00000000,
+8.00000000,
-4.00000000
144-3.00000000,
-9.00000000,
+2.00000000
145-2.00000000,
-8.00000000,
+1.00000000
146+0.00000000,
-4.00000000,
+8.00000000
147+0.00000000,
+8.00000000,
+4.00000000
148-7.00000000,
+8.00000000,
-4.00000000
150affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
152-3.00000000,
-9.00000000,
+2.00000000
153-2.00000000,
-8.00000000,
+1.00000000
154+0.00000000,
-4.00000000,
+8.00000000
155+0.00000000,
+8.00000000,
+4.00000000
156-7.00000000,
+8.00000000,
-4.00000000
158 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
161-3.00000000,
-9.00000000,
+2.00000000
162-2.00000000,
-8.00000000,
+1.00000000
163+0.00000000,
-4.00000000,
+8.00000000
164+0.00000000,
+8.00000000,
+4.00000000
165-7.00000000,
+8.00000000,
-4.00000000
168-3.00000000,
-9.00000000,
+2.00000000
169-2.00000000,
-8.00000000,
+1.00000000
170+0.00000000,
-4.00000000,
+8.00000000
171+0.00000000,
+8.00000000,
+4.00000000
172-7.00000000,
+8.00000000,
-4.00000000
174-3.00000000,
-9.00000000,
+2.00000000
175-2.00000000,
-8.00000000,
+1.00000000
176+0.00000000,
-4.00000000,
+8.00000000
177+0.00000000,
+8.00000000,
+4.00000000
178-7.00000000,
+8.00000000,
-4.00000000
188+4.00000000,
-3.00000000,
-1.00000000,
-9.00000000
201 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
220call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
223affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
230 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
249affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
256 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
275affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
282 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
301affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
308 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
332+3.00000000,
+5.00000000,
+0.00000000
335+2.00000000,
+7.00000000,
+7.00000000,
+6.00000000,
-1.00000000
336-6.00000000,
-3.00000000,
-4.00000000,
+8.00000000,
-5.00000000
337+5.00000000,
-8.00000000,
+7.00000000,
-9.00000000,
-4.00000000
342+1.00000000,
+0.845762074,
-0.792924222E-2
343+0.845762074,
+1.00000000,
-0.386259466
344-0.792924222E-2,
-0.386259466,
+1.00000000
347-3.11421871,
-6.23977327,
+7.30169868
348+4.52614784,
+6.01041031,
-6.89672613
349+3.56144691,
-0.783481836,
+8.48953342
350+12.8374596,
+16.5509071,
-12.1376514
351-5.19709349,
-4.30072451,
-2.06077337
353 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
356-3.11421871,
-6.23977327,
+7.30169868
357+4.52614784,
+6.01041031,
-6.89672613
358+3.56144691,
-0.783481836,
+8.48953342
359+12.8374596,
+16.5509071,
-12.1376514
360-5.19709349,
-4.30072451,
-2.06077337
363+1.99999809,
-5.99999619,
+5.00000095
364+7.00000286,
-3.00000191,
-8.00000000
365+7.00000000,
-4.00000000,
+7.00000000
366+6.00000572,
+7.99999237,
-9.00000381
367-1.00000000,
-5.00000095,
-4.00000048
369+2.00000000,
-6.00000000,
+5.00000000
370+7.00000000,
-3.00000000,
-8.00000000
371+7.00000000,
-4.00000000,
+7.00000000
372+6.00000000,
+8.00000000,
-9.00000000
373-1.00000000,
-5.00000000,
-4.00000000
375call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
377+1.00000000,
+0.845762074,
-0.792924222E-2
378+0.00000000,
+1.00000000,
-0.386259466
379+0.00000000,
+0.00000000,
+1.00000000
380affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
382-3.11421871,
-7.93129730,
+5.00000000
383+4.52614784,
+0.900757313E-1,
-8.00000000
384+3.56144691,
-6.70381641,
+7.00000000
385+12.8374596,
+11.4763355,
-9.00000000
386-5.19709349,
-3.45496225,
-4.00000000
388 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
391-3.11421871,
-7.93129730,
+5.00000000
392+4.52614784,
+0.900757313E-1,
-8.00000000
393+3.56144691,
-6.70381641,
+7.00000000
394+12.8374596,
+11.4763355,
-9.00000000
395-5.19709349,
-3.45496225,
-4.00000000
398+2.00000000,
-6.00000000,
+5.00000000
399+7.00000000,
-3.00000000,
-8.00000000
400+7.00000000,
-4.00000000,
+7.00000000
401+6.00000000,
+8.00000000,
-9.00000000
402-1.00000000,
-5.00000000,
-4.00000000
404+2.00000000,
-6.00000000,
+5.00000000
405+7.00000000,
-3.00000000,
-8.00000000
406+7.00000000,
-4.00000000,
+7.00000000
407+6.00000000,
+8.00000000,
-9.00000000
408-1.00000000,
-5.00000000,
-4.00000000
410affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
412-3.11421871,
-7.93129730,
+5.00000000
413+4.52614784,
+0.900757313E-1,
-8.00000000
414+3.56144691,
-6.70381641,
+7.00000000
415+12.8374596,
+11.4763355,
-9.00000000
416-5.19709349,
-3.45496225,
-4.00000000
418 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
421-3.11421871,
-7.93129730,
+5.00000000
422+4.52614784,
+0.900757313E-1,
-8.00000000
423+3.56144691,
-6.70381641,
+7.00000000
424+12.8374596,
+11.4763355,
-9.00000000
425-5.19709349,
-3.45496225,
-4.00000000
428+2.00000000,
-6.00000000,
+5.00000000
429+7.00000000,
-3.00000000,
-8.00000000
430+7.00000000,
-4.00000000,
+7.00000000
431+6.00000000,
+8.00000000,
-9.00000000
432-1.00000000,
-5.00000000,
-4.00000000
434+2.00000000,
-6.00000000,
+5.00000000
435+7.00000000,
-3.00000000,
-8.00000000
436+7.00000000,
-4.00000000,
+7.00000000
437+6.00000000,
+8.00000000,
-9.00000000
438-1.00000000,
-5.00000000,
-4.00000000
440affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
442+2.00000000,
-6.00000000,
+5.00000000
443+7.00000000,
-3.00000000,
-8.00000000
444+7.00000000,
-4.00000000,
+7.00000000
445+6.00000000,
+8.00000000,
-9.00000000
446-1.00000000,
-5.00000000,
-4.00000000
448 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
451+2.00000000,
-6.00000000,
+5.00000000
452+7.00000000,
-3.00000000,
-8.00000000
453+7.00000000,
-4.00000000,
+7.00000000
454+6.00000000,
+8.00000000,
-9.00000000
455-1.00000000,
-5.00000000,
-4.00000000
458+2.00000000,
-6.00000000,
+5.00000000
459+7.00000000,
-3.00000000,
-8.00000000
460+7.00000000,
-4.00000000,
+7.00000000
461+6.00000000,
+8.00000000,
-9.00000000
462-1.00000000,
-5.00000000,
-4.00000000
464+2.00000000,
-6.00000000,
+5.00000000
465+7.00000000,
-3.00000000,
-8.00000000
466+7.00000000,
-4.00000000,
+7.00000000
467+6.00000000,
+8.00000000,
-9.00000000
468-1.00000000,
-5.00000000,
-4.00000000
470affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
472+2.00000000,
-6.00000000,
+5.00000000
473+7.00000000,
-3.00000000,
-8.00000000
474+7.00000000,
-4.00000000,
+7.00000000
475+6.00000000,
+8.00000000,
-9.00000000
476-1.00000000,
-5.00000000,
-4.00000000
478 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
481+2.00000000,
-6.00000000,
+5.00000000
482+7.00000000,
-3.00000000,
-8.00000000
483+7.00000000,
-4.00000000,
+7.00000000
484+6.00000000,
+8.00000000,
-9.00000000
485-1.00000000,
-5.00000000,
-4.00000000
488+2.00000000,
-6.00000000,
+5.00000000
489+7.00000000,
-3.00000000,
-8.00000000
490+7.00000000,
-4.00000000,
+7.00000000
491+6.00000000,
+8.00000000,
-9.00000000
492-1.00000000,
-5.00000000,
-4.00000000
494+2.00000000,
-6.00000000,
+5.00000000
495+7.00000000,
-3.00000000,
-8.00000000
496+7.00000000,
-4.00000000,
+7.00000000
497+6.00000000,
+8.00000000,
-9.00000000
498-1.00000000,
-5.00000000,
-4.00000000
505+4.00000000,
+2.00000000,
+0.00000000
508+0.00000000,
+4.00000000,
+8.00000000,
+5.00000000
509+0.00000000,
-1.00000000,
-2.00000000,
-5.00000000
510-9.00000000,
-6.00000000,
+2.00000000,
+7.00000000
515+1.00000000,
+0.966987073,
+0.293903768
516+0.966987073,
+1.00000000,
+0.118419081
517+0.293903768,
+0.118419081,
+1.00000000
520-2.64513397,
-1.06577170,
-9.00000000
521+1.26959026,
+2.15743375,
-4.94280386
522+6.65383339,
+5.97273493,
+4.11439228
523+2.22239113,
+0.663868785,
+7.87742329
525 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
528-2.64513397,
-1.06577170,
-9.00000000
529+1.26959026,
+2.15743375,
-4.94280386
530+6.65383339,
+5.97273493,
+4.11439228
531+2.22239113,
+0.663868785,
+7.87742329
534+0.00000000,
-0.762939453E-5,
-9.00000000
535+3.99999237,
-0.999992371,
-5.99999952
536+7.99995613,
-1.99997330,
+2.00000381
537+5.00000381,
-5.00000381,
+6.99999905
539+0.00000000,
+0.00000000,
-9.00000000
540+4.00000000,
-1.00000000,
-6.00000000
541+8.00000000,
-2.00000000,
+2.00000000
542+5.00000000,
-5.00000000,
+7.00000000
544call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
546+1.00000000,
+0.966987073,
+0.293903768
547+0.00000000,
+1.00000000,
+0.118419081
548+0.00000000,
+0.00000000,
+1.00000000
549affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
551-2.64513397,
-1.06577170,
-9.00000000
552+1.26959038,
-1.71051455,
-6.00000000
553+6.65383339,
-1.76316190,
+2.00000000
554+2.22239113,
-4.17106628,
+7.00000000
556 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
559-2.64513397,
-1.06577170,
-9.00000000
560+1.26959038,
-1.71051455,
-6.00000000
561+6.65383339,
-1.76316190,
+2.00000000
562+2.22239113,
-4.17106628,
+7.00000000
565-0.238418579E-6,
+0.00000000,
-9.00000000
566+4.00000000,
-1.00000000,
-6.00000000
567+8.00000000,
-2.00000000,
+2.00000000
568+5.00000000,
-5.00000000,
+7.00000000
570+0.00000000,
+0.00000000,
-9.00000000
571+4.00000000,
-1.00000000,
-6.00000000
572+8.00000000,
-2.00000000,
+2.00000000
573+5.00000000,
-5.00000000,
+7.00000000
575affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
577-2.64513397,
-1.06577170,
-9.00000000
578+1.26959038,
-1.71051455,
-6.00000000
579+6.65383339,
-1.76316190,
+2.00000000
580+2.22239113,
-4.17106628,
+7.00000000
582 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
585-2.64513397,
-1.06577170,
-9.00000000
586+1.26959038,
-1.71051455,
-6.00000000
587+6.65383339,
-1.76316190,
+2.00000000
588+2.22239113,
-4.17106628,
+7.00000000
591-0.238418579E-6,
+0.00000000,
-9.00000000
592+4.00000000,
-1.00000000,
-6.00000000
593+8.00000000,
-2.00000000,
+2.00000000
594+5.00000000,
-5.00000000,
+7.00000000
596+0.00000000,
+0.00000000,
-9.00000000
597+4.00000000,
-1.00000000,
-6.00000000
598+8.00000000,
-2.00000000,
+2.00000000
599+5.00000000,
-5.00000000,
+7.00000000
601affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
603+0.00000000,
+0.00000000,
-9.00000000
604+4.00000000,
-1.00000000,
-6.00000000
605+8.00000000,
-2.00000000,
+2.00000000
606+5.00000000,
-5.00000000,
+7.00000000
608 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
611+0.00000000,
+0.00000000,
-9.00000000
612+4.00000000,
-1.00000000,
-6.00000000
613+8.00000000,
-2.00000000,
+2.00000000
614+5.00000000,
-5.00000000,
+7.00000000
617+0.00000000,
+0.00000000,
-9.00000000
618+4.00000000,
-1.00000000,
-6.00000000
619+8.00000000,
-2.00000000,
+2.00000000
620+5.00000000,
-5.00000000,
+7.00000000
622+0.00000000,
+0.00000000,
-9.00000000
623+4.00000000,
-1.00000000,
-6.00000000
624+8.00000000,
-2.00000000,
+2.00000000
625+5.00000000,
-5.00000000,
+7.00000000
627affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
629+0.00000000,
+0.00000000,
-9.00000000
630+4.00000000,
-1.00000000,
-6.00000000
631+8.00000000,
-2.00000000,
+2.00000000
632+5.00000000,
-5.00000000,
+7.00000000
634 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
637+0.00000000,
+0.00000000,
-9.00000000
638+4.00000000,
-1.00000000,
-6.00000000
639+8.00000000,
-2.00000000,
+2.00000000
640+5.00000000,
-5.00000000,
+7.00000000
643+0.00000000,
+0.00000000,
-9.00000000
644+4.00000000,
-1.00000000,
-6.00000000
645+8.00000000,
-2.00000000,
+2.00000000
646+5.00000000,
-5.00000000,
+7.00000000
648+0.00000000,
+0.00000000,
-9.00000000
649+4.00000000,
-1.00000000,
-6.00000000
650+8.00000000,
-2.00000000,
+2.00000000
651+5.00000000,
-5.00000000,
+7.00000000
661+7.00000000,
+2.00000000,
+8.00000000,
-2.00000000,
+6.00000000
675 affinity(:,isam)
= getAffinity(sample(:,isam), tform)
697call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
700affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
708 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperDiag)
730affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
738 affinity(:,isam)
= getAffinity(sample(:,isam), tform, upperUnit)
760affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
768 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerDiag)
790affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
798 affinity(:,isam)
= getAffinity(sample(:,isam), tform, lowerUnit)
851 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
873call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
876affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
884 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
906affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
914 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
936affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
944 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
966affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
974 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1022 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1044call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1047affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1055 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1077affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1085 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1107affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1115 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1137affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1145 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1172+2.00000000,
+3.00000000,
+0.00000000
1175-5.00000000,
+2.00000000,
-3.00000000
1176+1.00000000,
+8.00000000,
-7.00000000
1177+9.00000000,
-8.00000000,
+9.00000000
1178+2.00000000,
+7.00000000,
-7.00000000
1183+1.00000000,
-0.815945625,
-0.683251798
1184-0.815945625,
+1.00000000,
+0.962275386
1185-0.683251798,
+0.962275386,
+1.00000000
1188-4.58213615,
+3.19290209,
+2.34080982
1189-0.744802475,
+0.448126793,
+0.149512291E-1
1190+9.37829876,
-6.68303204,
-4.84746933
1191+1.07114315,
-1.36781883,
-1.63057613
1193 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1196-4.58213615,
+3.19290209,
+2.34080982
1197-0.744802475,
+0.448126793,
+0.149512291E-1
1198+9.37829876,
-6.68303204,
-4.84746933
1199+1.07114315,
-1.36781883,
-1.63057613
1202-5.00000763,
+1.99998474,
-3.00000000
1203+0.999997795,
+7.99999571,
-6.99999666
1204+9.00001907,
-7.99996948,
+8.99999237
1205+2.00000286,
+7.00000000,
-7.00000191
1207-5.00000000,
+2.00000000,
-3.00000000
1208+1.00000000,
+8.00000000,
-7.00000000
1209+9.00000000,
-8.00000000,
+9.00000000
1210+2.00000000,
+7.00000000,
-7.00000000
1212call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1214+1.00000000,
-0.815945625,
-0.683251798
1215+0.00000000,
+1.00000000,
+0.962275386
1216+0.00000000,
+0.00000000,
+1.00000000
1217affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1219-4.58213615,
-0.886826038,
-3.00000000
1220-0.744802475,
+1.26407242,
-7.00000000
1221+9.37829876,
+0.660478592,
+9.00000000
1222+1.07114315,
+0.264072418,
-7.00000000
1224 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1227-4.58213615,
-0.886826038,
-3.00000000
1228-0.744802475,
+1.26407242,
-7.00000000
1229+9.37829876,
+0.660478592,
+9.00000000
1230+1.07114315,
+0.264072418,
-7.00000000
1233-5.00000000,
+2.00000000,
-3.00000000
1234+1.00000024,
+8.00000000,
-7.00000000
1235+9.00000000,
-8.00000000,
+9.00000000
1236+2.00000024,
+7.00000000,
-7.00000000
1238-5.00000000,
+2.00000000,
-3.00000000
1239+1.00000000,
+8.00000000,
-7.00000000
1240+9.00000000,
-8.00000000,
+9.00000000
1241+2.00000000,
+7.00000000,
-7.00000000
1243affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1245-4.58213615,
-0.886826038,
-3.00000000
1246-0.744802475,
+1.26407242,
-7.00000000
1247+9.37829876,
+0.660478592,
+9.00000000
1248+1.07114315,
+0.264072418,
-7.00000000
1250 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1253-4.58213615,
-0.886826038,
-3.00000000
1254-0.744802475,
+1.26407242,
-7.00000000
1255+9.37829876,
+0.660478592,
+9.00000000
1256+1.07114315,
+0.264072418,
-7.00000000
1259-5.00000000,
+2.00000000,
-3.00000000
1260+1.00000024,
+8.00000000,
-7.00000000
1261+9.00000000,
-8.00000000,
+9.00000000
1262+2.00000024,
+7.00000000,
-7.00000000
1264-5.00000000,
+2.00000000,
-3.00000000
1265+1.00000000,
+8.00000000,
-7.00000000
1266+9.00000000,
-8.00000000,
+9.00000000
1267+2.00000000,
+7.00000000,
-7.00000000
1269affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1271-5.00000000,
+2.00000000,
-3.00000000
1272+1.00000000,
+8.00000000,
-7.00000000
1273+9.00000000,
-8.00000000,
+9.00000000
1274+2.00000000,
+7.00000000,
-7.00000000
1276 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1279-5.00000000,
+2.00000000,
-3.00000000
1280+1.00000000,
+8.00000000,
-7.00000000
1281+9.00000000,
-8.00000000,
+9.00000000
1282+2.00000000,
+7.00000000,
-7.00000000
1285-5.00000000,
+2.00000000,
-3.00000000
1286+1.00000000,
+8.00000000,
-7.00000000
1287+9.00000000,
-8.00000000,
+9.00000000
1288+2.00000000,
+7.00000000,
-7.00000000
1290-5.00000000,
+2.00000000,
-3.00000000
1291+1.00000000,
+8.00000000,
-7.00000000
1292+9.00000000,
-8.00000000,
+9.00000000
1293+2.00000000,
+7.00000000,
-7.00000000
1295affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1297-5.00000000,
+2.00000000,
-3.00000000
1298+1.00000000,
+8.00000000,
-7.00000000
1299+9.00000000,
-8.00000000,
+9.00000000
1300+2.00000000,
+7.00000000,
-7.00000000
1302 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1305-5.00000000,
+2.00000000,
-3.00000000
1306+1.00000000,
+8.00000000,
-7.00000000
1307+9.00000000,
-8.00000000,
+9.00000000
1308+2.00000000,
+7.00000000,
-7.00000000
1311-5.00000000,
+2.00000000,
-3.00000000
1312+1.00000000,
+8.00000000,
-7.00000000
1313+9.00000000,
-8.00000000,
+9.00000000
1314+2.00000000,
+7.00000000,
-7.00000000
1316-5.00000000,
+2.00000000,
-3.00000000
1317+1.00000000,
+8.00000000,
-7.00000000
1318+9.00000000,
-8.00000000,
+9.00000000
1319+2.00000000,
+7.00000000,
-7.00000000
1326+2.00000000,
+2.00000000
1329+5.00000000,
-9.00000000
1330+0.00000000,
+9.00000000
1331+6.00000000,
-7.00000000
1332+1.00000000,
-2.00000000
1333+8.00000000,
+1.00000000
1338+1.00000000,
+0.999979317
1339+0.999979317,
+1.00000000
1342-3.99981403,
-4.00010347
1343+8.99981403,
+9.00000000
1344-0.999855042,
-1.00012398
1345-0.999958634,
-1.00002074
1346+8.99997902,
+8.99983406
1348 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1351-3.99981403,
-4.00010347
1352+8.99981403,
+9.00000000
1353-0.999855042,
-1.00012398
1354-0.999958634,
-1.00002074
1355+8.99997902,
+8.99983406
1358+4.99218750,
-8.99218750
1359+0.156250000E-1,
+8.98437500
1360+6.00000000,
-7.00195312
1361+1.00195312,
-2.00195312
1362+8.00000000,
+1.00000000
1364+5.00000000,
-9.00000000
1365+0.00000000,
+9.00000000
1366+6.00000000,
-7.00000000
1367+1.00000000,
-2.00000000
1368+8.00000000,
+1.00000000
1370call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1372+1.00000000,
+0.999979317
1373+0.00000000,
+1.00000000
1374affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1376-3.99981403,
-9.00000000
1377+8.99981403,
+9.00000000
1378-0.999855042,
-7.00000000
1379-0.999958634,
-2.00000000
1380+8.99997902,
+1.00000000
1382 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1385-3.99981403,
-9.00000000
1386+8.99981403,
+9.00000000
1387-0.999855042,
-7.00000000
1388-0.999958634,
-2.00000000
1389+8.99997902,
+1.00000000
1392+5.00000000,
-9.00000000
1393+0.00000000,
+9.00000000
1394+6.00000000,
-7.00000000
1395+1.00000000,
-2.00000000
1396+7.99999952,
+1.00000000
1398+5.00000000,
-9.00000000
1399+0.00000000,
+9.00000000
1400+6.00000000,
-7.00000000
1401+1.00000000,
-2.00000000
1402+8.00000000,
+1.00000000
1404affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1406-3.99981403,
-9.00000000
1407+8.99981403,
+9.00000000
1408-0.999855042,
-7.00000000
1409-0.999958634,
-2.00000000
1410+8.99997902,
+1.00000000
1412 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1415-3.99981403,
-9.00000000
1416+8.99981403,
+9.00000000
1417-0.999855042,
-7.00000000
1418-0.999958634,
-2.00000000
1419+8.99997902,
+1.00000000
1422+5.00000000,
-9.00000000
1423+0.00000000,
+9.00000000
1424+6.00000000,
-7.00000000
1425+1.00000000,
-2.00000000
1426+7.99999952,
+1.00000000
1428+5.00000000,
-9.00000000
1429+0.00000000,
+9.00000000
1430+6.00000000,
-7.00000000
1431+1.00000000,
-2.00000000
1432+8.00000000,
+1.00000000
1434affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1436+5.00000000,
-9.00000000
1437+0.00000000,
+9.00000000
1438+6.00000000,
-7.00000000
1439+1.00000000,
-2.00000000
1440+8.00000000,
+1.00000000
1442 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1445+5.00000000,
-9.00000000
1446+0.00000000,
+9.00000000
1447+6.00000000,
-7.00000000
1448+1.00000000,
-2.00000000
1449+8.00000000,
+1.00000000
1452+5.00000000,
-9.00000000
1453+0.00000000,
+9.00000000
1454+6.00000000,
-7.00000000
1455+1.00000000,
-2.00000000
1456+8.00000000,
+1.00000000
1458+5.00000000,
-9.00000000
1459+0.00000000,
+9.00000000
1460+6.00000000,
-7.00000000
1461+1.00000000,
-2.00000000
1462+8.00000000,
+1.00000000
1464affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1466+5.00000000,
-9.00000000
1467+0.00000000,
+9.00000000
1468+6.00000000,
-7.00000000
1469+1.00000000,
-2.00000000
1470+8.00000000,
+1.00000000
1472 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1475+5.00000000,
-9.00000000
1476+0.00000000,
+9.00000000
1477+6.00000000,
-7.00000000
1478+1.00000000,
-2.00000000
1479+8.00000000,
+1.00000000
1482+5.00000000,
-9.00000000
1483+0.00000000,
+9.00000000
1484+6.00000000,
-7.00000000
1485+1.00000000,
-2.00000000
1486+8.00000000,
+1.00000000
1488+5.00000000,
-9.00000000
1489+0.00000000,
+9.00000000
1490+6.00000000,
-7.00000000
1491+1.00000000,
-2.00000000
1492+8.00000000,
+1.00000000
1499+5.00000000,
-2.00000000,
-2.00000000
1502-5.00000000,
+8.00000000,
+5.00000000
1503-4.00000000,
-7.00000000,
-5.00000000
1504+6.00000000,
+1.00000000,
+7.00000000
1505-6.00000000,
+2.00000000,
-2.00000000
1506+6.00000000,
-2.00000000,
+1.00000000
1511+1.00000000,
+0.992879331,
+0.809138238
1512+0.992879331,
+1.00000000,
+0.850124955
1513+0.809138238,
+0.850124955,
+1.00000000
1516+6.98872566,
+7.28622818,
+7.75530863
1517-14.9958458,
-15.2221422,
-14.1874275
1518+12.6568470,
+12.9081507,
+12.7049541
1519-5.63251781,
-5.65752602,
-5.15457916
1520+4.82337952,
+4.80740070,
+4.15457916
1522 affinity(isam,:)
= getAffinity(sample(isam,:), tform)
1525+6.98872566,
+7.28622818,
+7.75530863
1526-14.9958458,
-15.2221422,
-14.1874275
1527+12.6568470,
+12.9081507,
+12.7049541
1528-5.63251781,
-5.65752602,
-5.15457916
1529+4.82337952,
+4.80740070,
+4.15457916
1532-5.00003815,
+8.00009155,
+4.99999237
1533-3.99984741,
-7.00028992,
-4.99996185
1534+5.99987793,
+1.00019836,
+6.99998474
1535-5.99993134,
+1.99996948,
-1.99999619
1536+6.00001907,
-1.99997711,
+0.999994278
1538-5.00000000,
+8.00000000,
+5.00000000
1539-4.00000000,
-7.00000000,
-5.00000000
1540+6.00000000,
+1.00000000,
+7.00000000
1541-6.00000000,
+2.00000000,
-2.00000000
1542+6.00000000,
-2.00000000,
+1.00000000
1544call setMatInit(tform(
2:,
1:ndim
-1), lowDia, vlow
= 0._RKG, vdia
= 0._RKG)
1546+1.00000000,
+0.992879331,
+0.809138238
1547+0.00000000,
+1.00000000,
+0.850124955
1548+0.00000000,
+0.00000000,
+1.00000000
1549affinity
= getAffinity(sample, dim, tform,
class = upperDiag)
1551+6.98872566,
+12.2506247,
+5.00000000
1552-14.9958458,
-11.2506247,
-5.00000000
1553+12.6568470,
+6.95087481,
+7.00000000
1554-5.63251781,
+0.299750090,
-2.00000000
1555+4.82337952,
-1.14987504,
+1.00000000
1557 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperDiag)
1560+6.98872566,
+12.2506247,
+5.00000000
1561-14.9958458,
-11.2506247,
-5.00000000
1562+12.6568470,
+6.95087481,
+7.00000000
1563-5.63251781,
+0.299750090,
-2.00000000
1564+4.82337952,
-1.14987504,
+1.00000000
1567-5.00000000,
+8.00000000,
+5.00000000
1568-3.99999905,
-7.00000000,
-5.00000000
1569+6.00000000,
+1.00000000,
+7.00000000
1570-6.00000000,
+2.00000000,
-2.00000000
1571+6.00000000,
-2.00000000,
+1.00000000
1573-5.00000000,
+8.00000000,
+5.00000000
1574-4.00000000,
-7.00000000,
-5.00000000
1575+6.00000000,
+1.00000000,
+7.00000000
1576-6.00000000,
+2.00000000,
-2.00000000
1577+6.00000000,
-2.00000000,
+1.00000000
1579affinity
= getAffinity(sample, dim, tform,
class = upperUnit)
1581+6.98872566,
+12.2506247,
+5.00000000
1582-14.9958458,
-11.2506247,
-5.00000000
1583+12.6568470,
+6.95087481,
+7.00000000
1584-5.63251781,
+0.299750090,
-2.00000000
1585+4.82337952,
-1.14987504,
+1.00000000
1587 affinity(isam,:)
= getAffinity(sample(isam,:), tform, upperUnit)
1590+6.98872566,
+12.2506247,
+5.00000000
1591-14.9958458,
-11.2506247,
-5.00000000
1592+12.6568470,
+6.95087481,
+7.00000000
1593-5.63251781,
+0.299750090,
-2.00000000
1594+4.82337952,
-1.14987504,
+1.00000000
1597-5.00000000,
+8.00000000,
+5.00000000
1598-3.99999905,
-7.00000000,
-5.00000000
1599+6.00000000,
+1.00000000,
+7.00000000
1600-6.00000000,
+2.00000000,
-2.00000000
1601+6.00000000,
-2.00000000,
+1.00000000
1603-5.00000000,
+8.00000000,
+5.00000000
1604-4.00000000,
-7.00000000,
-5.00000000
1605+6.00000000,
+1.00000000,
+7.00000000
1606-6.00000000,
+2.00000000,
-2.00000000
1607+6.00000000,
-2.00000000,
+1.00000000
1609affinity
= getAffinity(sample, dim, tform,
class = lowerDiag)
1611-5.00000000,
+8.00000000,
+5.00000000
1612-4.00000000,
-7.00000000,
-5.00000000
1613+6.00000000,
+1.00000000,
+7.00000000
1614-6.00000000,
+2.00000000,
-2.00000000
1615+6.00000000,
-2.00000000,
+1.00000000
1617 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerDiag)
1620-5.00000000,
+8.00000000,
+5.00000000
1621-4.00000000,
-7.00000000,
-5.00000000
1622+6.00000000,
+1.00000000,
+7.00000000
1623-6.00000000,
+2.00000000,
-2.00000000
1624+6.00000000,
-2.00000000,
+1.00000000
1627-5.00000000,
+8.00000000,
+5.00000000
1628-4.00000000,
-7.00000000,
-5.00000000
1629+6.00000000,
+1.00000000,
+7.00000000
1630-6.00000000,
+2.00000000,
-2.00000000
1631+6.00000000,
-2.00000000,
+1.00000000
1633-5.00000000,
+8.00000000,
+5.00000000
1634-4.00000000,
-7.00000000,
-5.00000000
1635+6.00000000,
+1.00000000,
+7.00000000
1636-6.00000000,
+2.00000000,
-2.00000000
1637+6.00000000,
-2.00000000,
+1.00000000
1639affinity
= getAffinity(sample, dim, tform,
class = lowerUnit)
1641-5.00000000,
+8.00000000,
+5.00000000
1642-4.00000000,
-7.00000000,
-5.00000000
1643+6.00000000,
+1.00000000,
+7.00000000
1644-6.00000000,
+2.00000000,
-2.00000000
1645+6.00000000,
-2.00000000,
+1.00000000
1647 affinity(isam,:)
= getAffinity(sample(isam,:), tform, lowerUnit)
1650-5.00000000,
+8.00000000,
+5.00000000
1651-4.00000000,
-7.00000000,
-5.00000000
1652+6.00000000,
+1.00000000,
+7.00000000
1653-6.00000000,
+2.00000000,
-2.00000000
1654+6.00000000,
-2.00000000,
+1.00000000
1657-5.00000000,
+8.00000000,
+5.00000000
1658-4.00000000,
-7.00000000,
-5.00000000
1659+6.00000000,
+1.00000000,
+7.00000000
1660-6.00000000,
+2.00000000,
-2.00000000
1661+6.00000000,
-2.00000000,
+1.00000000
1663-5.00000000,
+8.00000000,
+5.00000000
1664-4.00000000,
-7.00000000,
-5.00000000
1665+6.00000000,
+1.00000000,
+7.00000000
1666-6.00000000,
+2.00000000,
-2.00000000
1667+6.00000000,
-2.00000000,
+1.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"))