-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kronecker matrix utilities #60
Comments
From @bgoodri on January 3, 2015 2:47 I think the most immediate need is to have a user-facing function called something like quad_form_kronecker that takes 3 arguments (matrix It is often the case that either |
From @flaxter on February 24, 2015 0:28 Here's a summary of the main points from the Stan dev meeting on this topic (17 February 2015): Eigen now has (experimental) support for Kronecker products: http://eigen.tuxfamily.org/dox-devel/unsupported/group__KroneckerProduct__Module.html and Eigen also has a fair bit of supported sparse types (some experimental) e.g.: http://eigen.tuxfamily.org/bz/show_bug.cgi?id=275 http://eigen.tuxfamily.org/dox/group__SparseQuickRefPage.html We discussed ways of implementing, a type Important design decision Once we get that worked out, the main wish list for Kronecker matrix functions is simply everything in section 34.7 of the manual, Linear Algebra Functions and Solvers, e.g.: We also need matrix-vector multiplication (not sure the naming convention here): I guess we need a function (although like inverse it shouldn't be the first choice for a user): Also very useful will be: Relatedly, the matrix normal distribution is already implemented, but not exposed. It should be exposed. (@mbrubake may have thoughts.) |
From @bgoodri on February 24, 2015 5:9 As a start, we might think about exposing a Triplet http://eigen.tuxfamily.org/dox/classEigen_1_1Triplet.html That would make it possible for a C++ function to take a Triplet and do |
I don't have one. |
I'm going open a new issue to add |
From @bob-carpenter on January 3, 2015 2:22
Need utilities for Kroneckers for Gaussian processes. I don't know much about it but want to get it down as an issue and point to Ben's R example:
https://groups.google.com/forum/#!msg/stan-users/iddShgJVwTQ/QgcDEP3h9JQJ
Talk to Ben to figure out how this should look in Stan.
Copied from original issue: stan-dev/stan#1196
The text was updated successfully, but these errors were encountered: