Skip to content

multivariate API and dependency on nalgebra #225

@YeungOnion

Description

@YeungOnion

We support multivariate distributions and nalgebra is part of our API. We'll be merging #209 and this will be a breaking change. The new methods clearly rely on nalgebra, but it might be more implicit with other methods. I think we can either make it clear that args and outputs for/from these distributions will need the dependency or find some way to opt out of using the same or any nalgebra.

Options I can think (in order of what I think is increasing complexity)

  • clearly state the dependency in multivariate documentation
  • non-default feature for multivariate, would also generally address not compiling a linear algebra library
  • write API using standard types, this may not be possible without removing the benefits of Make MultivariateNormal generic over dimension #209
  • write API to support different numeric algebra backends, nalgebra is broadly used, but there are others

See #199 #209

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions