calculate_complex
Performs complex-number arithmetic with {re, im} pairs: add, subtract, multiply, divide, magnitude, argument, conjugate, power, and square root.
Instructions
Complex-number arithmetic using {re, im}: add, subtract, multiply, divide, magnitude, argument, conjugate, power, and square root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | No | ||
| operation | Yes |