Skip to content

decouple flattening and transformations #13

@tpapp

Description

@tpapp

Use separate building blocks for

  1. splitting a vector into arrays (or other objects) of various sizes and dimensions, without transforming,
  2. transformations.

Transformations should

  1. have a dimension,
  2. be able to perform log Jacobian calculations,
  3. carry information (schemas, see below) that allows flattening and unflattening their arguments (ignoring extra payload, especially for user-defined transformations).

Transformations should be generic, eg going from StaticArray should also produce StaticArray.

Flattening/unflattening should use schemas, possibly nested.

  1. make this work, define API.
  2. see what's optimizable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions