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
rlar
f30796a7e6
sparse/*.c, rename `eMatrix' --> `Matrix'
2013-12-31 16:07:46 +01:00
rlar
9c48863912
sparse/*.c, simplify, drop the local copy `Matrix'
2013-12-31 16:07:44 +01:00
rlar
b02d34280c
sparse/*.c, unify, use local copy `Matrix' instead of `eMatrix'
2013-12-31 16:07:43 +01:00
rlar
ec8a3b79a2
sparse/*.c, drop unnecessary (spREAL) cast
2013-12-31 16:07:42 +01:00
rlar
f10d9f75c1
sparse/*.c, drop unnecessary (double) cast
2013-12-31 16:07:41 +01:00
rlar
a5d131d8a5
sparse/*.c, drop unnecessary (int *) cast
2013-12-31 16:07:39 +01:00
rlar
2517756eff
sparse/*.c, drop unnecessary (MatrixPtr) cast
2013-12-31 16:07:38 +01:00
rlar
5c903a6f5c
sparse/*.c, avoid (RealNumber *) casts by proper use of ElementPr
2013-12-31 16:07:37 +01:00
rlar
6d858200b6
sparse/*.c, drop unnecessary (void *) cast
2013-12-31 16:07:35 +01:00
rlar
35f1c18c61
sparse/*.c, drop unused artifacts
2013-12-31 16:07:34 +01:00
rlar
0440f0584e
fix an incorrect typedef and cast
...
which was of no consequence,
because nobody made use of it.
ancient, already in the very first commit of ngspice
Date: Thu Apr 27 20:03:57 2000 +0000
2013-12-31 16:07:31 +01:00
h_vogt
1767991236
new flag `SHARED_MODULE' for shared module
2013-12-31 12:57:51 +01:00
h_vogt
30a44d1be5
--with-windows --> --with-wingui
2013-12-31 12:56:59 +01:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar
8a154a7a9a
use SP_VOLTAGE instead of literal value `3'
...
(grep "git --no-pager grep -nH -e '->[ \t]*type.*[0-9]'")
2013-12-31 12:56:29 +01:00
rlar
b3847817a1
retire #define NODE_VOLTAGE, use SP_VOLTAGE instead
...
(grep "git --no-pager grep -nH -e '\\(SP_\\|NODE_\\)\\(VOLTAGE\\|CURRENT\\)'")
2013-12-31 12:56:22 +01:00
rlar
4184aa8c10
cleanup, use array operator
...
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
2013-12-31 12:54:43 +01:00
rlar
6c8f002eea
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
rlar
1ee88a5694
prepare for #ifndef include wrapper unification
2013-12-31 12:54:31 +01:00
rlar
c377b7a6b3
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
Francesco Lannutti
f153208a5f
nipred.c, remove unused variable `temp'
2012-12-25 01:40:16 +01:00
Francesco Lannutti
574d39e29c
remove almost empty src/maths/ni/nipred.h
2012-12-25 02:27:04 +01:00
Francesco Lannutti
e27d43cd0c
remove empty src/maths/ni/*.h include files
2012-12-24 11:28:30 +01:00
h_vogt
cea4eb09d6
niiter.c: indentations
2012-12-15 20:07:42 +01:00
rlar
83e3100917
remove unused variables
2012-12-01 16:05:20 +01:00
Francesco Lannutti
08ec219417
remove all .cvsignore files
2012-10-26 18:30:14 +02:00
Francesco Lannutti
1dc70189a7
remove compilation warnings (type casts)
2012-10-26 18:04:44 +02:00
Francesco Lannutti
c23bd59c44
removed ancient PARALLEL_ARCH feature
...
removed variables
ARCHme
ARCHsize
removed functions
SMPcombine()
SMPcCombine()
CKTpartition()
removed files
spcombin.c
cktpartn.c
removed struct slots
STATcombineTime
STATtranCombTime
STATacCombTime
GENowner
<MODEL>owner
2012-10-22 23:06:25 +02:00
rlar
a394d79c56
use utf-8 encoding
2012-10-20 21:27:15 +02:00
rlar
11579d9369
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
rlar
0beb95757f
cancer of the semicolon
2012-08-07 21:20:36 +02:00
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
2012-07-07 14:51:39 +02:00
h_vogt
a0b64a8624
spfactor.c, indentations
2012-07-07 10:04:21 +02:00
rlar
b1cbebaa99
fix tcl module compilation
...
test programs don't compile when compiling for TCL_MODULE
due to redefinition of fprintf()
2012-06-12 21:26:30 +02:00
h_vogt
8f3f757813
command mrdump
2012-02-19 11:11:31 +00:00
h_vogt
dffe4ed156
command mdump
2012-02-19 10:23:56 +00:00
rlar
2e4d4a0e02
unuse srandom() and random()
2012-02-09 20:39:24 +00:00
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
2012-02-07 19:53:12 +00:00
rlar
94e3abd847
#2/4 switch cph() and cmag() args from ngcomplex* to ngcomplex
2012-02-07 19:49:31 +00:00
rlar
f17b14102c
bug fix, incorrect '%le' printf format specifier
2012-01-08 10:26:36 +00:00
rlar
d3c3741f43
#4/6 config.h --> ngspice/config.h, AM_CPPFLAGS
2011-12-27 12:07:52 +00:00
rlar
afa1371746
#3/6 config.h --> ngspice/config.h, AM_CPPFLAGS
2011-12-27 12:05:51 +00:00
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
2011-12-27 11:33:01 +00:00
h_vogt
75767fcc3d
floor(), ceil() added
2011-12-26 11:34:21 +00:00
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
2011-12-13 19:57:45 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
h_vogt
4cbfbad8b5
type long --> int
2011-08-21 10:43:07 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
rlar
53ac5a888a
remove maths/fft/fftext.h
2011-08-20 08:24:36 +00:00
h_vogt
220cc83458
fft calculation with type double (instead of float)
2011-08-19 20:46:23 +00:00
rlar
11de01c304
swallow some warnings, and use <stdint.h>
2011-08-09 12:31:23 +00:00
h_vogt
e7ce26c118
convert float to double
2011-08-08 19:39:15 +00:00
rlar
b5f823f599
cph(vec), rewrite, cleanup, and add missing test_cx_cph.c
2011-08-06 17:20:58 +00:00
h_vogt
2e2bf04d6a
function cph()
2011-08-06 14:52:41 +00:00
rlar
2c0144a849
rewrite to fix potential (actuall impossible) usage of variable `c'
2011-08-05 19:29:57 +00:00
rlar
18570fc035
cleanup redeclarations for todays tanh commit
2011-07-17 10:47:19 +00:00
h_vogt
4679fdf046
sinh, cosh, tanh
2011-07-16 23:03:27 +00:00
rlar
0892d04c8a
explicit `int' casts for some ptrdiff_t expressions, where an `int' seems to be big enough
2011-07-09 19:45:22 +00:00
h_vogt
e6c86b4d98
explicit casting double -> int etc.
2011-06-11 17:07:38 +00:00
rlar
55638c8023
various cleanups
2011-04-30 12:29:19 +00:00
rlar
23056573d8
code cleanup, drop NULL pointer casts
2011-04-28 15:59:36 +00:00
rlar
0b6a557334
code cleanup
2011-04-27 18:30:15 +00:00
rlar
39aac106c5
updates for the make infrastructure (trannoise and tests/xspice)
2011-01-15 22:08:06 +00:00
dwarning
c8aee0f84a
inline functions to static
2011-01-02 16:17:57 +00:00
h_vogt
6d7ee3632e
remoce compiler warnings
2010-12-30 14:49:35 +00:00
h_vogt
1ea76af678
add statistical functions to numparam and nutmeg parsers
2010-12-28 19:01:30 +00:00
h_vogt
5fd49349f6
update to RTS noise
2010-12-19 11:05:03 +00:00
h_vogt
f476389531
RTS noise
2010-12-18 17:05:44 +00:00
dwarning
5556515e6a
cvs ignore *.lo, *.la, .libs
2010-12-12 09:48:21 +00:00
dwarning
3ab9e6d060
cvs ignore .libs
2010-12-12 09:42:47 +00:00
dwarning
b964cf949c
cvs ignore *.lo and *.la
2010-12-12 09:34:10 +00:00
h_vogt
5e1ed023c6
transient noise simulation
2010-11-27 16:36:03 +00:00
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 18:52:44 +00:00
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
2010-11-16 20:38:24 +00:00
rlar
80286e0032
pour `IGNORE()' all over the source
2010-11-16 19:11:32 +00:00
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
2010-11-02 17:07:57 +00:00
rlar
c3f20f8321
cleanup TMALLOC etc macros
2010-10-31 19:36:57 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
15d12df25b
tmalloc usage unification, parenthesize some terms
2010-10-24 13:27:18 +00:00
rlar
3cc50320e3
rename ALLOC, REALLOC, CALLOC, FREE, in the "src/maths/sparse" domain
2010-10-24 12:51:43 +00:00
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
2010-10-24 12:45:05 +00:00
rlar
d7a9d71a1a
remove prototypes, avoid redeclarations
2010-10-16 15:58:14 +00:00
rlar
7f8ee8818e
collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc'
2010-10-15 19:24:52 +00:00
rlar
3c3b31fa60
declare some functions `static'
2010-10-15 18:43:52 +00:00
rlar
2540531c38
remove local prototypes, which are allready included
2010-10-15 18:31:20 +00:00
rlar
cf3514b9ae
remove ancient #defines for AND OR NOT substitute with && || !
2010-10-09 11:40:00 +00:00
rlar
4d31d2a12f
some .c file local prototypes
2010-10-08 18:05:00 +00:00
rlar
36b9d794df
cx_avg() prototype
2010-10-08 18:02:58 +00:00
rlar
001ad0c2bc
`make dist' add some missing artifacts
2010-09-17 16:24:01 +00:00
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
2010-09-17 16:11:25 +00:00
rlar
d4946a6e81
convert K&R function definitions to ansi style
2010-09-07 20:11:13 +00:00
h_vogt
d4fc5581d2
comments improved
2010-09-02 16:14:34 +00:00
h_vogt
453b565f71
improve random number generation
2010-09-01 21:13:01 +00:00
dwarning
03d91ab8b0
new function sunif()
2010-08-29 09:23:34 +00:00
h_vogt
5c5bbe987d
Tausworthe not ready under MINGW
2010-08-28 21:06:42 +00:00
h_vogt
ba539d9ef1
new fcn sgauss(), new rnd-no generator
2010-08-28 18:13:08 +00:00
rlar
bfc6636b61
fix txfree() prototype
2010-08-15 17:13:17 +00:00
rlar
547a8fc7f5
drop (SMPmatrix*) casts
2010-08-10 18:07:13 +00:00
rlar
8ff62fd262
add #include's for visibility of prototypes to their function definitions
...
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar
d074de41f2
fix the type signature of the cx_* functions
2010-07-24 12:37:41 +00:00
rlar
f4d0163885
use the types MatrixPtr and SMPmatrix instead of void and char *
...
both are the same thing,
MatrixPtr is used inside the sparse/* domain,
SMPmatrix is used in the rest of spice
remove casts, which are no longer necessary
2010-07-23 17:33:10 +00:00
rlar
1ee29c3e96
use a void* instead of a char* for anonymous `InitInfo' in src/sparse/*.c
2010-07-23 17:23:13 +00:00
rlar
3e95037b0e
convert K&R function definitions to ansi style
2010-07-23 17:16:27 +00:00
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
2010-07-17 20:48:20 +00:00
rlar
0aa1c09d73
consolidate enum cp_types and enum vt_types .
...
use this enum for some function arguments and struct members .
drop some include "variable.h" which are no longer needed ,
propably many more could be droped .
drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 15:14:45 +00:00
rlar
a0b0f550ab
ansi style function args for a function pointer arg of spInitialize()
2010-07-10 14:06:14 +00:00
rlar
94518fdb02
use CKTcircuit instead of void*, #3/4
2010-07-07 17:32:40 +00:00
rlar
2744462d01
void *AllocatedPtr
2010-07-04 17:41:17 +00:00
rlar
3369d860b4
cast the return values of malloc() function calls
2010-07-01 19:52:23 +00:00
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
2010-06-27 17:22:11 +00:00
rlar
b58722b18b
remove redundant nested function declarations
2010-06-25 19:49:13 +00:00
rlar
a14e59866e
ansi function declarations (prototypes)
2010-06-23 19:33:54 +00:00
rlar
5946300a97
upgrade foo() --> foo(void) ansi function definition
2010-06-23 18:57:13 +00:00
h_vogt
71c371485c
K&R->ANSI patches by R. Larice
2010-02-13 16:01:56 +00:00
h_vogt
31203ce2ab
macro ERROR -> MERROR
2010-02-11 22:32:10 +00:00
dwarning
586af63f36
changed the declarator to new format
2009-11-26 20:04:09 +00:00
h_vogt
257d218893
option noinit, ref. to _logb
2009-08-22 16:54:03 +00:00
dwarning
322e87d9d0
init vector d
2009-08-04 19:29:38 +00:00
dwarning
a755164f06
relay on ngspice.h
2009-04-26 09:04:43 +00:00
dwarning
8cae733fcd
fix a conflict for isinf defined in missing_math.h
2009-02-12 19:33:50 +00:00
pnenzi
f543aa8c06
Improvements in vector derivative computation and new functions to
...
compute group delay and moving average. From espice (A. Roldan).
2009-01-15 21:08:09 +00:00
dwarning
91f10abc65
small polish regarding HAVE_DECL_XXX macros
2009-01-05 21:31:45 +00:00
dwarning
c702897d13
correct HAVE_DECL_XXX asking
2009-01-04 20:36:25 +00:00
dwarning
abc18c40f0
try to catch isinf over ieeefp.h
2009-01-04 13:23:58 +00:00
dwarning
4ab0193271
a simple workaround for isinf needed by adms
2009-01-04 11:17:42 +00:00
dwarning
af03646462
POSIX conform configure isnan
2009-01-01 20:44:49 +00:00