Re: [ng-spice-devel] Three kinds of complex numbers


To ng-spice-devel <ng-spice-devel@ieee.ing.uniroma1.it>
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Sat, 17 Jun 2000 10:46:21 +0200 (CEST)
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <20000616235126.C20747@cgmd80028.chello.nl >
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

On Fri, 16 Jun 2000, Arno W. Peters wrote:

> You will agree with me that only one definition is sufficient and the
> others should go.  I welcome patches that work toward this goal.

I agree, one definition constistent throughout the code is sufficient.

If we are moving towards an GPL'ed ngspice which acts as a library, we
may insert these definitions in a single top-level include file like
ngspice.h. We can use a convention like the one used in OpenGL:

SPreal, SPcomplex, SPdouble, SPvector and so on...

Paolo


Partial thread listing: