7.7.6. IDX reading and writing
|
(lsh/libidx/idx-io.lsh) |
Author(s): Pascal Vincent
Compilable routines for reading/writing vector/matrix/tensors from/to an
open file.
These routines are based on the C-like Compilable file I/O routines.
They use their own matrix file format, different from the traditional
Lush matrix formats. Nevertheless, the traditional functions
load-matrix and save-matrix
are able to handle this format.
7.7.6.0. IDX file format for compilable I/O
|
(lsh/libidx/idx-io.lsh) |
Author(s): Pascal Vincent
the Lush interpreter has several function to read and write
vectors/matrices/tensors in various portable ways, unfortunately, these
functions cannot be called in compiled code at the moment. To alleviate
the problem, a number of compilable functions are provided to read/write
IDX. unfortunately again, the formats are not compatible with the those
of the core read/write functions. This discrepancy exists for largely
historical reasons and will eventually be fixed.
The format used by the compilable functions is as follows:
- A
long word (4 bytes) coding the matrix type (see detail below)
- A long word (4 bytes) for EACH dimension of the matrix (thus for an
idx2 it will be 2 long-words, the first one for the height, the second
one for the width of the matrix)
- A (possibly reversed) memory-dump of the elements of the matrix
(short: 2 bytes, int: 4 bytes, flt: 4 bytes real: 8 bytes)
The matrix types are encoded in the following way (hexadecimal
representation):.PRE - idx1 of ubyte: 00 00 08 01 - idx2 of ubyte: 00 00
08 02 - idx3 of ubyte: 00 00 08 03 - idx1 of byte: 00 00 09 01 - idx2 of
byte: 00 00 09 02 - idx3 of byte: 00 00 09 03 - idx1 of short: 00 00 0B
01 - idx2 of short: 00 00 0B 02 - idx3 of short: 00 00 0B 03 - idx1 of
int: 00 00 0C 01 - idx2 of int: 00 00 0C 02 - idx3 of int: 00 00 0C 03 -
idx1 of flt: 00 00 0D 01 - idx2 of flt: 00 00 0D 02 - idx3 of flt: 00 00
0D 03 - idx1 of real: 00 00 0E 01 - idx2 of real: 00 00 0E 02 - idx3 of
real: 00 00 0E 03
The long-words and the elements of the matrix MUST correspond to the
byte order and coding of the Sparc stations (classical big-endian, and
IEEE standard floating point representation) If the system is not a
Sparc, then the functions that write or load these matrixes reverse the
bytes if necessary to keep the file format consistant between systems.
7.7.6.1. (fread-idx1-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-ubyte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.2. (fwrite-idx1-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-ubyte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.3. (fread-idx2-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-ubyte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.4. (fwrite-idx2-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-ubyte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.5. (fread-idx3-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-ubyte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.6. (fwrite-idx3-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-ubyte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.7. (fwrite-idx4-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx4- (-ubyte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Yoshua Bengio 05 Feb 98
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.8. (fread-idx4-ubyte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx4- (-ubyte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Yoshua Bengio 05 Feb 98
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.9. (fread-idx1-byte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-byte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.10. (fwrite-idx1-byte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-byte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.11. (fread-idx2-byte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-byte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.12. (fwrite-idx2-byte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-byte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.13. (fread-idx3-byte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-byte-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.14. (fwrite-idx3-byte file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-byte-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.15. (fread-idx1-short file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-short-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.16. (fwrite-idx1-short file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-short-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.17. (fread-idx2-short file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-short-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.18. (fwrite-idx2-short file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-short-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.19. (fread-idx3-short file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-short-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.20. (fwrite-idx3-short file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-short-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.21. (fread-idx1-int file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-int-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.22. (fwrite-idx1-int file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-int-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.23. (fread-idx2-int file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-int-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.24. (fwrite-idx2-int file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-int-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.25. (fread-idx3-int file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-int-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.26. (fwrite-idx3-int file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-int-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.27. (fread-idx1-flt file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-flt-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.28. (fwrite-idx1-flt file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-flt-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.29. (fread-idx2-flt file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-flt-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.30. (fwrite-idx2-flt file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-flt-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.31. (fread-idx3-flt file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-flt-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.32. (fwrite-idx3-flt file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-flt-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.33. (fread-idx1-real file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-real-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.34. (fwrite-idx1-real file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx1- (-real-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.35. (fread-idx2-real file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-real-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.36. (fwrite-idx2-real file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx2- (-real-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.37. (fread-idx3-real file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-real-)) m) ; the matrix to be read from the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: reads matrix <m> from file <file-pointer>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.38. (fwrite-idx3-real file-pointer m)
|
(lsh/libidx/idx-io.lsh) |
((-gptr-) file) ; the file pointer returned by a fopen
((-idx3- (-real-)) m) ; the matrix to be written to the file
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: writes matrix <m> to file <file-pointer>
7.7.6.39. (save-idx1-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-ubyte-)) m)
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.40. (load-idx1-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-ubyte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.41. (save-idx2-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-ubyte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.42. (load-idx2-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-ubyte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.43. (save-idx3-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-ubyte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.44. (load-idx3-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-ubyte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.45. (save-idx4-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx4- (-ubyte-)) m):
RETURNS: ()
CREATED: Yoshua Bengio, 5 Feb 98
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.46. (load-idx4-ubyte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx4- (-ubyte-)) m):
RETURNS: ()
CREATED: Yoshua Bengio, 5 Feb 98
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.47. (save-idx1-byte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-byte-)) m)
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.48. (load-idx1-byte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-byte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.49. (save-idx2-byte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-byte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.50. (load-idx2-byte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-byte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.51. (save-idx3-byte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-byte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.52. (load-idx3-byte filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-byte-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.53. (save-idx1-short filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-short-)) m)
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.54. (load-idx1-short filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-short-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.55. (save-idx2-short filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-short-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.56. (load-idx2-short filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-short-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.57. (save-idx3-short filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-short-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.58. (load-idx3-short filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-short-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.59. (save-idx1-int filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-int-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.60. (load-idx1-int filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-int-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.61. (save-idx2-int filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-int-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.62. (load-idx2-int filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-int-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.63. (save-idx3-int filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-int-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.64. (load-idx3-int filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-int-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.65. (save-idx1-flt filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-flt-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.66. (load-idx1-flt filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-flt-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.67. (save-idx2-flt filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-flt-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.68. (load-idx2-flt filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-flt-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.69. (save-idx3-flt filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-flt-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.70. (load-idx3-flt filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-flt-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.71. (save-idx1-real filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-real-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.72. (load-idx1-real filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx1- (-real-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.73. (save-idx2-real filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-real-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.74. (load-idx2-real filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx2- (-real-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file
7.7.6.75. (save-idx3-real filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-real-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: saves matrix <m> to file <filename>
7.7.6.76. (load-idx3-real filename m)
|
(lsh/libidx/idx-io.lsh) |
((-str-) filename):
((-idx3- (-real-)) m):
RETURNS: ()
CREATED: Pascal Vincent 04/05/96
COMPILABLE: Yes
DESCRIPTION: loads matrix <m> from file <filename>
<m> is "resized" to fit the size of the matrix in the file