Contains the implementations of various unary transform routines
Unary wrapper for natural log. String name "log".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for exp. String name "exp".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for sin. String name "sin".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for cos. String name "cos".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for absolute value. String name "abs".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for sign function. String name "sign".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for tan. String name "tan".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for arcsin. String name "asin".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for arccos. String name "acos".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for arctan. String name "atan".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for the error function. String name "erf".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for the complementary error function. String name "erfc".
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for the raising to a real power. String name "rpow". Uses realParams(1) as the power.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper for the raising to an integer power. String name "ipow". Uses intParams(1) as the power.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper cyclically permuting input. String name "shift". Uses intParams(1) as the shift amount.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper contracting an array with a smaller array. String name "cont". Uses realParams as the contracting array. After contraction it uses intParams(1) to determine the expected output size. The input array should be evenly divided by size(realParams) and intParams(1). intParams(2) is then used to determine which sub-array of size intParams(1) is returned
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Unary wrapper expanding an array with another array. String name "expand". Uses realParams as the expanding array. After expansion it uses intParams(1) to determine how many times the result should be copied. The result is output((i-1)size(input)size(realParams)+(j-1)size(realParams)+k) = input(j)realParams(k) where j=1,size(input) and i=1,intParams(1)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:) | :: | input | ||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | realParams | |
integer(kind=ik), | intent(in), | optional, | dimension(:) | :: | intParams | |
logical, | intent(in), | optional, | dimension(:) | :: | logicalParams |
Returns a function pointer to a unary transformation based on a string name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name | |||
procedure(realArrayFunctionGenParam), | intent(inout), | pointer | :: | funcPointer |