artofscience / artofscience/SAOR

Union of Approximation and Intervening variables?

Open
#128 1 comment 0 reactions 3 assignees Assigned to @aatmdelissen View on GitHub
enhancement help wanted
Dominant language
Python
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Note the following:

class Approximation:
def g
def dg
def ddg
def update
def clip

class Intervening:
def y
def dydx
def ddyddx
def update
def clip

Woh? They are so similar. Why not make a single class?

Both are actually just functions with derivatives...

Then we can e.g. do things like

approx = Taylor2(Taylor1(resp(2)=Taylor1(MMA()), resp(3)=Taylor2(Taylor1(Reciprocal())), resp(0)=Linear())

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.