Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace 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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
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
z
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
Enumerator
_
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
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
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
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
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
gtsam
3rdparty
Eigen
doc
snippets
tut_arithmetic_redux_minmax.cpp
Go to the documentation of this file.
1
Matrix3f
m
= Matrix3f::Random();
2
std::ptrdiff_t
i
,
j
;
3
float
minOfM
=
m
.minCoeff(&
i
,&
j
);
4
cout <<
"Here is the matrix m:\n"
<<
m
<< endl;
5
cout <<
"Its minimum coefficient ("
<<
minOfM
6
<<
") is at position ("
<<
i
<<
","
<<
j
<<
")\n\n"
;
7
8
RowVector4i
v
= RowVector4i::Random();
9
int
maxOfV =
v
.maxCoeff(&
i
);
10
cout <<
"Here is the vector v: "
<<
v
<< endl;
11
cout <<
"Its maximum coefficient ("
<< maxOfV
12
<<
") is at position "
<<
i
<< endl;
i
std::ptrdiff_t i
Definition:
tut_arithmetic_redux_minmax.cpp:2
j
std::ptrdiff_t j
Definition:
tut_arithmetic_redux_minmax.cpp:2
m
Matrix3f m
Definition:
tut_arithmetic_redux_minmax.cpp:1
v
Array< int, Dynamic, 1 > v
Definition:
Array_initializer_list_vector_cxx11.cpp:1
minOfM
float minOfM
Definition:
tut_arithmetic_redux_minmax.cpp:3
gtsam
Author(s):
autogenerated on Fri Mar 7 2025 04:09:13