Re: [eigen] matrix::linspace |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: "eigen@xxxxxxxxxxxxxxxxxxx" <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: Re: [eigen] matrix::linspace*From*: Jitse Niesen <jitse@xxxxxxxxxxxxxxxxx>*Date*: Wed, 27 Jan 2010 10:27:26 +0000 (GMT)

On Tue, 26 Jan 2010, Benoit Jacob wrote:

2010/1/26 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:This depends on your application. If you want something like this to work VectorXd x = VectorXd::LinSpaced(-1.0,1.0,10000); std:acos(x(0)); std::acos(x(end)); it better be in range or you'll end up with NaN when x(0)<-1 or x(end)>-1. But maybe that's too application specific.I'd call that a problem specific to acos(), not to the problem at hand!

That depends how you define the problem at hand :)

Jitse

**Follow-Ups**:**Re: [eigen] matrix::linspace***From:*Benoit Jacob

**References**:**[eigen] matrix::linspace***From:*Hauke Heibel

**Re: [eigen] matrix::linspace***From:*Benoit Jacob

**Re: [eigen] matrix::linspace***From:*Hauke Heibel

**Re: [eigen] matrix::linspace***From:*Hauke Heibel

**Re: [eigen] matrix::linspace***From:*Benoit Jacob

**Re: [eigen] matrix::linspace***From:*Hauke Heibel

**Re: [eigen] matrix::linspace***From:*Benoit Jacob

**Re: [eigen] matrix::linspace***From:*Hauke Heibel

**Re: [eigen] matrix::linspace***From:*Benoit Jacob

**Re: [eigen] matrix::linspace***From:*Hauke Heibel

**Re: [eigen] matrix::linspace***From:*Benoit Jacob

**Messages sorted by:**[ date | thread ]- Prev by Date:
**[eigen] XLC Port: Part II - External definition of a template member function of a template class causing the problems?** - Next by Date:
**[eigen] Re: XLC Port: Part II - External definition of a template member function of a template class causing the problems?** - Previous by thread:
**Re: [eigen] matrix::linspace** - Next by thread:
**Re: [eigen] matrix::linspace**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |