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