Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // complex.h
- // 01
- //
- // Created by Алексей Трутнев on 15.01.2020.
- // Copyright © 2020 Алексей Трутнев. All rights reserved.
- //
- #ifndef complex_h
- #define complex_h
- typedef struct complex{
- double Re, Im;
- } COMPLEX;
- void PrintComplex(const COMPLEX *p);
- void PrintComplexByPhase(const COMPLEX *p);
- COMPLEX ComplexAdd(const COMPLEX *p1, const COMPLEX *p2);
- COMPLEX ComplexSub(const COMPLEX *p1, const COMPLEX *p2);
- COMPLEX ComplexMult(const COMPLEX *p1, const COMPLEX *p2); // умножение
- COMPLEX ComplexDiv(const COMPLEX *p1, const COMPLEX *p2);
- COMPLEX ComplexSqr(const COMPLEX *p);
- #endif /* complex_h */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement