[cl-mathstats-devel] Losing symbols on system re-load

Gary King gwking at metabang.com
Tue Jun 26 02:02:31 UTC 2007


Hi David,

I wanted to make sure that this is all taken care of... is it? or did  
I drop the ball?

Thanks,

On May 30, 2007, at 7:57 PM, Trudgett, David wrote:

> Hi Gary,
>
> Thanks for your quick reply!
>
> Yes, I was doing some more poking around last night, and was able  
> to fix the
> problem by adding the following exports to the package.lisp file:
>
> (:export
>    #:data-length
>    #:mean
>    #:sum-of-squares
>    #:variance
>    #:standard-deviation
>    #:skewness
>    #:minimum
>    #:maximum
>    #:range
>    #:quantile
>    #:median
>    #:trimmed-mean
>    #:mode
>    #:mode-for-continuous-data
>    #:data-continuous-p
>    #:smart-mode
>    #:multiple-modes
>    #:interquartile-range
>    #:tukey-summary
>    #:statistical-summary
>    #:significance
>    #:t-significance
>    #:t-test-one-sample
>    #:t-test
>    #:d-test
>    #:t-test-matched
>    #:z-test-one-sample
>    #:inner-product
>    #:covariance
>    #:confidence-interval
>    #:confidence-interval-z
>    #:confidence-interval-z-summaries
>    #:confidence-interval-t
>    #:confidence-interval-t-summaries
>    #:confidence-interval-proportion
>    #:scheffe-tests
>    #:print-scheffe-table
>    #:cross-product
>    #:dot-product
>    #:r-score
>    #:difference-list
>    #:sum-list
>    #:chi-square-2x2-counts
>    #:chi-square-2x2
>    #:chi-square-rxc-counts
>    #:make-contingency-table
>    #:chi-square-rxc
>    #:g-test
>    #:find-critical-value)
>
>   (:export
>    #:anova-one-way-variables
>    #:anova-one-way-groups
>    #:print-anova-table
>    #:anova-two-way-groups
>    #:make-3d-table
>    #:anova-two-way-variables-unequal-cell-sizes
>    #:anova-two-way-variables)
>
>   (:export
>    #:scalar-matrix-multiply
>    #:multiply-matrices
>    #:invert-matrix
>    #:matrix-norm
>    #:invert-matrix-iterate
>    #:transpose-matrix
>    #:normalize-matrix
>    #:sum-of-array-elements)
>
>   (:export
>    #:reduce-matrix)
>
>   (:export
>    #:pythag-df
>    #:svbksb-df
>    #:svdcmp-df
>    #:svzero-df
>    #:svd-inverse-slow-df
>    #:svd-inverse-fast-df
>    #:pythag-sf
>    #:svbksb-sf
>    #:svdcmp-sf
>    #:svzero-sf
>    #:svd-inverse-slow-sf
>    #:svd-inverse-fast-sf
>    #:singular-value-decomposition
>    #:svd-zero
>    #:svd-back-substitute
>    #:svd-solve-linear-system
>    #:svdvar
>    #:svd-matrix-inverse)
>
>
> Of course, whether all of these are supposed to be exported or not,  
> I don't
> know. I'm also not sure if I duplicated any.
>
>
>> This is what we call "an odd thing".
>
> Yes, I couldn't think of a reason for it at the time.
>
>
>> So that the symbol is only exported when the file is compiled ... I
>> have _no_ idea how this has ever worked. Sigh.
>
> Almost qualifies for a bar or two of the Twilight Zone theme... :-)
>
>
> Anyway, thanks for your help. I'll check back in a few days or a  
> week for
> the new source to keep my stuff in sync.
>
> Cheers,
> David
>
>
>
>
>
> -----Original Message-----
> From: Gary King [mailto:gwking at metabang.com]
> Sent: Wednesday, 30 May 2007 23:52
> To: Trudgett, David
> Cc: 'cl-mathstats-devel at common-lisp.net'
> Subject: Re: [cl-mathstats-devel] Losing symbols on system re-load
>
>
> Hi David,
>
>> Deleting the .fas files and re-loading gets back the lost symbols.
>
> This is what we call "an odd thing".
>
> Looking at the list you appended and revisiting the code leads me to
> suspect that the missing symbols are mostly (entirely) from the
> define-statistic macro. Which, I now see, expands into
>
>> (progn (eval-when (:compile-toplevel) (export 'mean))
>>        (defclass mean (simple-statistic) nil)
>> ...
>
> So that the symbol is only exported when the file is compiled ... I
> have _no_ idea how this has ever worked. Sigh.
>
> I'll be posting an update that corrects this shortly.
>
> (P.S., as for the values, I decided to just remove them instead of
> added clisp to the list...)
> --
> Gary Warren King, metabang.com
> Cell: (413) 885 9127
> Fax: (206) 338-4052
> gwkkwg on Skype * garethsan on AIM
>
>
>
>
> Attention
>
> Email Disclaimer Notice - This message is the property of AAMHatch.  
> The information in this email is confidential and may be legally  
> privileged.
> It is intended solely for the
> addressee. Access to this email by anyone else is unauthorised. If  
> you are not the intended recipient, any disclosure, copying,  
> distribution or any action taken or omitted to be taken in reliance  
> on it is prohibited and may be unlawful.
>
> If you have received this message in error please notify AAMHatch  
> immediately via email to mailadmin at aamhatch.com.au  
> <mailto:mailadmin at aamhatch.com.au>
>
> This email has been scanned and cleared by NetIQ Mail Marshal,  
> however AAMHatch does not guarantee this message free of viruses,  
> or interference.
> ________________________________
> _______________________________________________
> cl-mathstats-devel mailing list
> cl-mathstats-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-mathstats-devel

--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the Cl-mathstats-devel mailing list