g2o
Toggle main menu visibility
Loading...
Searching...
No Matches
g2o
solvers
csparse
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
29
#include "
g2o_csparse_extension_api.h
"
30
31
namespace
g2o
{
32
33
namespace
csparse_extension {
34
35
// our extensions to csparse
36
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
41
G2O_CSPARSE_EXTENSION_API
csn*
cs_chol_workspace
(
const
cs* A,
const
css* S,
42
int
* cin,
double
* xin);
43
G2O_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
g2o_csparse_extension_api.h
G2O_CSPARSE_EXTENSION_API
#define G2O_CSPARSE_EXTENSION_API
Definition
g2o_csparse_extension_api.h:36
g2o::csparse_extension::cs_chol_workspace
csn * cs_chol_workspace(const cs *A, const css *S, int *cin, double *xin)
Definition
csparse_extension.cpp:67
g2o::csparse_extension::cs_cholsolsymb
int cs_cholsolsymb(const cs *A, double *b, const css *S, double *x, int *work)
Definition
csparse_extension.cpp:38
g2o
Definition
dl_wrapper.cpp:55
Generated on
for g2o by
1.17.0