summaryrefslogtreecommitdiffstats
path: root/otherlibs/bigarray/bigarray.ml
AgeCommit message (Collapse)Author
2014-12-13Simplify the definition of custom .{} operatorsGabriel Scherer
This commits modify the Bigarray syntax extension in order to facilitate the use of custom .{} operators. The compatibility with the existing Bigarray syntax has been preserved as much as possible. However, this commit will break code which use the Bigarray .{} syntax without opening the Bigarray module first! Like the previous commit, this commit modifies the parser to desugar bigarray1.{index} to ( .{} ) bigarray1 index. Following the bigarray syntax, the index operator used in the desugaring changes if the index is a n-tuple: 1-tuple => .{} 2-tuple => .{,} 3-tuple => .{,,} 4 and more tuples => .{,..,} The bigarray modules has been modified to use this new index operators. Note that this means that these index operators are not anymore accessible without opening the bigarray module. From: octachron <octa@polychoron.fr> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-01-09PR#6064: GADT representation for Bigarray.kind + CAML_BA_CHAR runtime kindGabriel Scherer
Patch by Jeremy Yallop and Leo P. White git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-04Merge branch 4.01 from branching point to 4.01.0+rc1Damien Doligez
Command line used: svn merge --accept postpone -r 13776:14055 $REPO/version/4.01 . git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-11-06PR#5762: Add primitives for fast access to bigarray dimensionsFabrice Le Fessant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15remove all $Id keywordsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-06Remove the 'dispose' functions from Bigarray. Xavier Leroy
(Partial revert of commit 12327, keeping the other good bits.) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12432 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-09PR#3571: in Bigarrays, call msync() before unmapping to commit changesXavier Leroy
PR#5463: Bigarray.*.map_file fail if empty array is requested Bigarray: added "release" functions that free memory and file mappings just like GC finalization does eventually, but does it immediately. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27renaming of Objective Caml to OCaml and cleanup of copyright headersDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14PR#4223, PR#1508: added unsafe variants of Bigarray.Array{1,2,3}.{get,set}Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06Merge the natdynlink branch into HEAD.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-21Bigarray.*.map_subfile replaced by an optional argument to Bigarray.*.map_fileXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-10Added map_subfile functions (memory mapping from a non-zero file offset). ↵Xavier Leroy
Win32 implementation is untested. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-27PR#1956 renommage: bigarray est prefixe par ocaml_ba_Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24Bug in Array3.of_array (PR#3793)Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7070 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30changements sur les warningsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30Pas besoin de magic dans les tests de layoutXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-25Ajout Genarray.dimsXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4834 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-15Ajout fonctions kind et layout (PR#1055)Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-10Complex bigarraysXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07MAJ en-tetes pour mentionner la 'special exception' sur la LGPLXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-06passage aux labels strictsJacques Garrigue
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-01-21Ajout de reshapeXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-28Forcer bigarray_get_{1,2,3,N} a etre linkees en cas de ocamlmktop ou ocamlc ↵Xavier Leroy
-linkall git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-28Utilisation primitives speciales pour get/setXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2875 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-25Ajout memory mapping. Diverses correctionsXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-25Typo dans bigarray.h.Xavier Leroy
Ajout des operations of_array. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2863 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-24MAJ et ecriture de la docXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2859 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-22Premier jet des bigarraysXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02