ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_container::csi_type Type Reference

This is the csi_type type for generating instances of container of scalar of integer objects.
More...

Public Attributes

integer(IK), allocatable val
 

Detailed Description

This is the csi_type type for generating instances of container of scalar of integer objects.

The constructor of this derived type takes the following arguments.

Parameters
[in]val: The input scalar or array of arbitrary rank of type integer of default kind LK.
Returns
container : The output object of type csi_type of the same kind, rank, and shape as the input val, each element of which contains the corresponding element of the input val.


Possible calling interfaces

use pm_kind, only: IK
type(csi_type) :: container
container(..) = csi_type(val(..))
This module contains the derived types for generating allocatable containers of scalar,...
This module defines the relevant Fortran kind type-parameters frequently used in the ParaMonte librar...
Definition: pm_kind.F90:268
integer, parameter IK
The default integer kind in the ParaMonte library: int32 in Fortran, c_int32_t in C-Fortran Interoper...
Definition: pm_kind.F90:540
This is the csi_type type for generating instances of container of scalar of integer objects.
Remarks
The procedures under discussion are pure.
The procedures under discussion are elemental.
The existence of this derived type is primarily motivated by the persistent bugs in the implementations of allocatable parameterized derived types in gfortran compilers < 12.
As such, this definition might be redundant once gfortran PDT bugs are resolved.
See also
csi_pdt
cvi_pdt
cmi_pdt
cci_pdt
csi_type
cvi_type
cmi_type
cci_type
Test:
test_pm_container


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.

  1. 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.
  2. 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.

Author:
Fatemeh Bagheri, Tuesday, April 30, 2019, 12:58 PM, SEIR, UTA Amir Shahmoradi, September 1, 2017, 12:00 AM, Institute for Computational Engineering and Sciences (ICES), The University of Texas at Austin

Definition at line 261 of file pm_container.F90.

Member Data Documentation

◆ val

integer(IK), allocatable pm_container::csi_type::val

Definition at line 262 of file pm_container.F90.


The documentation for this type was generated from the following file: