Helper subroutine to get initialise optional scale, div, and offset arguments for accumulate procedures.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in), | optional | :: | scale |
An optional scaling factor to apply to the source data before accumulation. Defaults to 1.0 if not provided. |
|
| real, | intent(in), | optional | :: | div |
An optional division factor to apply to the source data before accumulation. Defaults to 1.0 if not provided. |
|
| real, | intent(in), | optional | :: | offset |
An optional offset to add to the source data before accumulation. Defaults to 0.0 if not provided. |
|
| real | :: | scale_out | ||||
| real | :: | div_out | ||||
| real | :: | offset_out |