Ilya Zakharevich on Thu, 19 Jan 2006 04:33:55 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Missing functions in CVS


On Wed, Jan 18, 2006 at 04:09:59PM +0100, Karim Belabas wrote:
> 1) Except for compatibility code which does not concern us here,
> 'initial_value' is only needed in Pari.xs:installep() 
> ( a copy of an old version of the identically named static routine in anal.c).
> 
> This is then used in PARIvar, findVariable: can't you use fetch_named_var()
> in there ?

Maybe.

> 2) bl_prev() is required in dumpHeap in order to traverse the linked
> list of PARI 'blocs' which are neither documented, nor accessible.
> 
> I can provide a public routine
> 
>   traverseheap( void (*f)(void *D, GEN x), void *data )
> 
> that would successively apply f(data, x) to each GEN x in the PARI heap,
> starting from the most recent one.
> 
> Would that be suitable ?

Hard to be sure, but this looks very probable.

Thanks,
Ilya