| MF_matrix0
| MD_matrix0 |
ME_matrix0 |
| MCF_matrix0 |
MCD_matrix0 |
MCE_matrix0 |
| MI_matrix0 | MBI_matrix0 | MSI_matrix0 | MLI_matrix0 | MQI_matrix0 |
| MU_matrix0 | MUB_matrix0 | MUS_matrix0 | MUL_matrix0 | MUQ_matrix0 |
|
| Function | allocate memory for a matrix and initialize all elements with 0 |
|
| Syntax C/C++ | #include <MFstd.h>
fMatrix F_matrix0( ui ht, ui len ); |
| Pascal/Delphi | uses MFstd;
function MF_matrix0( ht, len:UIntSize ): fMatrix; |
|
| Description | The functions of this family are almost identical to those of the MF_matrix family; in addition to allocating memory, they initialize all elements with 0. (Calls to MF_matrix and MF_matrix0 may be mixed; they and the vector allocation functions, VF_vector etc. use the same tables to keep track of the handles and pointers). For further information, see MF_matrix. |
|
| Error handling | If there is not enough memory available, or if size is zero, an error message "Not enough memory" is displayed and the program aborted.
16-bit models:
If more than 64 kB of memory are requested, an error message "Vector > 64 kB not possible" is displayed and the program aborted (except in the model HUGE). If any of the two matrix dimensions exceeds the 64 kB limit, an error message "Invalid matrix dimension(s)" is displayed and the program aborted, even in the model HUGE.
32-bit:
If more than 4 GB of memory are requested, an error message "Vector > 4 GB not possible" is displayed and the program aborted. If already a single matrix dimensions exceeds this limit, an error message "Invalid matrix dimension(s)" is displayed and the program aborted. |
|
| Return value | C/C++: Pointer to the array of row pointers
Pascal/Delphi: Pointer to the allocated memory |
|
|