Git Product home page Git Product logo

chol-rev's People

Contributors

imurray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chol-rev's Issues

Small fixes for Matlab 2019b, Intel XE 2020 and Win 10

Hi,
Awsome code!
For the environment in the title, I had to do two small changes to make the system compile:

  1. In chol_rev.c line 23, changed int64_t to long long. (I guess int64_t isn't included in stdint.h.)
  2. In chol_rev.c line 30, changed dpofrt to DPOFRT. (I guess the linker is case-sensitive.)

Cheers,
David

add topics

I suggest adding topics such as cholesky-decomposition, cholesky, automatic-differentiation in the About section.

a cython implementation from autograd / GPy

(This isn't really an issue with the code, just a pointer to some other code in case it's interesting. Feel free to close it immediately!)

We wrote a Cholesky reverse-mode routine in autograd (and based it on one in GPy). The code is in cython, which generates very nice C code and is a bit easier to build with Python, especially since it grabs BLAS function pointers from scipy at runtime and so doesn't have any other compile-time dependencies. I also wrote a loop instead of calling dscal because a modern C compiler can generate code at least as good as some level 1 routines.

I got a bit stuck on writing a routine for the second-order derivative. Smith 1995 doesn't seem to spell out a pure reverse-mode computation for the second derivative.

Your code here looks really nice, and being in Fortran it's not limited to just Python. Having a "LARMPACK" as you describe would indeed be awesome.

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.