Type that represents a Numpy array
Call to allow for freeing of resources of this object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(inout) | :: | self |
Get value of an attribute of this object
Set value of an attribute of this object
Delete an attribute of this object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(inout) | :: | self | |||
character(kind=C_CHAR,len=*), | intent(in) | :: | attr_name |
Get c_ptr representation of this object. For development of Python extension modules
Get C pointer to an object, needed for developing Python extensions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(in) | :: | self |
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int32), | intent(out), | dimension(:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int64), | intent(out), | dimension(:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real32), | intent(out), | dimension(:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real64), | intent(out), | dimension(:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real32), | intent(out), | dimension(:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real64), | intent(out), | dimension(:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int32), | intent(out), | dimension(:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int64), | intent(out), | dimension(:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real32), | intent(out), | dimension(:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real64), | intent(out), | dimension(:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real32), | intent(out), | dimension(:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real64), | intent(out), | dimension(:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int32), | intent(out), | dimension(:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int64), | intent(out), | dimension(:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real32), | intent(out), | dimension(:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real64), | intent(out), | dimension(:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real32), | intent(out), | dimension(:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real64), | intent(out), | dimension(:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int32), | intent(out), | dimension(:,:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int64), | intent(out), | dimension(:,:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real32), | intent(out), | dimension(:,:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
real(kind=real64), | intent(out), | dimension(:,:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real32), | intent(out), | dimension(:,:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Retrieve a Fortran pointer to the array data.
Get pointer to data of numpy array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
complex(kind=real64), | intent(out), | dimension(:,:,:,:), pointer | :: | ptr | Pointer to the numerical data of the Fortran array. |
|
character(kind=C_CHAR), | intent(in), | optional | :: | order | Only retrieve data, when ndarray has certain order. If 'F' (default), only retrieve the data when the ndarray has Fortran storage order. If 'C', only retrieve the data when the ndarray has C storage order. ATTENTION: The data, the pointer points to, then will be the transpose of the array. If 'A' accept Fortran or C order. If C, the data will be transposed. |
Error code, 0 on success
Transpose the array.
Create a copy (with its own data) of the ndarray
Returns copy of a ndarray
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
type(ndarray), | intent(out) | :: | array_copy | |||
character(kind=C_CHAR), | intent(in), | optional | :: | order |
Checks if the array has Fortran or C storage order (contiguous array)
Checks if data of ndarray has a specific storage-order.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
character(kind=C_CHAR), | intent(in) | :: | order |
Get numpy.dtype type identifier of the array. Python equivalent: self.dtype.name
Returns type string of ndarray.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
character(kind=C_CHAR,len=:), | intent(out), | allocatable | :: | dtype_name |
Get dimension of array
Returns dimensionality of ndarray (ndarray.ndim)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int32), | intent(out) | :: | ndim | Output: dimensionality of array. |
Get dimension of array
Returns dimensionality of ndarray (ndarray.ndim)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray), | intent(in) | :: | self | |||
integer(kind=int64), | intent(out) | :: | ndim | Output: dimensionality of array. |