[eigen] Move scalar math functions from internal namespace to math |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Move scalar math functions from internal namespace to math
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Tue, 11 Jun 2013 08:55:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=rSK19uApj3Ska8MyxtPJIpjwyk3DLddFEFIffgGgh1o=; b=rJoMYQmv4i/epmO91n3B5J0oeUe/QMETjatfVFZTEa4GodAiHM4txoH/u4SIKZB3Ip 481Cp+hqmC5zDr5EcEI2IIiiAfrZ7yAb0YXgDQRGD09NREI/2cKZlJiwXgsmpbqWZNNV nZ7OgzDU5+vuXAkyhZBUGPWMdKnqhzHt234cRJ2naZ5WxHaPwanr4vpIJbIolJaH3G8G +0odM+Qo7V9d/1j8tSJ5YxKcG5qQpcMT70RCWG9u9AuFDWMD3wEzZzmXG4oY8DmIwlWo jbm1PiFQI/OPbtzCm+f4WdOcd+WocvDDkkshgEq29HbdqY08lyJOFYhkwLTk9rMKTai9 euuA==
Hi,
just to warn you that I plan to push the changeset attached there
http://eigen.tuxfamily.org/bz/show_bug.cgi?id=314. It moves the
remaining math functions (imag, real, conj, abs2, norm1, hypot, pow)
from the internal namespace to math namespace.
I know this might break user code that calls these internal routines,
but this is needed because currently doing real(mat) or abs2(math)
will compile to an infinite recursive loop. More details in the bug
report.
Of course, we can easily replace 'math::' by anything more
appropriate. So if you have better ideas for this prefix...
cheers,
gael.