ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_arrayCopy Module Reference

This module contains procedures and generic interfaces for copying strided or indexed elements of one scalar string or vector of arbitrary intrinsic type and kind to strided or indexed elements of another scalar string or vector of the same type and kind.
More...

Data Types

interface  setCopyIndexed
 Copy an input scalar string or vector of arbitrary intrinsic type, kind, and size to another scalar string or vector of the same type, kind, and compatible size.
More...
 
interface  setCopyStrided
 Copy the strided elements of an input scalar string or vector of arbitrary intrinsic type, kind, and size to the strided elements of another scalar string or vector of the same type, kind, and compatible size.
More...
 

Variables

character(*, SK), parameter MODULE_NAME = "@pm_arrayCopy"
 

Detailed Description

This module contains procedures and generic interfaces for copying strided or indexed elements of one scalar string or vector of arbitrary intrinsic type and kind to strided or indexed elements of another scalar string or vector of the same type and kind.

Remarks
The existence of this module may seem rather redundant because the Fortran standard array syntax allows easy copying array subsets.
However, it is impossible to perform elemental copy action for scalar strings.
This module provides a universal interface for copy actions for all intrinsic type and scalar strings, allowing seamless generic programming.
BLAS/LAPACK equivalent:
The procedures under discussion combine, modernize, and extend the interface and functionalities of Version 3.11 of BLAS/LAPACK routine(s): SCOPY, DCOPY, CCOPY, and ZCOPY.
In particular copying of subsets of scalar strings are also implemented as part of this module.
See also
pm_arrayCopy
pm_matrixInit
pm_matrixCopy


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:
Amir Shahmoradi, April 21, 2017, 1:54 AM, Institute for Computational Engineering and Sciences (ICES), The University of Texas Austin

Variable Documentation

◆ MODULE_NAME

character(*,SK), parameter pm_arrayCopy::MODULE_NAME = "@pm_arrayCopy"

Definition at line 48 of file pm_arrayCopy.F90.