fix final main.c matutil.c matutil.h and add hw3.txt and README.md
This commit is contained in:
27
hws/hw3/README.md
Normal file
27
hws/hw3/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Numerical Analysis Homework 3
|
||||
|
||||
## Compile Alert
|
||||
|
||||
This source file contain UNIX `fork` function!!! please compile and run in Ubuntu.
|
||||
|
||||
when compiling source, must be included below c file
|
||||
|
||||
```makefile
|
||||
nr/ansiother/nrutil.c nr/ansirecipes/gaussj.c nr/ansirecipes/ludcmp.c nr/ansirecipes/svdcmp.c nr/ansirecipes/mprove.c nr/ansirecipes/lubksb.c nr/ansirecipes/pythag.c main.c matutil.c
|
||||
```
|
||||
|
||||
and include dir `nr/ansi/other` and `$(workspace)`(this folder)
|
||||
|
||||
cflags are:
|
||||
```makefile
|
||||
CFLAGS := -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -Wall -g -std=c90
|
||||
LDFLAGS := -lm
|
||||
```
|
||||
|
||||
**executable should be located in the same folder as the *.dat file.**
|
||||
|
||||
## Results & Report
|
||||
|
||||
Compile, build and run results are included in hw3.txt
|
||||
|
||||
The report is the output of a compilation executable.
|
||||
Reference in New Issue
Block a user