Initialize the rectangular core and halo of an input array of arbitrary rank and shape of arbitrary intrinsic type and kind with the corresponding user-specified values.
More...
Initialize the rectangular core and halo of an input array of arbitrary rank and shape of arbitrary intrinsic type and kind with the corresponding user-specified values.
The halo of an array of arbitrary rank is defined as the complement of rectangular core region of arbitrary size within a super-rectangle array.
The following figure illustrates example cores and halos of two 1D and 2D arrays.
- Parameters
-
[out] | array | : The output scalar of,
-
type
character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) of arbitrary length type parameter or,
the output contiguous array of rank 1 , 2 , or 3 , of arbitrary shape, of either,
-
type
character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU), or
-
type
integer of kind any supported by the processor (e.g., IK, IK8, IK16, IK32, or IK64), or
-
type
logical of kind any supported by the processor (e.g., LK), or
-
type
complex of kind any supported by the processor (e.g., CK, CK32, CK64, or CK128), or
-
type
real of kind any supported by the processor (e.g., RK, RK32, RK64, or RK128).
On output, the rectangular core and halo of the array will be initialized to the specified input arguments core and halo respectively.
|
[in] | core | : The input scalar, or contiguous array of the same rank as the output array , of the same type and kind as the output array , containing the value to write to the rectangular core of array .
-
If
core is scalar, then the extents along each dimension of array are determined by the input vector argument csize of size rank(array) .
-
If
array is a scalar string and the input argument csize is present, then core must be of type character with length type parameter 1 .
-
If
array is a scalar string and the input argument csize is missing, then core must be of type character with length type parameter len(core) <= len(array) .
-
If
core is an array, then the extents of it (shape(core) ) delineate the rectangular core of array into which core will be pasted.
-
If
array is of type character , then the condition len(core) <= len(array) must hold.
|
[in] | halo | : The input scalar of the same type and kind as the output array , containing the value to write to the halo surrounding the specified rectangular core of the array .
-
If
array is a scalar string, then halo must be a single character (with length type parameter 1 ).
-
If
array is an array of type character , then halo can have arbitrary length type parameter satisfying the condition len(halo) <= len(array) .
|
[in] | coffset | : The input non-negative scalar or vector of size rank(array) of type integer of default kind IK representing the index offset from the first (top-left corner) element of array , such that array(@coffset + 1) represents the indices of first element of the rectangular core of array .
-
If the output
array is of rank <= 1 , then coffset must be a scalar.
-
If the output
array is of rank >= 2 , then coffset must be a vector of size rank(array) .
|
[in] | csize | : The input non-negative scalar or vector of size rank(array) of type integer of default kind IK representing the extent of the rectangular core of array along each dimension, such that array(@coffset + @csize) represents the indices of last element of the rectangular core of array .
-
If the output
array is of rank <= 1 , then csize must be a scalar.
-
If the output
array is of rank >= 2 , then csize must be a vector of size rank(array) .
(optional. default = shape(core) . It must be present if and only if the input argument core is scalar.) |
Possible calling interfaces ⛓
call setCoreHalo(array(..), core(@
shape(array)), halo, coffset(
1:
rank(array)))
call setCoreHalo(array(..), core , halo, coffset(
1:
rank(array)), csize(
1:
rank(array)))
Initialize the rectangular core and halo of an input array of arbitrary rank and shape of arbitrary i...
This module contains procedures and generic interfaces for efficient initialization of arbitrary rect...
- Warning
- The condition
all(0 <= csize)
must hold for the corresponding input arguments.
The condition all(0 <= coffset)
must hold for the corresponding input arguments.
The condition all(coffset + csize <= shape(array))
must hold for the corresponding input arguments.
The condition len(core) <= len(array)
must hold for the corresponding input arguments of type character
of arbitrary rank.
The condition len(halo) <= len(array)
must hold for the corresponding input arguments of type character
of non-zero rank.
The condition len(halo) == 1
must hold for the corresponding input arguments of type character
of zero rank.
These conditions are verified only if the library is built with the preprocessor macro CHECK_ENABLED=1
.
-
The
pure
procedure(s) documented herein become impure
when the ParaMonte library is compiled with preprocessor macro CHECK_ENABLED=1
.
By default, these procedures are pure
in release
build and impure
in debug
and testing
builds.
- See also
- getCoreHalo
setCoreHalo
setResized
setRebound
setRebilled
setRefilled
getCentered
setCentered
getPadded
setPadded
Example usage ⛓
14 type(display_type) :: disp
21 call disp%show( array, deliml
= SK_
"""" ); \
23 call disp%show( core, deliml
= SK_
"""" ); \
25 call disp%show( halo, deliml
= SK_
"""" ); \
27 call disp%show( coffset, deliml
= SK_
"""" ); \
28 call disp%show(
"call setCoreHalo(array, core, halo, coffset)"); \
31 call disp%show( array, deliml
= SK_
"""" ); \
36 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
37 call disp%show(
"! Initialize scalar with core and halo values.")
38 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
42 character(
21) :: array
= ""; \
43 character(
1 ) :: halo
= "*"; \
44 character(
15) :: core
= "In God We Trust"; \
45 integer(IK) :: coffset
= 3;
49 character(
41) :: array
= ""; \
50 character(
1 ) :: halo
= "~"; \
51 character(
20) :: core
= "In Science We Invest"; \
52 integer(IK) :: coffset
= 2;
56 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
57 call disp%show(
"! Initialize vector with core and halo values.")
58 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
62 character(
5) :: array(
10)
= "", core(
4)
= [
character(
5) ::
"In",
"God",
"We",
"Trust"], halo
= "*****"; \
63 integer(IK) :: coffset
= 3;
67 character(
7) :: array(
10)
= "", core(
4)
= [
character(
7) ::
"In",
"Science",
"We",
"Invest"], halo
= "~~~~~~~"; \
68 integer(IK) :: coffset
= 3;
72 integer :: array(
10)
= 0, core(
4)
= [
1,
2,
3,
4], halo
= -1; \
73 integer(IK) :: coffset
= 2;
77 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
78 call disp%show(
"! Initialize matrix with core and halo values.")
79 call disp%show(
"!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
83 integer :: array(
10,
10)
= 0, core(
2,
3)
= reshape([
1,
2,
3,
4,
5,
6], [
2,
3]), halo
= -1; \
84 integer(IK) :: coffset(
rank(array))
= [
5,
3];
88 logical :: array(
10,
10)
= .false., core(
3,
3)
= reshape([(
.false., i
= 1,
9)], [
3,
3]), halo
= .true.; \
89 integer(IK) :: coffset(
rank(array))
= [
3,
5];
93 complex :: array(
10,
10)
= 0, core(
3,
3)
= reshape([(i, i
= 1,
9)], [
3,
3]), halo
= -1; \
94 integer(IK) :: coffset(
rank(array))
= [
3,
5];
98 real :: array(
10,
10)
= 0, core(
3,
3)
= reshape([(i, i
= 1,
9)], [
3,
3]), halo
= -1; \
99 integer(IK) :: coffset(
rank(array))
= [
3,
5];
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.
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 RK
The default real kind in the ParaMonte library: real64 in Fortran, c_double in C-Fortran Interoperati...
integer, parameter LK
The default logical kind in the ParaMonte library: kind(.true.) in Fortran, kind(....
integer, parameter CK
The default complex kind in the ParaMonte library: real64 in Fortran, c_double_complex in C-Fortran I...
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...
Generate and return an object of type display_type.
Example Unix compile command via Intel ifort
compiler ⛓
3ifort -fpp -standard-semantics -O3 -Wl,-rpath,../../../lib -I../../../inc main.F90 ../../../lib/libparamonte* -o main.exe
Example Windows Batch compile command via Intel ifort
compiler ⛓
2set PATH=..\..\..\lib;%PATH%
3ifort /fpp /standard-semantics /O3 /I:..\..\..\include main.F90 ..\..\..\lib\libparamonte*.lib /exe:main.exe
Example Unix / MinGW compile command via GNU gfortran
compiler ⛓
3gfortran -cpp -ffree-line-length-none -O3 -Wl,-rpath,../../../lib -I../../../inc main.F90 ../../../lib/libparamonte* -o main.exe
Example output ⛓
16"***In God We Trust***"
28"~~In Science We Invest~~~~~~~~~~~~~~~~~~~"
36" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
38"In ",
"God ",
"We ",
"Trust"
45"*****",
"*****",
"*****",
"In ",
"God ",
"We ",
"Trust",
"*****",
"*****",
"*****"
48" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
50"In ",
"Science",
"We ",
"Invest "
57"~~~~~~~",
"~~~~~~~",
"~~~~~~~",
"In ",
"Science",
"We ",
"Invest ",
"~~~~~~~",
"~~~~~~~",
"~~~~~~~"
60"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
69"-1",
"-1",
"+1",
"+2",
"+3",
"+4",
"-1",
"-1",
"-1",
"-1"
77"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
78"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
79"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
80"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
81"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
82"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
83"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
84"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
85"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
86"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0",
"+0"
96"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
97"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
98"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
99"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
100"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
101"-1",
"-1",
"-1",
"+1",
"+3",
"+5",
"-1",
"-1",
"-1",
"-1"
102"-1",
"-1",
"-1",
"+2",
"+4",
"+6",
"-1",
"-1",
"-1",
"-1"
103"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
104"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
105"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1",
"-1"
108"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
109"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
110"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
111"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
112"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
113"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
114"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
115"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
116"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
117"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F",
"F"
128"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
129"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
130"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
131"T",
"T",
"T",
"T",
"T",
"F",
"F",
"F",
"T",
"T"
132"T",
"T",
"T",
"T",
"T",
"F",
"F",
"F",
"T",
"T"
133"T",
"T",
"T",
"T",
"T",
"F",
"F",
"F",
"T",
"T"
134"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
135"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
136"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
137"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T",
"T"
140"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
141"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
142"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
143"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
144"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
145"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
146"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
147"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
148"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
149"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000",
"+0.00000000, +0.00000000"
151"+1.00000000, +0.00000000",
"+4.00000000, +0.00000000",
"+7.00000000, +0.00000000"
152"+2.00000000, +0.00000000",
"+5.00000000, +0.00000000",
"+8.00000000, +0.00000000"
153"+3.00000000, +0.00000000",
"+6.00000000, +0.00000000",
"+9.00000000, +0.00000000"
155"-1.00000000, +0.00000000"
160"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
161"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
162"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
163"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"+1.00000000, +0.00000000",
"+4.00000000, +0.00000000",
"+7.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
164"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"+2.00000000, +0.00000000",
"+5.00000000, +0.00000000",
"+8.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
165"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"+3.00000000, +0.00000000",
"+6.00000000, +0.00000000",
"+9.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
166"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
167"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
168"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
169"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000",
"-1.00000000, +0.00000000"
172"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
173"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
174"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
175"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
176"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
177"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
178"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
179"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
180"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
181"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000",
"+0.00000000"
183"+1.00000000",
"+4.00000000",
"+7.00000000"
184"+2.00000000",
"+5.00000000",
"+8.00000000"
185"+3.00000000",
"+6.00000000",
"+9.00000000"
192"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
193"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
194"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
195"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"+1.00000000",
"+4.00000000",
"+7.00000000",
"-1.00000000",
"-1.00000000"
196"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"+2.00000000",
"+5.00000000",
"+8.00000000",
"-1.00000000",
"-1.00000000"
197"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"+3.00000000",
"+6.00000000",
"+9.00000000",
"-1.00000000",
"-1.00000000"
198"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
199"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
200"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
201"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000",
"-1.00000000"
- Test:
- test_pm_arrayInit
- Todo:
- Low Priority: This generic interface can be extended to
array
arguments of higher ranks.
- Todo:
- Critical Priority: The examples of this generic interface incorrectly call the functional interface.
This must be fixed before release of the library.
- Todo:
- Normal Priority: The current interface requires the input
core
to be contiguous
when it is an array.
This restriction can be lifted by either removing the contiguous
attribute of the argument or adding additional lbcore, ubcore
subsetting arguments to the interface.
The former offers a simple yet powerful solution.
However, a benchmark must be done to investigate the performance penalty of switching the contiguous
attribute off.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
-
If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
-
If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
- Copyright
- Computational Data Science Lab
- Author:
- Amir Shahmoradi, September 1, 2017, 12:00 AM, Institute for Computational Engineering and Sciences (ICES), The University of Texas at Austin
Definition at line 1504 of file pm_arrayInit.F90.