PyPO User Manual
 
Loading...
Searching...
No Matches
Transform.h
Go to the documentation of this file.
1#include <iostream>
2#include <vector>
3#include <complex>
4#include <cmath>
5#include <string>
6#include <array>
7
8#include "Structs.h"
9#include "Utils.h"
10
11#ifdef _WIN32
12# define PYPO_DLL __declspec(dllexport)
13#else
14# define PYPO_DLL
15#endif
16
17#ifndef __Transform_h
18#define __Transform_h
19
20/*! \file Transform.h
21 \brief Declaration of transformations for frames and fields/currents.
22*/
23extern "C"
24{
25 PYPO_DLL void transformRays(cframe *fr, double *mat);
26 PYPO_DLL void transformFields(c2Bundle *fields, double *mat, int nTot);
27}
28
29#endif
Structs used within PyPO.
PYPO_DLL void transformFields(c2Bundle *fields, double *mat, int nTot)
Definition Transform.cpp:51
PYPO_DLL void transformRays(cframe *fr, double *mat)
Definition Transform.cpp:13
Linear algebra functions for the CPU version of PyPO.
Definition Structs.h:42
Definition Structs.h:149