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