Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 3 of Ticket #2902


Ignore:
Timestamp:
02/15/18 14:38:31 (6 years ago)
Author:
fholzing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2902

    • Property Status changed from new to accepted
    • Property Type changed from defect to enhancement
  • Ticket #2902 – Description

    initial v3  
    11The current implementation to check whether a double[,] contains any Nan/Inf-values or not is rather time consuming.
    22
    3 inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x)))
    4 
     3inputMatrix.Cast<double>().Any(...)
    54At first glance it takes about 6 seconds for a 50000x500 matrix.
    65After consulting mkommend, a faster alternative would be preferred.