Any simple working example of external C++ lpdf function?

@bgoodri Do you know what’s going wrong here?

Good question, I’m sure there are examples of implementing a distribution in C++ but we should have a place to find them more easily.

Here’s a thread I found where @maxbiostat was trying to implement a distribution in external C++ but that’s a long thread and I’m not sure how much is related to the linking issue you’re getting; Problem implementing Zipf (power law) distribution -- external C++

1 Like