Giles Atkinson
537d55d80b
Improve an error message.
2 years ago
Giles Atkinson
422a205409
Always propgate any individual scale for a vector that appears
in an expression, resolving conflicts by matching length and warning
only when making an arbitary choice. One effect of this is that it
is now possible to mix analog nodes with offset digital nodes
(an expression like dvalue+6) without a warning and get a correct plot.
3 years ago
Holger Vogt
5cb5d218c9
Remove the obsolete RETSIGTYPE, replace by void
3 years ago
Giles Atkinson
8c7b7789d9
Suppress warning from gcc 10.2.1.
4 years ago
Holger Vogt
1605d293d0
Add function integ to control language
Trapezoidal rule for integrating a vector.
4 years ago
Holger Vogt
bbccb4b63e
Improved error message:
when argument out of range, name the term
5 years ago
Holger Vogt
c67da190ef
If function 'db' is evaluated, set
v_type to SV_DB.
6 years ago
Holger Vogt
f49922c1f1
If a new vector is created by the functions cph or ph,
its type should be 'phase', not voltage. Thus prevent
raw file entries (created by the 'write' command like
4 v(cph(vout2)) voltage
6 years ago
Holger Vogt
b9901a2569
[PATCH 47] Refactored ft_getnames() and used the new function in
com_let().
7 years ago
Holger Vogt
b4559327de
do not use the current plot, but try to get the plot set in arg...
7 years ago
Holger Vogt
c1b54a5978
return vector located in plot type given by 'name',
not just from the current plot
7 years ago
rlar
bd0bc3038b
use `SWAP' macro
10 years ago
rlar
9d32a0a5a9
simplify complex assignments
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
8a4a37b5bb
dvec abstraction, #4/11, emphasise `ZERO(dvec)' initialisation
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
10 years ago
rlar
c442994a0a
frontend/evaluate.c, apply_func(), reorder
10 years ago
rlar
8e50275345
frontend/evaluate.c, apply_func(), reorder
10 years ago
rlar
da5ebd8645
frontend/evaluate.c, doop(), emphasise `v_type' initialisation
10 years ago
rlar
5ac7858a79
rewrite, use tprintf
11 years ago
dwarning
6a3da0105b
fft and ifft as vector functions
13 years ago
h_vogt
155b6134a8
apply_func(), use arg->pn_value->v_name instead of recreated name
13 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
h_vogt
4679fdf046
sinh, cosh, tanh
15 years ago
rlar
2968fb3a97
`[]' indexing operator, round index to nearest integer
15 years ago
rlar
9ee308a2a5
function pointer invocation, (*p)(...) ---> p(...)
15 years ago
h_vogt
e6c86b4d98
explicit casting double -> int etc.
15 years ago
rlar
545e9004e9
fix a segfault, incorrect invocation of free()
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
0b6a557334
code cleanup
15 years ago
rlar
7422d5d618
tiny rewrite to avoid "variable ... might be clobbered by 'longjmp'" warnings
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
16 years ago
rlar
882b3b4155
add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...)
16 years ago
rlar
e945ab68bc
collect some cx_*() prototypes in "cmath2.h"
16 years ago
rlar
7f3fdad192
change for readability
16 years ago
rlar
c6bac55ef3
fix an ancient typo, responsible for segfault or garbage when operating on vectors
16 years ago
rlar
d074de41f2
fix the type signature of the cx_* functions
16 years ago
rlar
59d4e5d961
fix various type glitches
16 years ago
rlar
c30028310b
ansi style function args for some function pointers
16 years ago
dwarning
5fcf9c2afe
ternary operation in control blocks
16 years ago
h_vogt
07f90563dc
patches R. Larice
16 years ago
h_vogt
13acf2cef1
SV_ADMITTANCE, signal prototype
17 years ago
pnenzi
5f716e4b61
Added new datatypes to vectors (impedance, admittance,atc.) A. Roldan -
17 years ago
pnenzi
f543aa8c06
Improvements in vector derivative computation and new functions to
17 years ago
h_vogt
3dc3d42553
Small changes, e.g. _MS_VER macro, added to allow compilation of tclspice with MS VC++ 2008
18 years ago