#include <math.h>
#include <stdlib.h>
Include dependency graph for math3d.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | vect3d |
Generic vector for 3D space. More... | |
struct | transf3d |
3D transformation matrix. More... | |
struct | transf3d_pair |
Defines | |
#define | prec_t_sqrt sqrt |
#define | prec_t_log log |
#define | prec_t_pow pow |
#define | prec2double(v) ((double)(v)) |
#define | prec2size_t(v) ((size_t)(v)) |
#define | prec_checkerror(a, b, c) |
#define | prec_clearerror(a) |
#define | prec_correcterror(a) |
#define | PREC_DOUBLE |
#define | ATTRIBUTE_PACKED __attribute__ ((packed)) |
#define | ATTRIBUTE_ALIGNED16 __attribute__ ((aligned (16))) |
#define | prec_t_round round |
#define | prec_t_lrand lrand48 |
#define | prec_t_drand drand48 |
#define | PREC_PI 3.141592653589793238462643383279502884197169399375105820974944592304 |
#define | PREC_SQRT2 1.414213562373095048801688724209698078569671875376948073176679737990 |
Typedefs | |
typedef int | int32 |
typedef unsigned int | uint32 |
typedef double | prec_t |
Functions | |
prec_t | ellipse1 (prec_t kk) |
Calculate complete elliptic integral of the first kind. | |
prec_t | ellipse2 (prec_t kk) |
Calculate complete elliptic integral of the second kind. | |
prec_t | ellipse2 (prec_t kk, prec_t e1v) |
Calculate complete elliptic integral of the second kind. | |
prec_t | prec_t_sub (prec_t a, prec_t b) |
#define ATTRIBUTE_ALIGNED16 __attribute__ ((aligned (16))) |
Definition at line 428 of file math3d.hpp.
#define ATTRIBUTE_PACKED __attribute__ ((packed)) |
Definition at line 427 of file math3d.hpp.
#define prec2double | ( | v | ) | ((double)(v)) |
Definition at line 394 of file math3d.hpp.
Referenced by CoilDataFactory< IC >::make_coilpair(), and FPWriter::write().
#define prec2size_t | ( | v | ) | ((size_t)(v)) |
Definition at line 395 of file math3d.hpp.
#define prec_checkerror | ( | a, | |||
b, | |||||
c | ) |
Definition at line 396 of file math3d.hpp.
#define prec_clearerror | ( | a | ) |
Definition at line 397 of file math3d.hpp.
#define prec_correcterror | ( | a | ) |
Definition at line 398 of file math3d.hpp.
#define PREC_DOUBLE |
Definition at line 399 of file math3d.hpp.
#define PREC_PI 3.141592653589793238462643383279502884197169399375105820974944592304 |
Definition at line 434 of file math3d.hpp.
#define PREC_SQRT2 1.414213562373095048801688724209698078569671875376948073176679737990 |
#define prec_t_drand drand48 |
Definition at line 431 of file math3d.hpp.
#define prec_t_log log |
Definition at line 392 of file math3d.hpp.
#define prec_t_lrand lrand48 |
Definition at line 430 of file math3d.hpp.
#define prec_t_pow pow |
Definition at line 393 of file math3d.hpp.
#define prec_t_round round |
Definition at line 429 of file math3d.hpp.
#define prec_t_sqrt sqrt |
typedef int int32 |
Definition at line 45 of file math3d.hpp.
typedef double prec_t |
Definition at line 390 of file math3d.hpp.
typedef unsigned int uint32 |
Definition at line 46 of file math3d.hpp.
Calculate complete elliptic integral of the second kind.
e1v | Value of complete elliptic integral of the first kind for the same kk. |