Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
DenseBase_LinSpaced.cpp
blob: 1cca3727d2be8498e4e457a8f0dbce7ab5f647ba [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
cout
<<
VectorXi
::
LinSpaced
(
4
,
7
,
10
).
transpose
()
<<
endl
;
cout
<<
VectorXd
::
LinSpaced
(
5
,
0.0
,
1.0
).
transpose
()
<<
endl
;