Skip to content
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

Support for VPA, gpuArray, and other special data types #31

Open
Steven-Roberts opened this issue Jan 22, 2022 · 0 comments
Open

Support for VPA, gpuArray, and other special data types #31

Steven-Roberts opened this issue Jan 22, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed high priority octave Bug or unsupported feature in Octave

Comments

@Steven-Roberts
Copy link
Member

Steven-Roberts commented Jan 22, 2022

For most problems (especially vanderpol) it would be nice to support arbitrary data types. Here are some of the issues and things to consider

  • If a parameter is of a certain type, should Y0, TimeSpan, and other parameters be cast to the same data type? Sometimes this cannot be deduced or there are multiple parameters with different types.
  • cast is the most reasonable function to do this but functionality is limited in Octave. Critically, cast(x, 'sym') does not work.
  • Numbers with more than ~16 digits have to be broken up before casting.
  • Octave does not support the like name value pair used in functions like zeros and cast.
  • When we create differentiation matrices, the type needs to be consistent.
  • Initial condition checks in solveExactly may be fragile with arbitrary data types.
@Steven-Roberts Steven-Roberts added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed octave Bug or unsupported feature in Octave high priority labels Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed high priority octave Bug or unsupported feature in Octave
Projects
None yet
Development

No branches or pull requests

1 participant