This bugzilla service is closed. All entries have been migrated to

Bug 586

Summary: Add NaN and Inf constant matrices
Product: Eigen Reporter: Gael Guennebaud <gael.guennebaud>
Component: Core - generalAssignee: Nobody <eigen.nobody>
Status: DECISIONNEEDED ---    
Severity: Unknown CC: gael.guennebaud, jacob.benoit.1
Priority: Normal Keywords: JuniorJob
Version: unspecified   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1608    

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: