Commit Graph

12 Commits

Author SHA1 Message Date
Giles Atkinson 3cf8fe8c41 Stop after last data point, preventing read overrun of nscale. 2023-12-01 12:26:58 +00:00
Giles Atkinson d82f948832 Fix a crash found by Brian Taylor: when .plot attempts to plot digital
node history, interpolation may produce an infinite value at digital edges.
Remove vertical edges when interpolating and make some other improvements:
do not calculate a polynomial approximation for unused frames;
center the target x-value in the frame; and do not propogate a reduction
in degree to later frames.
2023-11-30 17:23:32 +00:00
rlar 141ed61ec8 use memcpy() instead of deprecated bcopy() 2016-07-30 20:58:19 +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 4ca58067a2 #2/6 config.h --> ngspice/config.h, #include's 2011-12-27 11:33:01 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +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 01566f2b49 add casts to make `int' versus `size_t' conversions explicit 2010-11-02 17:07: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 a120a5d049 drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
arno 5492f4cb89 * src/frontend/interp.c: Broken up into individual files and
moved into their own subdirectory: src/maths/poly.

	* src/maths/poly/.cvsignore src/maths/poly/Makefile.am
	src/maths/poly/interpolate.c src/maths/poly/interpolate.h
	src/maths/poly/poly.h src/maths/poly/polyderiv.c
	src/maths/poly/polyderiv.h src/maths/poly/polyeval.c
	src/maths/poly/polyeval.h src/maths/poly/polyfit.c
	src/maths/poly/polyfit.h: The resulting files.

	* src/Makefile.am src/maths/Makefile.am: Updates for the new
	library.
2000-05-13 10:56:58 +00:00