This bugzilla service is closed. All entries have been migrated to
Bug 586 - Add NaN and Inf constant matrices
Summary: Add NaN and Inf constant matrices
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: unspecified
Hardware: All All
: Normal Unknown
Assignee: Nobody
Keywords: JuniorJob
Depends on:
Blocks: 3.x
  Show dependency treegraph
Reported: 2013-04-13 23:49 UTC by Gael Guennebaud
Modified: 2019-12-04 12:15 UTC (History)
2 users (show)


Description Gael Guennebaud 2013-04-13 23:49:09 UTC
Just like we have Ones and Zero matrices, we could have NaN and Inf shortcuts. NaN is complementary to the EIGEN_INITIALIZE_MATRICES_BY_NAN option, and use cases of Inf are pretty obvious.

Regarding names, matlab has NaN(,) and Inf(,) functions, but we could go for more explicit names. In particular shouldn't we add plural "s" -> NaNs() and Infs() or Infinities()?
Comment 1 Nobody 2019-12-04 12:15:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:

Note You need to log in before you can comment on or make changes to this bug.