public interface linspace
Create rank 1 array of linearly spaced elements
If the number of elements is not specified, create an array with size 100. If n is a negative value,
return an array with size 0. If n = 1, return an array whose only element is end
(Specification)
When dealing with integers as the start
and end
parameters, the return type is always a real(dp)
.
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
start |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
end |
|
Return Value
complex(kind=dp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
start |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
end |
|
Return Value
complex(kind=sp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
end |
|
Return Value
real(kind=dp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
end |
|
Return Value
real(kind=dp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
end |
|
Return Value
real(kind=dp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
end |
|
Return Value
real(kind=dp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
start |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
end |
|
Return Value
real(kind=dp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
start |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
end |
|
Return Value
real(kind=sp), (DEFAULT_LINSPACE_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
start |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
complex(kind=dp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
start |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
complex(kind=sp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
real(kind=dp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
real(kind=dp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
real(kind=dp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
start |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
real(kind=dp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
start |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
real(kind=dp), (max(n,0))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
start |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
end |
|
integer,
|
intent(in) |
|
|
:: |
n |
|
Return Value
real(kind=sp), (max(n,0))