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

This is the csc_type type for generating instances of container of scalar of logical objects.
More...

Public Attributes

complex(CK), allocatable val
 

Detailed Description

This is the csc_type type for generating instances of container of scalar of logical objects.

The constructor of this derived type takes the following arguments.

Parameters
[in]val: The input scalar or array of arbitrary rank of type complex of default kind CK.
Returns
container : The output object of type csc_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: CK
type(csc_type) :: container
container(..) = csc_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 CK
The default complex kind in the ParaMonte library: real64 in Fortran, c_double_complex in C-Fortran I...
Definition: pm_kind.F90:542
This is the csc_type type for generating instances of container of scalar of logical 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
csc_pdt
cvc_pdt
cmc_pdt
ccc_pdt
csc_type
cvc_type
cmc_type
ccc_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 399 of file pm_container.F90.

Member Data Documentation

◆ val

complex(CK), allocatable pm_container::csc_type::val

Definition at line 400 of file pm_container.F90.


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