Branch: Tag:

2002-05-09

2002-05-09 16:04:55 by Marcus Agehall <agehall@gmail.com>

Added transforms to the Math-module. Right now, only FFT and iFFT for real numbers are implemented. It requires the library fftw to work.

Rev: src/modules/Math/Makefile.in:1.5
Rev: src/modules/Math/configure.in:1.5
Rev: src/modules/Math/math_module.c:1.9
Rev: src/modules/Math/matrix_code.h:1.5
Rev: src/modules/Math/transforms.cmod:1.1
Rev: src/modules/Math/transforms.h:1.1

1:   /* -  * $Id: math_module.c,v 1.8 2001/07/31 19:31:22 marcus Exp $ +  * $Id: math_module.c,v 1.9 2002/05/09 16:04:55 agehall Exp $    */      #include "global.h"
7:   #include "program.h"      #include "math_module.h" + #include "transforms.h"      /* must be included last */   #include "module_magic.h"
22: Inside #if defined(INT64)
  #ifdef INT64   struct program *math_lmatrix_program;   #endif /* INT64 */ + struct program *math_transforms_program;      static struct math_class   {
36:   #endif /* INT64 */    {"FMatrix",init_math_fmatrix,&math_fmatrix_program},    {"SMatrix",init_math_smatrix,&math_smatrix_program}, +  {"Transforms",init_math_transforms,&math_transforms_program},   };      void pike_module_exit(void)
49:    exit_math_imatrix();    exit_math_fmatrix();    exit_math_smatrix(); +  exit_math_transforms();   }      void pike_module_init(void)