Gael Guennebaud 58146be99b bug #1004: one more rewrite of LinSpaced for floating point numbers to guarantee both interpolation and monotonicity.
This version simply does low+i*step plus a branch to return high if i==size-1.
Vectorization is accomplished with a branch and the help of pinsertlast.
Some quick benchmark revealed that the overhead is really marginal, even when filling small vectors.
2016-10-25 16:53:09 +02:00
..
2016-05-18 14:03:03 +02:00
2016-09-21 21:53:00 +02:00
2014-01-24 12:51:33 +01:00
2013-08-12 07:39:24 +02:00
2016-09-17 14:14:01 +02:00
2016-07-09 23:37:11 +02:00
2016-07-06 11:05:30 +02:00
2016-06-03 08:12:14 +02:00
2015-10-23 10:36:33 +02:00
2016-07-07 11:03:01 +02:00
2015-06-16 22:11:41 +02:00
2016-08-31 13:04:29 +02:00
2015-10-28 11:42:14 +01:00
2015-11-16 13:33:54 +01:00
2016-05-19 22:48:16 +02:00
2015-08-04 16:12:16 +02:00
2015-10-23 10:36:33 +02:00
2016-01-30 22:26:17 +01:00
2016-07-12 17:19:26 +02:00
2016-09-21 17:08:51 +02:00
2016-04-13 22:18:02 +02:00
2016-07-06 22:25:24 +02:00