-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
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())
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed