You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1055 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
unless I have overseen anything obvious, there is some missing but
important functionality that really should be in the Bigarray-module:
it is currently impossible to create arrays of the same kind and layout
as given by another array. This is required for e.g. allocating work
arrays of the same structure (but possibly different size).
My proposal is to add functions "kind" and "layout" to each submodule,
thus allowing extraction of this information, e.g.:
Original bug ID: 1055
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
unless I have overseen anything obvious, there is some missing but
important functionality that really should be in the Bigarray-module:
it is currently impossible to create arrays of the same kind and layout
as given by another array. This is required for e.g. allocating work
arrays of the same structure (but possibly different size).
My proposal is to add functions "kind" and "layout" to each submodule,
thus allowing extraction of this information, e.g.:
val kind : ('a, 'b, 'c) Array1.t -> ('a, 'b) kind
val layout : ('a, 'b, 'c) Array1.t -> 'c layout
Thanks!
Best regards,
Markus
--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus
The text was updated successfully, but these errors were encountered: