Re: [ng-spice] Rework-13


To ng-spice@ieee.ing.uniroma1.it
From routoure Jean-Marc <routoure@lei.ismra.fr>
Date Mon, 6 Nov 2000 18:07:09 +0100
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
In-Reply-To <Pine.LNX.3.96.1001106092905.3794A-100000@ieee.ing.uniroma1.it >
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Organization GREYC -ISMRA
References <Pine.LNX.3.96.1001106092905.3794A-100000@ieee.ing.uniroma1.it >
Reply-To ng-spice@ieee.ing.uniroma1.it

Le Mon, 06 Nov 2000, vous avez ecrit
% > On Mon, 6 Nov 2000, routoure Jean-Marc wrote:
% > 
% > > Hi,
% > > 
% > > Does the deriv function has been added ?
% > 
% > Can you explain better ?
% > Paolo

yes, when I do a dc analysis for instance, the differential of a vector (say
v(1) ) can be define by :

let dd=deriv(v(1))


Here is its definition in the doc :

deriv(vector)              Calculates the derivative of  the  given
                            vector.   This uses numeric differentia-
                            tion by interpolating a  polynomial  and
                            may  not  produce  satisfactory  results
                            (particularly with iterated differentia-
                            tion).   The  implementation  only cacu-
                            lates the dirivative with respect to the
                            real componant of that vector's scale.



This king of function has been removed from the source in the ngspice-rework12
or may be before: the source of this function can be found in
src/maths/cmaths/cmath4.c. 

JM



jm

Partial thread listing: