File: cs_mex.h

package info (click to toggle)
suitesparse 1%3A7.10.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 254,920 kB
  • sloc: ansic: 1,134,743; cpp: 46,133; makefile: 4,875; fortran: 2,087; java: 1,826; sh: 996; ruby: 725; python: 495; asm: 371; sed: 166; awk: 44
file content (26 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download | duplicates (2)
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
// CXSparse/MATLAB/CSparse/cs_mex.h: include file for MATLAB interface
// CXSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved.
// SPDX-License-Identifier: LGPL-2.1+
#include "cs.h"
#include "mex.h"

void cs_mex_check (int64_t nel, int64_t m, int64_t n, int square,
    int sparse, int values, const mxArray *A) ;

int64_t *cs_dl_mex_get_int (int64_t n, const mxArray *Imatlab, int64_t *imax,
    int lo);
mxArray *cs_dl_mex_put_int (int64_t *p, int64_t n, int64_t offset,
    int do_free) ;

double *cs_dl_mex_get_double (int64_t n, const mxArray *X) ;
cs_dl *cs_dl_mex_get_sparse (cs_dl *A, int square, int values,
    const mxArray *Amatlab) ;
double *cs_dl_mex_put_double (int64_t n, const double *b, mxArray **X) ;
mxArray *cs_dl_mex_put_sparse (cs_dl **A) ;

#ifndef NCOMPLEX
cs_complex_t *cs_cl_mex_get_double (int64_t n, const mxArray *X) ;
cs_cl *cs_cl_mex_get_sparse (cs_cl *A, int square, const mxArray *Amatlab) ;
mxArray *cs_cl_mex_put_double (int64_t n, cs_complex_t *b) ;
mxArray *cs_cl_mex_put_sparse (cs_cl **Ahandle) ;
#endif