Skip to content

Commit

Permalink
replace the word base curve by originalCurve (see #264)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Veillette <[email protected]>
  • Loading branch information
veillette committed Mar 24, 2023
1 parent b23b143 commit 302a610
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions doc/implementation-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,18 @@ enough for derivative and integral computations and are considered to cover 'eve
- Saving the curve
- Resetting all the points of the curve

DerivativeCurve and SecondDerivativeCurve's main responsibility is to observe when the 'base' Curve changes and differentiates it and update the Points of the first and second derivative. Derivatives are computed by considering the slope of the secant lines from both sides of every point.
DerivativeCurve and SecondDerivativeCurve's main responsibility is to observe when the originalCurve changes and
differentiates it and update the Points of the first and second derivative. Derivatives are computed by considering the
slope of the secant lines from both sides of every point.

`IntegralCurve` is a Curve subtype for the curve that represents the integral of the TransformedCurve. The TransformedCurve
is referenced as the 'base' Curve of the IntegralCurve.
`IntegralCurve` is a Curve subtype for the curve that represents the integral of the TransformedCurve. The
TransformedCurve
is referenced as the originalCurve of the IntegralCurve.

IntegralCurve's main responsibility is to observe when the 'base' Curve changes and integrate it and update the
IntegralCurve's main responsibility is to observe when the originalCurve changes and integrate it and update the
Points of the Integral. Our implementation of the integral uses a trapezoidal Riemann sum to approximate integrals.
See https://en.wikipedia.org/wiki/Trapezoidal_rule
for background. Since the 'base' Curve exists at all Points, the Integral is also finite at all points.
for background. Since the originalCurve exists at all Points, the Integral is also finite at all points.

### Ancillary Tools

Expand Down

0 comments on commit 302a610

Please sign in to comment.