variables.c
Go to the documentation of this file.
135 * Returns the ID assigned to this variable (the position where it is inserted) and not its order
Definition of the boolean type. unsigned int NVariables(Tvariables *vs) Gets the number of variables in a set. Definition: variables.c:69 Tinterval * GetBoxInterval(unsigned int n, Tbox *b) Returns a pointer to one of the intervals defining the box. Definition: box.c:270 void BoxFromVariables(Tbox *b, Tvariables *vs) Creates a box from the ranges of a set of variables. Definition: variables.c:283 void PrintVariables(FILE *f, Tvariables *vs) Prints a set of variables to an stream. Definition: variables.c:318 Definition of the Tvariables type and the associated functions. boolean IsSystemVariable(unsigned int n, Tvariables *vs) Identifies system variables in a set. Definition: variables.c:103 void SetBoxInterval(unsigned int n, Tinterval *is, Tbox *b) Replaces a particular interval in a box. Definition: box.c:259 void GetVariableNames(char **varNames, Tvariables *vs) Gets the name for all the variables in the set. Definition: variables.c:234 void SetVariableInterval(Tinterval *i, Tvariable *v) Sets the new range for the variable. Definition: variable.c:70 boolean IsCartesianVariable(unsigned int n, Tvariables *vs) Identifies cartesian variables in a set. Definition: variables.c:118 void PointFromVariables(double **p, Tvariables *vs) Creates a point from the center of the ranges of a set of variables. Definition: variables.c:294 Error and warning functions. void VariablesFromBox(Tbox *b, Tvariables *vs) Define the range for the variables from a box. Definition: variables.c:305 unsigned int GetVariableID(char *name, Tvariables *vs) Gets the variable identifier (i.e., its position in the set) given a variable name. Definition: variables.c:201 unsigned int GetNumSystemVariables(Tvariables *vs) Gets the number of system variables in a set. Definition: variables.c:90 Definitions of constants and macros used in several parts of the cuik library. unsigned int GetVariablesTopology(unsigned int **t, Tvariables *vs) Gets the topology for the variables in the set. Definition: variables.c:222 unsigned int GetVariableTopology(Tvariable *v) Gets the topology of the variable. Definition: variable.c:52 void CopyVariables(Tvariables *vs_dst, Tvariables *vs_src) Copy onstructor. Definition: variables.c:40 void RemoveVariable(unsigned int n, Tvariables *vs) Removes a variable from a set. Definition: variables.c:257 unsigned int GetNumCartesianVariables(Tvariables *vs) Gets the number of cartesian variables in a set. Definition: variables.c:77 unsigned int GetNumSecondaryVariables(Tvariables *vs) Gets the number of secondary variables in a set. Definition: variables.c:98 #define MEM_DUP(_var, _n, _type) Duplicates a previously allocated memory space. Definition: defines.h:414 #define NO_UINT Used to denote an identifier that has not been initialized. Definition: defines.h:435 boolean IsDummyVariable(unsigned int n, Tvariables *vs) Identifies dummy variables in a set. Definition: variables.c:113 char * VariableName(unsigned int i, Tvariables *vs) Gets the name for a particular variable. Definition: variables.c:242 Tvariable * GetVariable(unsigned int n, Tvariables *vs) Gets the information of a variable given its number in the set (i.e., its identifier). Definition: variables.c:189 Tinterval * GetVariableInterval(Tvariable *v) Gets the range of valid values for the variable. Definition: variable.c:75 boolean IsSecondaryVariable(unsigned int n, Tvariables *vs) Identifies secondary variables in a set. Definition: variables.c:108 unsigned int GetNumDummyVariables(Tvariables *vs) Gets the number of dummy variables in a set. Definition: variables.c:82 unsigned int AddVariable(Tvariable *v, Tvariables *vs) Adds a variable to the set. Definition: variables.c:138 Tvariable * GetVariableWithName(char *name, Tvariables *vs) Gets the information of a variable given the name of this variable. Definition: variables.c:175 unsigned int GetVariableTypeN(unsigned int n, Tvariables *vs) Gets the type of a particular variable. Definition: variables.c:123 |
Follow us!