cuikmaf.c File Reference

Detailed Description

dot_inline_dotgraph_6.png

Generates the MAF (Multi-affine) file from the file of equations.

The solver only works on MAF files. Equation (cuik) files are only provided by convinience and they are alwasy translated into a MAF file

In complex problems, the MAF file is much more compact than the eauations themselves.

See also
cuiksystem.h cuiksystem.c

Definition in file cuikmaf.c.

Functions

int main (int argc, char **arg)
 Main body of the cuikmaf application. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  arg 
)

Main body of the cuikmaf application.

Use:

  • cuikmaf problem_name.cuik

where

  • problem_name contains the kinematic equations

The .cuik extension is optional.

Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuik command itself and its arguments).
argStrings with the arguments.
Returns
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 70 of file cuikmaf.c.

References CreateFileName(), DeleteCuikSystem(), DeleteFileName(), DeleteParameters(), GetFileFullName(), InitParametersFromFile(), PARAM_EXT, ReadProblemFromFile(), and SaveCuikSystemToMAF().