Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000225ILNumerics[All Projects] Feature Requestspublic2016-02-19 12:202018-05-26 21:23
Reporterho 
Assigned Toho 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000225: Change return type of ILMath.size(ILBaseArray)
DescriptionAccording to the documentation, the return value is a ‘Double array with the length of each dimension of A’.

The number of components along a dimension of a tensor is an integer not a rational number. Shouldn’t the method return an ILRetArray<int> ?
Steps To ReproduceILArray<double> A = ones(2,3,4);
ILArray<double> S = size(A);
Additional InformationThis is reasonable but would be a breaking change. Please vote for or against the change. We consider to implement it for one of the next updates (4.11. or 4.12)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000268)
ho (administrator)
2018-05-26 21:23

In version 5 all dimension lengths will be represented by <long> arrays. Int64 is required since in version 5 arrays can grow above Int32.MaxValue elements.

- Issue History
Date Modified Username Field Change
2016-02-19 12:20 ho New Issue
2016-02-19 12:21 ho Assigned To => ho
2016-02-19 12:21 ho Status new => acknowledged
2018-05-26 21:23 ho Note Added: 0000268
2018-05-26 21:23 ho Status acknowledged => resolved
2018-05-26 21:23 ho Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker