Giter VIP home page Giter VIP logo

diagrammaticequations.jl's People

Contributors

algebraicjuliabot avatar bosonbaas avatar chrisrackauckas avatar cojiono avatar epatters avatar georger227 avatar jpfairbanks avatar kris-brown avatar lilithhafner avatar lukem12345 avatar mehalter avatar olynch avatar oscardssmith avatar quffaro avatar tylerhanks avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lilithhafner

diagrammaticequations.jl's Issues

infer_states double export

DiagrammaticEquations is double-exporting infer_states in multiple modules apparently

  1 dependency had output during precompilation:
┌ DiagrammaticEquations
│  WARNING: using Deca.infer_states in module DiagrammaticEquations conflicts with an existing identifier.
└  

Literals as variables

In the code that @GeorgeR227 presented today, it looked like there was var"1.4" = 1.4 in the generated output. We should probably just propagate the constant into the generated AST everywhere.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Merge Branches in Computation Graph

We note that we can take this idea of contracting chains further by eliminating branches.

In other words, a binary tree of depth 2, (with update steps at the leaves) requires (assuming all functions on edges are unique) 6 matrices, 2 intermediary vectors, and performs 6 matrix-vector multiplications. This could be re-written as an equivalent 1-deep 4-ary tree which requires just 4 matrices, 0 intermediary vectors, and performs 4 matrix-vector multiplications. This result cannot be improved upon, unless edge pruning of duplicate operations is performed.

This speed-up and memory improvement of an entire decapode in this fashion is unlikely to occur, since Op2s are likely to break this downwards tree-like property.

Originally posted by @lukem12345 in AlgebraicJulia/Decapodes.jl#93 (comment)

Annotating Decapodes with types

Currently, Decapodes are flexible. That is, an object of the type SummationDecapode could represent equations in the 2D Exterior Calculus, or 1D Exterior Calculus, and so on.

Programming with Decapodes would become more well-typed if the Decapode objects had something like a type parameter with the degree of the DEC being used. Compilation steps like type inference could then automatically pick the correct set of inference rules.

The typing system could most likely be improved in other ways, but some brainstorming needs to happen first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.