You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is there a documentation talking about the source code like an API documentation?
I am developing a structure like:
Given that Const is a subtype of Exp
f{T<:Exp}(x::T,y ::T ) = Composite(x,y)
f(x::Const,y::Const) => here I look for optimization cases where Const(0.0) or Const(1.0) and in the fall back case , I need to call f{T<:Exp}(x::T,y ::T ).
This definitely needs this sort of dispatch. I developed my own expression tree matching system. however i need to develop a decision tree and linearization scheme like yours? So If there is a document about the process, it would be awesome.
Or at least, an explanation about each type or jl file that you use in your code would be a nice thing.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, sorry for the late reply, have been away without internet for a while.
Unfortunately, there's not really any documentation besides the source itself. It's been a while since I wrote this so I don't quite remember how everything fits together either, but if you make some more specific questions I might be able to answer them.
2 years ago I was working an a major overhaul of the package, but it never quite got to the state where I was happy to release it. It's really a reimplementation using a somewhat different design for the internals, but I also made an effort to document more of the working principles for that design. You can find it in the readme for https://github.com/toivoh/PatternDispatch.jl/tree/new_pattern. Perhaps it might give some insight?
Hi,
Is there a documentation talking about the source code like an API documentation?
I am developing a structure like:
Given that Const is a subtype of Exp
f{T<:Exp}(x::T,y ::T ) = Composite(x,y)
f(x::Const,y::Const) => here I look for optimization cases where Const(0.0) or Const(1.0) and in the fall back case , I need to call f{T<:Exp}(x::T,y ::T ).
This definitely needs this sort of dispatch. I developed my own expression tree matching system. however i need to develop a decision tree and linearization scheme like yours? So If there is a document about the process, it would be awesome.
Or at least, an explanation about each type or jl file that you use in your code would be a nice thing.
Thanks
The text was updated successfully, but these errors were encountered: