summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Jorgensen <jakob.jorgensen@manchester.ac.uk>2018-04-10 07:37:34 +0100
committerJakob Jorgensen <jakob.jorgensen@manchester.ac.uk>2018-04-10 07:37:34 +0100
commita6743609c13e58362da1bed3d932a514cb3d8b5f (patch)
tree9dad4cb482d150d8bc412428d282a52271fc93f1
parent783e5842055bc6991a1963c649fd96d012c27c98 (diff)
downloadframework-a6743609c13e58362da1bed3d932a514cb3d8b5f.tar.gz
framework-a6743609c13e58362da1bed3d932a514cb3d8b5f.tar.bz2
framework-a6743609c13e58362da1bed3d932a514cb3d8b5f.tar.xz
framework-a6743609c13e58362da1bed3d932a514cb3d8b5f.zip
Updated README
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 7d1da31..06d30fe 100644
--- a/README.md
+++ b/README.md
@@ -68,14 +68,16 @@ In `ccpi.framework` we define a number of common classes normally used in tomogr
#### `Function`
- A `function` represents a mathematical function of one or more inputs is intended
+ A `function` represents a mathematical function of one or more inputs and is intended
to accept `DataContainer`s as input as well as any additional parameters.
- Its methods reflect the properties of the function, for example,
+ Fixed parameters can be passed in during the creation of the `function` object.
+ The methods of the `function` reflect the properties of it, for example,
if the function represented is differentiable
the `function` should contain a method `grad` which should return the gradient of the function evaluated at
an input point. If the function is not differentiable but allows a simple proximal operator, the method
- `prox` should return the proxial operator evaluated at an input point. It is also possible
- to evaluate the function value using the method `fun`.
+ `prox` should return the proxial operator evaluated at an input point. The function value
+ is evaluated by calling the function itself, e.g. `f(x)` for a `function`
+ `f` and input point `x`.
#### `Algorithm`