SHARE
TWEET

Main

a guest Apr 24th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. #include <stdio.h>
  4.  
  5. #include <math.h>
  6.  
  7. #include "Header.h"
  8.  
  9. using namespace std;
  10.  
  11. int main()
  12.  
  13. {
  14.  
  15.     Fcomplex <double> S (1.35.);
  16.  
  17.     Fcomplex <double> P(1., 3.);
  18.  
  19.     cout << P + S <<endl;
  20.  
  21.     cout << S * P << endl;
  22.  
  23.     P+=P;
  24.  
  25.     S*=S;
  26.    
  27.     cout << S << " " << P << " " << P.cabs() << " " << S.conj() << endl;
  28.  
  29.     system("pause");
  30.  
  31.     return(0);
  32.  
  33. }
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