destack.sh
docstemplatesblog
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:math
  11. Complex
    1. Members
  12. Configuration
  13. Static Analysis
  14. Dynamic Analysis
  15. Deployment
menu
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:math
  11. Complex
    1. Members
  12. Configuration
  13. Static Analysis
  14. Dynamic Analysis
  15. Deployment
Docs/Language/Standard Library/Modules/destack:math
mdtxt

Complex

import { Complex } from "destack:math";

Complex number with floating-point components.

language/library/src/math/complex.ds:8:14
1export struct Complex<T: Float> {2    real: T;3    imaginary: T;4}

Members

real: T

The real component.

imaginary: T

The imaginary component.

discordxgithub
2026.8.3alpha