1 /* @cond INNERDOC */
2 /**
3  * @file
4  * @brief Auxiliary functions.
5  */
6 
7 /*
8 
9 Copyright (C) 2008-2019 Michele Martone
10 
11 This file is part of librsb.
12 
13 librsb is free software; you can redistribute it and/or modify it
14 under the terms of the GNU Lesser General Public License as published
15 by the Free Software Foundation; either version 3 of the License, or
16 (at your option) any later version.
17 
18 librsb is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
21 License for more details.
22 
23 You should have received a copy of the GNU Lesser General Public
24 License along with librsb; see the file COPYING.
25 If not, see <http://www.gnu.org/licenses/>.
26 
27 */
28 /*
29  The code in this file was generated automatically by an M4 script.
30  It is not meant to be used as an API (Application Programming Interface).
31  p.s.: right now, only row major matrix access is considered.
32 
33  */
34 
35 
36 #ifndef RSB_MERGE_H_INCLUDED
37 #define RSB_MERGE_H_INCLUDED
38 
39 #include "rsb_common.h"
40 #ifndef RSB_PS_ASSERT
41 /*#define RSB_PS_ASSERT(e) assert(e)	*/ 	/* uncomment this to use   asserts */
42 #define RSB_PS_ASSERT(e)			/* uncomment this to avoid asserts */
43 #else /* RSB_PS_ASSERT */
44 #undef RSB_PS_ASSERT
45 #define RSB_PS_ASSERT(e)
46 #endif /* RSB_PS_ASSERT */
47 rsb_err_t rsb__do_util_merge_sorted_subarrays_in_place_double(
48 		double *VA, rsb_coo_idx_t * IA, rsb_coo_idx_t * JA, rsb_char_t * W,
49 		rsb_nnz_idx_t annz, rsb_nnz_idx_t bnnz,
50 	       	size_t wsize, rsb_flags_t flags
51 		)
52 ;rsb_err_t rsb__do_util_merge_sorted_subarrays_in_place_float(
53 		float *VA, rsb_coo_idx_t * IA, rsb_coo_idx_t * JA, rsb_char_t * W,
54 		rsb_nnz_idx_t annz, rsb_nnz_idx_t bnnz,
55 	       	size_t wsize, rsb_flags_t flags
56 		)
57 ;rsb_err_t rsb__do_util_merge_sorted_subarrays_in_place_float_complex(
58 		float complex *VA, rsb_coo_idx_t * IA, rsb_coo_idx_t * JA, rsb_char_t * W,
59 		rsb_nnz_idx_t annz, rsb_nnz_idx_t bnnz,
60 	       	size_t wsize, rsb_flags_t flags
61 		)
62 ;rsb_err_t rsb__do_util_merge_sorted_subarrays_in_place_double_complex(
63 		double complex *VA, rsb_coo_idx_t * IA, rsb_coo_idx_t * JA, rsb_char_t * W,
64 		rsb_nnz_idx_t annz, rsb_nnz_idx_t bnnz,
65 	       	size_t wsize, rsb_flags_t flags
66 		)
67 ;rsb_err_t rsb__do_util_merge_sorted_subarrays_in_place(
68 		void *VA, rsb_coo_idx_t * IA, rsb_coo_idx_t * JA, rsb_char_t * W,
69 		rsb_nnz_idx_t annz, rsb_nnz_idx_t bnnz,
70 	       	size_t wsize, rsb_flags_t flags, rsb_type_t typecode
71 		)
72 ;
73 #endif /* RSB_MERGE_H_INCLUDED */
74 
75 /* @endcond */
76