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

WIP: Better matrix support #426

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

zbeekman
Copy link
Contributor

DO NOT MERGE THIS, WIP!

I just wanted to have a place to look at the diff and discuss implementation details while I work on wrapping this up.

Goals:

  • Natively read ragged edge 2D arrays into native array objects when appropriate
    • Integer kinds
    • Real kinds
    • more? (e.g., complex etc.)
  • Query by path and detect native object
  • Write out 2D native arrays as matrices
  • A mechanism for dealing with 3D arrays It's unclear how to implement this best, it may need to be client side in the application.

Thoughts @jacobwilliams & @porteri?

porteri and others added 27 commits August 13, 2018 22:27
An optional argument was added that provides the # of values from the
json file for each row within the matrix. This allows the user to more
easily know if not all of the rows had the same number of columns.
 - Update with latest upstream enhancements 6.9.0 --> 6.10.0
Fixes the undefined variable error_cnt for test jacobwilliams#26 when the json%validate returns a true is_valid statement.
Fix for undefined variable in test#26
 - MSVS will install, e.g., `$<prefix>/include/Debug/json_file_module.mod`
 - We should strip the build config directory that IDEs like MSVS add when doing an installation
…son-fortran into add_matrix_support"

This reverts commit ce9c43b, reversing
changes made to 34a446e.
 - Fixes jacobwilliams#413
 - Use fixtures to delete old json outputs before re-running tests, then copy
   pristine inputs back into the build directory
@jacobwilliams jacobwilliams mentioned this pull request Jul 29, 2019
 - Add additional optional, intent out parameter, `is_uniform`
   - `.true.` for regular matrices
   - `.false.` for ragged edge matrices
 - The idea is to allow trailing zeros to be compressed/elided (eventually)
 - The `set_size` dummy argument was renamed to `mx_set_size` and records the
   largest column size, assuming __*row* major order__
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.

None yet

3 participants