h_vogt
fca8ab3146
cmath4.c, cx_deriv(), remove a memory leak
2016-07-20 18:09:18 +02:00
rlar
994bec7859
declare free() / realloc() arguments `const void *'
...
to avoid extra casting when freeing `const' strings
2016-07-17 11:19:34 +02:00
h_vogt
f66e76fb5f
implement option 'xmu' to control trapezoidal integration method
...
default is 0.5
option xmu=0.49
can be used to add some damping to reduce trap ringing
set xmu=0.49
or
.option xmu=0.49
works as well
2016-07-16 15:21:27 +02:00
rlar
40a0cea0d2
swap some `SWAP' arguments for readability
2016-03-22 15:23:05 +01:00
rlar
bd0bc3038b
use `SWAP' macro
2016-03-22 13:04:13 +01:00
rlar
b36385e333
improve `SWAP' macro
2016-03-22 13:03:59 +01:00
rlar
6342bec8ec
everywhere, drop `MALLOC()' and `REALLOC()'
2016-03-21 21:22:15 +01:00
rlar
9d32a0a5a9
simplify complex assignments
2015-12-29 18:15:06 +01:00
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
2015-12-28 20:34:42 +01:00
rlar
8a4a37b5bb
dvec abstraction, #4/11, emphasise `ZERO(dvec)' initialisation
2015-12-28 20:34:42 +01:00
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
2015-12-28 20:34:42 +01:00
rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
2015-05-02 10:24:49 +02:00
rlar
d98c5c90f3
src/maths/cmaths/cmath4.c, bug fix, cx_fft, cx_ifft, cx_derive
...
incorrect check for VF_COMPLEX in field v_type instead of v_flags
2015-03-10 20:09:20 +01:00
rlar
8e65614d31
spfactor.c, cktnames.c, don't crash when simulating "nothing"
...
reported by Siddhant Saraf in
> [ngspice:discussion] "out of memory" error : simulating a 2bit AND gate"
This comes in two flavours,
1) an empty circuit
2) a xspice circuit with exclusively xspice event nodes
2015-02-08 22:07:14 +01:00
rlar
c5e0bcde04
cleanup using `hypot()'
2014-12-06 20:41:11 +01:00
rlar
c6a8429258
src/maths/cmaths, implement `nint()' (.control language)
2014-09-20 17:15:10 +02:00
rlar
99eade8ec9
cleanup, rename cx_ln --> cx_log (.control language)
2014-09-12 19:09:52 +02:00
rlar
c926f46986
cleanup, rename rename cx_log --> cx_log10 (.control language)
2014-09-12 19:09:42 +02:00
rlar
4049e8ec1f
rewrite, using IFerrorf()
2014-04-04 21:58:08 +02:00
rlar
ea7372efe7
rewrite, useing IFerrorf()
...
OUTerror() and IFerror() are no more used,
but kept for compatibility
2014-04-04 21:22:48 +02:00
dwarning
461026f2b9
fix to use garbage collector with --enable-gc
2014-02-07 13:19:35 +01:00
dwarning
a90f916883
fftext.c, move the Bourke FFT code to fftext.c (rename macro)
2014-01-02 09:53:53 +01:00
dwarning
c61e1bc8c6
fftext.c, move the Bourke FFT code to fftext.c (as a backup)
2014-01-02 09:53:52 +01:00
dwarning
2e79c16f55
cmath4.c, drop unused doubledouble()
2014-01-02 09:53:51 +01:00
dwarning
2671aef5cd
cmath4.c, correct array size and relay to specific array order for r2c transformation
2014-01-02 09:53:49 +01:00
dwarning
dc398f1387
cmath4.c, correct scale for ifft
2014-01-02 09:53:48 +01:00
dwarning
51c7f17186
cmath4.c, use FFTW3 for cx_fft() and cx_ifft()
2014-01-02 09:53:47 +01:00
dwarning
cd8aa1ee04
cmath4.c, com_fft.c, cleanup
2014-01-02 09:51:41 +01:00
dwarning
f989219f6f
cmath4.c, com_fft.c, rename `size' --> `N' and `mm' --> `M'
2014-01-02 09:51:39 +01:00
h_vogt
75b144e17a
polyfit.c, speed up fitting process when degree == 1
...
this patch war provided by Henrik Forstén in
"#14 Special case for polyfit, move initw()"
http://sourceforge.net/p/ngspice/patches/14/
2014-01-02 09:33:34 +01:00
Anthony J. Bentley
7a9abebfe7
remove unnecessary include of sys/timeb.h.
2014-01-02 09:26:23 +01:00
rlar
aae92bf259
avoid overlapping "Dummy" symbols
...
reported by James Jackson in message:
[Ngspice-users] Problem building git head --with-ngspice Mac OS X
2013-12-31 16:41:26 +01:00
Krzysztof Blaszkowski
6a00876731
nipred.c, cleanup
2013-12-31 16:25:40 +01:00
Krzysztof Blaszkowski
30f1607a0a
nipred.c, bug fix NIpred() when running 'TRAPEZOIDAL'
...
a long standing serious bug, allready in the very first commit from
Date: Thu Apr 27 20:03:57 2000 +0000
Nipred() after evaluating TRAPEZOIDAL case fell through into GEAR case.
see:
http://sourceforge.net/p/ngspice/support-requests/18/
2013-12-31 16:25:39 +01:00
rlar
f12306542c
avoid a `constant expression' compiler warning
2013-12-31 16:23:57 +01:00
dwarning
075b620a86
introduce `cx_sortorder()' function
2013-12-31 16:18:52 +01:00
dwarning
4635a19ba9
introduce unwrap, minimum and maximum function
2013-12-31 16:13:17 +01:00
dwarning
68da03f9de
preserve vector length for fft by interpolation, window by default: none
2013-12-31 16:13:15 +01:00
dwarning
6a3da0105b
fft and ifft as vector functions
2013-12-31 16:13:08 +01:00
dwarning
0b1bff9fd8
fix type of length in fft window function
2013-12-31 16:13:07 +01:00
dwarning
e1fa276ddc
whitespace
2013-12-31 16:13:06 +01:00
dwarning
c8cd8b95a8
specific MS adaption
2013-12-31 16:13:04 +01:00
dwarning
f3e7bf141d
move the `fft_windows()' function to fft/fftext.c
2013-12-31 16:13:03 +01:00
rlar
6050e2e0ea
cleanup some extra parentheses
2013-12-31 16:12:44 +01:00
rlar
40414ead49
cleanup stuttered semicolon
2013-12-31 16:11:34 +01:00
Henrik Forstén
9c04f01991
rewrite AlmostEqualUlps() to avoid compiler warnings concerning `strict-aliasing'
2013-12-31 16:11:03 +01:00
h_vogt
e4921933ba
nicomcof.c: xmu used to calculate trap integration coefficient
2013-12-31 16:10:52 +01:00
rlar
93052df7d0
sparse/*.c, whitespace
2013-12-31 16:07:50 +01:00
rlar
075b30d686
sparse/*.c, rename `eMatrix' --> `Matrix' (comments)
2013-12-31 16:07:48 +01:00
rlar
7ed0b5cef6
sparse/*.c, rename `eMatrix' --> `Matrix' (prototypes)
2013-12-31 16:07:47 +01:00