Joe DiPrima
6eeaaa7ca7
Add pyngspice Python bindings with targeted capacitor probing
Initial commit of the pyngspice layer on top of ngspice:
- pybind11 C++ bindings (src/cpp/, src/bindings/)
- Python package with SpiceRunner interface, netlist preprocessor
- Targeted capacitor probing via .save i(C_name) directives for
fast simulation when only specific cap currents are needed
- Build system (CMakeLists.txt, pyproject.toml, build_mingw.py)
- Test suite with 70 tests covering all preprocessor features
- Examples, winflexbison tooling, CLAUDE.md project docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 month ago
Holger Vogt
3632a6b4ae
We need to translate from degree to rad
3 years ago
Holger Vogt
2a6052517b
Fix prvious commit: allow access to all vector elements of cc
3 years ago
Holger Vogt
68156fa62c
Complex number handling other than MSVC
3 years ago
Holger Vogt
71571a1432
Add function atanh to .control section
3 years ago
Holger Vogt
638a09b718
Make doxygen documentation complete as an example.
3 years ago
Holger Vogt
70f38ec25f
Update for doxygen: add function names to \brief
3 years ago
Holger Vogt
b6d2a50e42
Update to comments for doxygen
3 years ago
Holger Vogt
3288d5ac99
Test for doxygen documentation
3 years ago
Jim Monte
b518d90509
EXITPOINT to delete malloced var in case of check failure
6 years ago
Holger Vogt
3a6a445241
rcheck -> rcheckn in cmath1.c
delete alloced memory in case of check failure
6 years ago
Jim Monte
de4788cfe5
Added conjugate function conj().
6 years ago
dwarning
76c43ab512
using the native tan and tanh math functions for real vector calculation
8 years ago
Holger Vogt
a98d01e5f8
Use only internal memory functions, replace
free->tfree, malloc->tmalloc, realloc->trealloc
8 years ago
rlar
3a9ace82bb
winmain.c, etc, cleanup, rewrite obfuscated symbols
substitute in the whole source code:
"__stream" --> "stream"
"__pos" --> "pos"
"__s" --> "s"
"__n" --> "n"
"__c" --> "c"
"__format" --> "format"
"__ptr" --> "ptr"
"__size" --> "size"
"__path" --> "path"
"__mode" --> "mode"
"__offset" --> "offset"
"__whence" --> "whence"
"__arglist" --> "arglist"
"__buf" --> "buf"
"__fp" --> "fp"
"f_c_l_o_s_e" --> "win_x_fclose"
"f_e_o_f" --> "win_x_feof"
"f_e_r_r_o_r" --> "win_x_ferror"
"f_f_l_u_s_h" --> "win_x_fflush"
"fg_e_t_c" --> "win_x_fgetc"
"f_g_e_t_p_o_s" --> "win_x_fgetpos"
"fg_e_t_s" --> "win_x_fgets"
"fp_r_i_n_t_f" --> "win_x_fprintf"
"fp_u_t_c" --> "win_x_fputc"
"fp_u_t_char" --> "win_x_fputchar"
"fp_u_t_s" --> "win_x_fputs"
"f_r_e_a_d" --> "win_x_fread"
"f_r_e_o_p_e_n" --> "win_x_freopen"
"fs_c_a_n_f" --> "win_x_fscanf"
"f_s_e_e_k" --> "win_x_fseek"
"f_s_e_t_p_o_s" --> "win_x_fsetpos"
"f_t_e_l_l" --> "win_x_ftell"
"f_w_r_i_t_e" --> "win_x_fwrite"
"g_e_t_c" --> "win_x_getc"
"g_e_t_char" --> "win_x_getchar"
"g_e_t_s" --> "win_x_gets"
"p_e_r_r_o_r" --> "win_x_perror"
"p_r_i_n_t_f" --> "win_x_printf"
"p_u_t_c" --> "win_x_putc"
"p_u_t_char" --> "win_x_putchar"
"p_u_t_s" --> "win_x_puts"
"r_e_a_d" --> "win_x_read"
"s_c_a_n_f" --> "win_x_scanf"
"ung_e_t_c" --> "win_x_ungetc"
"vfp_r_i_n_t_f" --> "win_x_vfprintf"
"vfs_c_a_n_f" --> "win_x_vfscanf"
"vp_r_i_n_t_f" --> "win_x_vprintf"
"vs_c_a_n_f" --> "win_x_vscanf"
9 years ago
rlar
ea5ad6b0e7
drop DC_ABS() and FTEcabs()
10 years ago
rlar
99eade8ec9
cleanup, rename cx_ln --> cx_log (.control language)
12 years ago
rlar
c926f46986
cleanup, rename rename cx_log --> cx_log10 (.control language)
12 years ago
dwarning
075b620a86
introduce `cx_sortorder()' function
13 years ago
dwarning
4635a19ba9
introduce unwrap, minimum and maximum function
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
94e3abd847
#2/4 switch cph() and cmag() args from ngcomplex* to ngcomplex
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
b5f823f599
cph(vec), rewrite, cleanup, and add missing test_cx_cph.c
15 years ago
h_vogt
2e2bf04d6a
function cph()
15 years ago
h_vogt
4679fdf046
sinh, cosh, tanh
15 years ago
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
16 years ago
pnenzi
8d893d890a
CIDER integration. Code updated for cider support.
23 years ago
pnenzi
937e3db647
Holger Vogt Windows port for Ngspice.
25 years ago
arno
86f326d11e
* NEWS TODO acconfig.h configure.in src/ngspice.idx
26 years ago
arno
f476a1ea98
* src/maths/cmaths/Makefile.am src/maths/cmaths/cmath1.c
26 years ago
arno
8696a52e89
* src/Makefile.am src/main.c src/sconvert.c
26 years ago
pnenzi
978f1c32a2
Initial revision
26 years ago