Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
doc
snippets
Tutorial_AdvancedInitialization_LinSpaced.cpp
Go to the documentation of this file.
1
ArrayXXf
table
(10, 4);
2
table
.col(0) = ArrayXf::LinSpaced(10, 0, 90);
3
table
.col(1) =
M_PI
/ 180 *
table
.col(0);
4
table
.col(2) =
table
.col(1).sin();
5
table
.col(3) =
table
.col(1).cos();
6
std::cout <<
" Degrees Radians Sine Cosine\n"
;
7
std::cout <<
table
<< std::endl;
M_PI
#define M_PI
Definition:
main.h:78
table
ArrayXXf table(10, 4)
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:19