Changeset 34 for trunk/wavelet.lisp

Show
Ignore:
Timestamp:
03/11/08 01:34:13 (8 months ago)
Author:
lhealy
Message:

The classes/types in the different contexts are now gathered together
in one place, in *type-names* for the types and in *data-class-name*
for data classes, populated by #'add-data-class. Both defdata and
defmfun-all use the table and so mapping between various names is
consistent. The data class names are now different, *-double-float
and *-single-float replaces *-double and *-single. The regression
tests give the same results as before.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wavelet.lisp

    r26 r34  
    11;; Wavelet transforms. 
    22;; Liam Healy, Mon Nov 26 2007 - 20:43 
    3 ;; Time-stamp: <2008-02-23 18:49:16EST wavelet.lisp> 
     3;; Time-stamp: <2008-03-09 19:29:17EDT wavelet.lisp> 
    44;; $Id$ 
    55 
     
    388388   setting the others to zero.  See GSL manual Section 30.4." 
    389389  (letm ((n (length cl-data)) 
    390          (vector (vector-double cl-data)) 
     390         (vector (vector-double-float cl-data)) 
    391391         (wavelet (wavelet *daubechies-wavelet* 4)) 
    392392         (workspace (wavelet-workspace n))) 
    393393    (wavelet-transform-forward wavelet vector 1 workspace) 
    394     (letm ((absvector (vector-double n)) 
     394    (letm ((absvector (vector-double-float n)) 
    395395           (permutation (permutation n))) 
    396396      (dotimes (i n) 
     
    409409  "Simpler example, with only a Daubechies wavelet forward transformation." 
    410410  (letm ((n (length cl-data)) 
    411          (vector (vector-double cl-data)) 
     411         (vector (vector-double-float cl-data)) 
    412412         (wavelet (wavelet *daubechies-wavelet* 4)) 
    413413         (workspace (wavelet-workspace n)))