~ubuntu-branches/ubuntu/hardy/suitesparse/hardy

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/MATLAB/CSparse/cs_lu_mex.c

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere, Rafael Laboissiere, Ondrej Certik
  • Date: 2008-02-21 14:46:50 UTC
  • mfrom: (1.1.2 upstream) (5.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080221144650-tgeppgj0t7s759i8
Tags: 3.1.0-3
[ Rafael Laboissiere ]
* Upload to unstable

[ Ondrej Certik ]
* XS-DM-Upload-Allowed: yes field added
* Ondrej Certik added to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    const mxArray *pargin [ ]
9
9
)
10
10
{
11
 
    CS_INT n, order, *p, *Q ;
 
11
    CS_INT n, order, *p ;
12
12
    double tol ;
13
13
    if (nargout > 4 || nargin > 3 || nargin < 1)
14
14
    {
29
29
#ifndef NCOMPLEX
30
30
        cs_cls *S ;
31
31
        cs_cln *N ;
32
 
        cs_cl Amatrix, *L, *U, *A, *D ;
 
32
        cs_cl Amatrix, *A, *D ;
33
33
        A = cs_cl_mex_get_sparse (&Amatrix, 1, pargin [0]) ;    /* get A */
34
34
        n = A->n ;
35
35
        S = cs_cl_sqr (order, A, 0) ;       /* symbolic ordering, no QR bound */
62
62
    {
63
63
        cs_dls *S ;
64
64
        cs_dln *N ;
65
 
        cs_dl Amatrix, *L, *U, *A, *D ;
 
65
        cs_dl Amatrix, *A, *D ;
66
66
        A = cs_dl_mex_get_sparse (&Amatrix, 1, 1, pargin [0]) ; /* get A */
67
67
        n = A->n ;
68
68
        S = cs_dl_sqr (order, A, 0) ;       /* symbolic ordering, no QR bound */