summaryrefslogtreecommitdiff
path: root/Functions
diff options
context:
space:
mode:
authorChristian Kolset <christian.kolset@gmail.com>2025-03-20 15:34:41 -0600
committerChristian Kolset <christian.kolset@gmail.com>2025-03-20 15:34:41 -0600
commitb6cb6d737874ef4488d3b98cbe11de5ee4cbf39a (patch)
tree0bc2ea5cded0c4b077b87e1ab0773a537f1f4b55 /Functions
parenta166aa339da97c656fc3e0dc4063589e5752386f (diff)
Updated README.md. Cleaned README.md and moved functions list to /Functions/README.md
Diffstat (limited to 'Functions')
-rw-r--r--Functions/README.md24
1 files changed, 8 insertions, 16 deletions
diff --git a/Functions/README.md b/Functions/README.md
index 2c0bc75..91eebff 100644
--- a/Functions/README.md
+++ b/Functions/README.md
@@ -1,11 +1,11 @@
# Functions
This directory contains the functions written throught the course.
-- [days.m](#days.m)
-- [falsePositive.m](falsePositive.m)
-- [heun.m](heun.m)
-- [luFactor.m](luFactor.m)
-- [simpson.m](simpson.m)
-- [spacialMatrix.m](spacialMatrix.m)
+- [days.m](days.m) - computes days elapsed in a year.
+- [falsePositive.m](falsePositive.m) - numberical root finding function.
+- [heun.m](heun.m) - Heuns method for solving ODE's.
+- [luFactor.m](luFactor.m) - LU Decomposition.
+- [simpson.m](simpson.m) - numerical integration technique.
+- [spacialMatrix.m](spacialMatrix.m) - function to make special matrix with a specific set of criteria.
---
@@ -44,9 +44,6 @@ Synopsis: `[root, fx, ea, iter] = falsePosition(func, xl, xu, es, maxit, varargi
- `ea` - approximated relative error (%).
- `iter` - number of iterations performed.
-**Notes:**
-Known issue: the output of `iter` needs fixing. The output is incorrect.
-
---
## [heun.m](heun.m)
@@ -113,16 +110,11 @@ Function returns a special matrix A with the following criteria:
Synopsis: `[root, fx, ea, iter] = falsePosition(func, xl, xu, es, maxit, varargin)`.
### Input
-- `func` - the function being evaluated.
-- `xl` - lower bound guess.
-- `xu` - upper bound guess.
-- `es` - desired relative error (default 0.0001%)
-- `maxit` - maximum number of iterations (default 200)
-- `varargin` - any additional parameters used by the function
+- `input` - any additional parameters used by the function
### Output
- `A` - special matrix with the appropriate rules
**Notes:**
-This function has not much of a practical application, rather a very good exercise for beginners to get started with the basics of matrix manipulation and user-defined functions.
+*Synopsis* and *input* need to be updated. This function has not much of a practical application, rather a very good exercise for beginners to get started with the basics of matrix manipulation and user-defined functions.