|
Last change
on this file since 515 was 491, checked in by ansari, 26 years ago |
|
Ajout programmes test (TMatrix Vector ...) Reza+cmv 21/10/99
|
|
File size:
374 bytes
|
| Line | |
|---|
| 1 | #include <iostream.h>
|
|---|
| 2 | #include "spheregorski.h"
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 | int main()
|
|---|
| 6 | {
|
|---|
| 7 | double teta,phi;
|
|---|
| 8 | // PeidaInit();
|
|---|
| 9 | int m=32;
|
|---|
| 10 | SphereGorski<double> sph(m);
|
|---|
| 11 | for (int j=0;j<sph.NbPixels();j++)
|
|---|
| 12 | {
|
|---|
| 13 | sph.PixThetaPhi(j,teta,phi);
|
|---|
| 14 | sph(j)= 0.2* cos(3.*teta)*sin(8*phi);
|
|---|
| 15 | }
|
|---|
| 16 | // Projection dans une image
|
|---|
| 17 |
|
|---|
| 18 | cout << " ===== Fin de test0 ======== " << endl;
|
|---|
| 19 | return 0;
|
|---|
| 20 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.