Defines | Functions | Variables

tclMatrix.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pldll.h"
#include "tclMatrix.h"

Go to the source code of this file.

Defines

#define MAX(a, b)   ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
#define MIN(a, b)   ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
#define dbug_enter(a)

Functions

static int matrixInitialize (Tcl_Interp *interp, tclMatrix *m, int dim, int offs, int nargs, const char **args)
static int MatrixCmd (ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
static char * DeleteMatrixVar (ClientData clientData, Tcl_Interp *interp, char *name1, char *name2, int flags)
static void DeleteMatrixCmd (ClientData clientData)
static void MatrixPut_f (ClientData clientData, Tcl_Interp *interp, int index, const char *string)
static void MatrixGet_f (ClientData clientData, Tcl_Interp *interp, int index, char *string)
static void MatrixPut_i (ClientData clientData, Tcl_Interp *interp, int index, const char *string)
static void MatrixGet_i (ClientData clientData, Tcl_Interp *interp, int index, char *string)
int Tcl_MatrixCmd (ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
tclMatrixTcl_GetMatrixPtr (Tcl_Interp *interp, const char *matName)
int Tcl_MatrixInstallXtnsn (char *cmd, tclMatrixXtnsnProc proc)

Variables

static int matTable_initted = 0
static Tcl_HashTable matTable
static tclMatrixXtnsnDescrhead = (tclMatrixXtnsnDescr *) NULL
static tclMatrixXtnsnDescrtail = (tclMatrixXtnsnDescr *) NULL

Define Documentation

#define dbug_enter (   a  ) 

Definition at line 60 of file tclMatrix.c.

#define MAX (   a,
  b 
)    ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )

Definition at line 47 of file tclMatrix.c.

#define MIN (   a,
  b 
)    ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )

Definition at line 50 of file tclMatrix.c.


Function Documentation

static void DeleteMatrixCmd ( ClientData  clientData  )  [static]

Definition at line 1068 of file tclMatrix.c.

static char * DeleteMatrixVar ( ClientData  clientData,
Tcl_Interp *  interp,
char *  name1,
char *  name2,
int  flags 
) [static]

Definition at line 1013 of file tclMatrix.c.

static int MatrixCmd ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
const char **  argv 
) [static]

Definition at line 524 of file tclMatrix.c.

static void MatrixGet_f ( ClientData  clientData,
Tcl_Interp *  interp,
int  index,
char *  string 
) [static]

Definition at line 967 of file tclMatrix.c.

static void MatrixGet_i ( ClientData  clientData,
Tcl_Interp *  interp,
int  index,
char *  string 
) [static]

Definition at line 990 of file tclMatrix.c.

static int matrixInitialize ( Tcl_Interp *  interp,
tclMatrix m,
int  dim,
int  offs,
int  nargs,
const char **  args 
) [static]

Definition at line 461 of file tclMatrix.c.

static void MatrixPut_f ( ClientData  clientData,
Tcl_Interp *  interp,
int  index,
const char *  string 
) [static]

Definition at line 959 of file tclMatrix.c.

static void MatrixPut_i ( ClientData  clientData,
Tcl_Interp *  interp,
int  index,
const char *  string 
) [static]

Definition at line 977 of file tclMatrix.c.

tclMatrix* Tcl_GetMatrixPtr ( Tcl_Interp *  interp,
const char *  matName 
)

Definition at line 370 of file tclMatrix.c.

int Tcl_MatrixCmd ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
const char **  argv 
)

Definition at line 123 of file tclMatrix.c.

int Tcl_MatrixInstallXtnsn ( char *  cmd,
tclMatrixXtnsnProc  proc 
)

Definition at line 410 of file tclMatrix.c.


Variable Documentation

Definition at line 406 of file tclMatrix.c.

Tcl_HashTable matTable [static]

Definition at line 66 of file tclMatrix.c.

int matTable_initted = 0 [static]

Definition at line 65 of file tclMatrix.c.

Definition at line 407 of file tclMatrix.c.