Sum hyperdual array elements.
Reduces the hyperdual coefficients using the requested mask or dimension.
total = sum(values)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hyperdual), | intent(in) | :: | v1(:) |
First input operand. |
||
| logical, | intent(in), | optional | :: | mask(:) |
Optional logical mask for the reduction. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | i |
Loop/index variable. |