This website requires JavaScript.
Explore
Help
Sign In
mirror
/
eigen
Watch
2
Star
0
Fork
0
You've already forked eigen
mirror of
https://gitlab.com/libeigen/eigen.git
synced
2024-12-21 07:19:46 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c181dfb8ab
eigen
/
doc
/
snippets
/
DenseBase_setLinSpaced.cpp
4 lines
60 B
C++
Raw
Normal View
History
Unescape
Escape
Added an ei_linspaced_op to create linearly spaced vectors. Added setLinSpaced/LinSpaced functionality to DenseBase. Improved vectorized assignment - overcomes MSVC optimization issues. CwiseNullaryOp is now requiring functors to offer 1D and 2D operators. Adapted existing functors to the new CwiseNullaryOp requirements. Added ei_plset to create packages as [a, a+1, ..., a+size]. Added more nullaray unit tests.
2010-01-27 02:42:17 +08:00
VectorXf
v
;
Remove confusing transpose() in setLinSpaced() docs.
2013-02-19 01:27:41 +08:00
v
.
setLinSpaced
(
5
,
0.5f
,
1.5f
)
;
Added an ei_linspaced_op to create linearly spaced vectors. Added setLinSpaced/LinSpaced functionality to DenseBase. Improved vectorized assignment - overcomes MSVC optimization issues. CwiseNullaryOp is now requiring functors to offer 1D and 2D operators. Adapted existing functors to the new CwiseNullaryOp requirements. Added ei_plset to create packages as [a, a+1, ..., a+size]. Added more nullaray unit tests.
2010-01-27 02:42:17 +08:00
cout
<
<
v
<
<
endl
;
Reference in New Issue
Copy Permalink