g2o
Loading...
Searching...
No Matches
csparse_extension.h
Go to the documentation of this file.
1// CSparse: a Concise Sparse matrix package.
2// Copyright (c) 2006, Timothy A. Davis.
3// http://www.cise.ufl.edu/research/sparse/CSparse
4//
5// --------------------------------------------------------------------------------
6//
7// CSparse is free software; you can redistribute it and/or
8// modify it under the terms of the GNU Lesser General Public
9// License as published by the Free Software Foundation; either
10// version 2.1 of the License, or (at your option) any later version.
11//
12// CSparse is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15// Lesser General Public License for more details.
16//
17// You should have received a copy of the GNU Lesser General Public
18// License along with this Module; if not, write to the Free Software
19// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
21#ifndef G2O_CSPARSE_EXTENSION_H
22#define G2O_CSPARSE_EXTENSION_H
23
24#ifndef NCOMPLEX
25#define NCOMPLEX
26#endif
27#include <cs.h>
28
30
31namespace g2o {
32
33namespace csparse_extension {
34
35// our extensions to csparse
36// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
41G2O_CSPARSE_EXTENSION_API csn* cs_chol_workspace(const cs* A, const css* S,
42 int* cin, double* xin);
43G2O_CSPARSE_EXTENSION_API int cs_cholsolsymb(const cs* A, double* b,
44 const css* S, double* workspace,
45 int* work);
46
47} // namespace csparse_extension
48} // namespace g2o
49
50#endif
#define G2O_CSPARSE_EXTENSION_API
csn * cs_chol_workspace(const cs *A, const css *S, int *cin, double *xin)
int cs_cholsolsymb(const cs *A, double *b, const css *S, double *x, int *work)