Skip to content

Implementing more accurate handling of array-like inputs #8

Merged
Desiment merged 3 commits intomainfrom
des/arrayfication-refactoring
May 11, 2025
Merged

Implementing more accurate handling of array-like inputs #8
Desiment merged 3 commits intomainfrom
des/arrayfication-refactoring

Conversation

@Desiment
Copy link
Contributor

  • changed Union[...] to |-notation
  • add usage of NDArray typing for array inputs
  • add base class for Distributions that handles type of input. Child classes now only have to implement array-input case.

Desiment added 3 commits May 11, 2025 18:07
* changed Union[...] to |-notation
* add usage of NDArray typing for array inputs
* add base class that handles type of input
* child classes now only have to implement array-input case
* improved typing notation (use | instead of Union and NDArray instead
  of ndarray)
@Desiment Desiment merged commit bc8db67 into main May 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant