ramap.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* classes: h_files */
  2. #ifndef SCM_RAMAP_H
  3. #define SCM_RAMAP_H
  4. /* Copyright (C) 1995,1996,1997,2000, 2006 Free Software Foundation, Inc.
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #include "libguile/__scm.h"
  21. SCM_API int scm_ra_matchp (SCM ra0, SCM ras);
  22. SCM_API int scm_ramapc (int (*cproc) (), SCM data, SCM ra0, SCM lra,
  23. const char *what);
  24. SCM_API int scm_array_fill_int (SCM ra, SCM fill, SCM ignore);
  25. SCM_API SCM scm_array_fill_x (SCM ra, SCM fill);
  26. SCM_API SCM scm_array_copy_x (SCM src, SCM dst);
  27. SCM_API int scm_ra_eqp (SCM ra0, SCM ras);
  28. SCM_API int scm_ra_lessp (SCM ra0, SCM ras);
  29. SCM_API int scm_ra_leqp (SCM ra0, SCM ras);
  30. SCM_API int scm_ra_grp (SCM ra0, SCM ras);
  31. SCM_API int scm_ra_greqp (SCM ra0, SCM ras);
  32. SCM_API int scm_ra_sum (SCM ra0, SCM ras);
  33. SCM_API int scm_ra_difference (SCM ra0, SCM ras);
  34. SCM_API int scm_ra_product (SCM ra0, SCM ras);
  35. SCM_API int scm_ra_divide (SCM ra0, SCM ras);
  36. SCM_API int scm_array_identity (SCM src, SCM dst);
  37. SCM_API SCM scm_array_map_x (SCM ra0, SCM proc, SCM lra);
  38. SCM_API SCM scm_array_for_each (SCM proc, SCM ra0, SCM lra);
  39. SCM_API SCM scm_array_index_map_x (SCM ra, SCM proc);
  40. SCM_API SCM scm_raequal (SCM ra0, SCM ra1);
  41. SCM_API SCM scm_array_equal_p (SCM ra0, SCM ra1);
  42. SCM_API void scm_init_ramap (void);
  43. #endif /* SCM_RAMAP_H */
  44. /*
  45. Local Variables:
  46. c-file-style: "gnu"
  47. End:
  48. */