Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- #include <math.h>
- #include "Header.h"
- using namespace std;
- int main()
- {
- Fcomplex <double> S (1.3, 5.);
- Fcomplex <double> P(1., 3.);
- cout << P + S <<endl;
- cout << S * P << endl;
- P+=P;
- S*=S;
- cout << S << " " << P << " " << P.cabs() << " " << S.conj() << endl;
- system("pause");
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement