411 REFERENCE · Wikibooks
Linear Algebra and the C Language/a000
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
__NOTOC__
For C language:
On Linux you need to add the -lm command to the command line to link the standart math library to your code.
compile : gcc -Wall -c "%f" -lm
build ..... : gcc -Wall -o "%e" "%f" -lm
Copy my library into your working directory.
Each *.c file is an example to compile and run.
For gnuplot:
Linux :
Run a C example.
Add a new window in your working terminal.
You will automatically be in the correct directory to launch gnuplot.
Type : gnuplot
Type : load "a_main.plt"
Windows :
To select the correct directory in Windows.
Choose the icon ChDir (Change Directory)
Then the Open icon to select the gnuplot command file: "a_main.plt".