#include "spice.h"
#include "plotdefs.h"
Go to the source code of this file.
| int ft_findpoint |
( |
double |
pt, |
|
|
double * |
lims, |
|
|
maxp |
, |
|
|
minp |
, |
|
|
bool |
islog |
|
) |
| |
Definition at line 55 of file points.c.
69 return (((
mylog10(pt) - tl) / (th - tl)) *
70 (maxp - minp) + minp);
73 return (((pt - lims[0]) / (lims[1] - lims[0])) *
74 (maxp - minp) + minp);
| double* ft_minmax |
( |
struct dvec * |
v, |
|
|
bool |
real |
|
) |
| |
Definition at line 17 of file points.c.
43 if (d < res[0]) res[0] = d;
44 if (d > res[1]) res[1] = d;
| double* ft_SMITHminmax |
( |
struct dvec * |
v, |
|
|
bool |
yval |
|
) |
| |
Definition at line 83 of file points.c.
114 if (d < res[0]) res[0] = d;
115 if (d > res[1]) res[1] = d;
SMITH_tfm(double re, double im, double *x, double *y)
| SMITH_tfm |
( |
double |
re, |
|
|
double |
im, |
|
|
double * |
x, |
|
|
double * |
y |
|
) |
| |
Definition at line 121 of file points.c.
128 dnom = (re + 1) * (re + 1) + im * im;
129 *x = (re * re + im * im - 1) / dnom;