#include <malloc.h>
#include <basis.h>
#include <vmblock.h>
Include dependency graph for vmblock.cpp:
Go to the source code of this file.
Defines | |
#define | VMALLOC (vmltyp *)malloc(sizeof(vmltyp)) |
#define | LISTE ((vmltyp *)vmblock) |
#define | MAGIC 410 |
#define | matmalloc(mat, m, n, typ, umat) |
Typedefs | |
typedef VML | vmltyp |
Functions | |
void * | vminit (void) |
void | matfree (void **matrix, size_t m) |
void | pmatfree (void ***matrix, size_t m, size_t n) |
REAL *** | pmatmalloc (size_t m, size_t n) |
void * | vmalloc (void *vmblock, int typ, size_t zeilen, size_t spalten) |
bool | vmcomplete (void *vmblock) |
void | vmfree (void *vmblock) |
|
Definition at line 142 of file vmblock.cpp. Referenced by vmalloc(), vmcomplete(), and vmfree(). |
|
Definition at line 144 of file vmblock.cpp. |
|
Value: /*.IX{matmalloc}*/ \ \ { \ size_t j, /* current row index */ \ k; /* elements in row j */ \ \ if ((mat = (typ **)calloc((m), sizeof(typ *))) != NULL) \ for (j = 0; j < (m); j++) \ { \ k = (umat) ? (j + 1) : (n); \ if ((((typ **)mat)[j] = (typ *)calloc(k, sizeof(typ))) == NULL) \ { \ matfree((void **)(mat), j); \ mat = NULL; \ break; \ } \ } \ } Definition at line 260 of file vmblock.cpp. Referenced by pmatmalloc(), and vmalloc(). |
|
Definition at line 136 of file vmblock.cpp. |
|
|
|
Definition at line 197 of file vmblock.cpp. Referenced by pmatfree(), and vmfree(). |
|
Definition at line 314 of file vmblock.cpp. References matfree(). Referenced by pmatmalloc(), and vmfree(). |
|
Definition at line 343 of file vmblock.cpp. References matmalloc, pmatfree(), and REAL. Referenced by vmalloc(). |
|
Definition at line 390 of file vmblock.cpp. References IMATRIX, LISTE, mat4x4, matmalloc, MATRIX, MMATRIX, pmatmalloc(), PMATRIX, REAL, UMATRIX, VEKTOR, vmltyp, and VVEKTOR. Referenced by convertMatrix(), convertVector(), eigen(), and eigenValues(). |
|
Definition at line 494 of file vmblock.cpp. Referenced by eigen(). |
|
Definition at line 517 of file vmblock.cpp. References IMATRIX, LISTE, matfree(), MATRIX, MMATRIX, pmatfree(), PMATRIX, UMATRIX, VEKTOR, vmltyp, and VVEKTOR. Referenced by eigen(). |
|
Definition at line 155 of file vmblock.cpp. References vmltyp. Referenced by convertMatrix(), convertVector(), eigen(), and eigenValues(). |