SHARE
TWEET

Untitled

a guest Jan 15th, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  complex.h
  3. //  01
  4. //
  5. //  Created by Алексей Трутнев on 15.01.2020.
  6. //  Copyright © 2020 Алексей Трутнев. All rights reserved.
  7. //
  8.  
  9. #ifndef complex_h
  10. #define complex_h
  11.  
  12. typedef struct complex{
  13.     double Re, Im;
  14. } COMPLEX;
  15.  
  16. void PrintComplex(const COMPLEX *p);
  17. void PrintComplexByPhase(const COMPLEX *p);
  18. COMPLEX ComplexAdd(const COMPLEX *p1, const COMPLEX *p2);
  19. COMPLEX ComplexSub(const COMPLEX *p1, const COMPLEX *p2);
  20. COMPLEX ComplexMult(const COMPLEX *p1, const COMPLEX *p2); // умножение
  21. COMPLEX ComplexDiv(const COMPLEX *p1, const COMPLEX *p2);
  22. COMPLEX ComplexSqr(const COMPLEX *p);
  23.  
  24.  
  25. #endif /* complex_h */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top