Skip to content

Union of Approximation and Intervening variables? #128

Description

@artofscience

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())

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions