Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
x
y
+
Typedefs
a
d
i
p
q
r
s
t
Enumerations
+
Enumerator
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
x
z
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
+
Enumerator
_
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Related Functions
a
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
x
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
x
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
x
z
+
Typedefs
a
b
c
d
e
f
g
i
l
m
n
r
s
t
u
+
Enumerations
a
b
c
d
e
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Macros
_
a
b
c
d
e
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
external_packages
csparse
cs_load.c
Go to the documentation of this file.
1
#include "
cs.h
"
2
/* load a triplet matrix from a file */
3
cs
*
cs_load
(FILE *f)
4
{
5
int
i, j ;
6
double
x ;
7
cs
*
T
;
8
if
(!f)
return
(NULL) ;
/* check inputs */
9
T =
cs_spalloc
(0, 0, 1, 1, 1) ;
/* allocate result */
10
while
(fscanf (f,
"%d %d %lg\n"
, &i, &j, &x) == 3)
11
{
12
if
(!
cs_entry
(T, i, j, x))
return
(
cs_spfree
(T)) ;
13
}
14
return
(T) ;
15
}
T
USING_NAMESPACE_ACADO typedef TaylorVariable< Interval > T
Definition:
ode_taylor_expansion.cpp:43
cs_spfree
cs * cs_spfree(cs *A)
Definition:
cs_util.c:32
cs_spalloc
cs * cs_spalloc(int m, int n, int nzmax, int values, int triplet)
Definition:
cs_util.c:3
cs.h
cs_entry
int cs_entry(cs *T, int i, int j, double x)
Definition:
cs_entry.c:3
cs_sparse
Definition:
cs.h:16
cs_load
cs * cs_load(FILE *f)
Definition:
cs_load.c:3
acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Feb 28 2022 21:31:52