Overloads the Fortran sign intrinsic for hyperdual arguments, propagating supported derivative coefficients.
The generic interface selects a type-specific implementation based on the argument types.
y = sign(x, s)
Apply the Fortran SIGN intrinsic to hyperdual operands.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hyperdual), | intent(in) | :: | v1 |
First input operand. |
||
| type(hyperdual), | intent(in) | :: | v2 |
Second input operand. |
Apply the Fortran SIGN intrinsic to hyperdual operands.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hyperdual), | intent(in) | :: | v1 |
First input operand. |
||
| real(kind=pr), | intent(in) | :: | v2 |
Second input operand. |
Apply the Fortran SIGN intrinsic to hyperdual operands.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=pr), | intent(in) | :: | v1 |
First input operand. |
||
| type(hyperdual), | intent(in) | :: | v2 |
Second input operand. |