Changes between Initial Version and Version 3 of Ticket #2902
- Timestamp:
- 02/15/18 14:38:31 (6 years ago)
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 1 1 The current implementation to check whether a double[,] contains any Nan/Inf-values or not is rather time consuming. 2 2 3 inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x))) 4 3 inputMatrix.Cast<double>().Any(...) 5 4 At first glance it takes about 6 seconds for a 50000x500 matrix. 6 5 After consulting mkommend, a faster alternative would be preferred.