[eigen] renaming 'precision' to 'dummy_precision' |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] renaming 'precision' to 'dummy_precision'
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Thu, 26 Nov 2009 15:47:10 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=+gba4fezPyyEkNKcWSlrBOUUNzYxAOs3s9JgCBfxgy8=; b=MKzQWlrVsKFQkj9xcgl7Cms/yPtriIN3K0zZqSlvf1uL1MZLdrJGzAMZD68kzvgrDp R8C27AS0QaZuu9m4F8+FdUtq9pLHRbghteEXaiFK3+tbDGkN/9uEFX/dRfh98XyVqPI5 OGymjJasMPYPhNojIuf674trIl1LYvMMlyEdc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RZFmGCNiFfylG+K1ZEGJZhbXAruT15QFWKlaj/m5nfjzlKIERfEFoD5StnyepRYuIS eTxewspOHenpBAenAu/E9Rzkm/JrpBNM7kN/QQ53D5L83oyQKm2C9Px1cO74RMM/s7dL luA0Ol4JbKOJyojvL7rkGJ5tIZUMKsTWJLTK8=
Hi,
the precision<Scalar>() global function represents a dummy precision
to use with type Scalar when you really have no clue what precision to
expect. For example, for double it is 1e-12. It is often used as a
default value.
OK to rename it to dummy_precision() ?
I am afraid of precision() or default_precision() as it can give wrong
ideas about Eigen not being precise.
Benoit