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

Tensor inheritance #115

Merged
merged 10 commits into from
Jan 25, 2025
Merged

Tensor inheritance #115

merged 10 commits into from
Jan 25, 2025

Conversation

jacobdwatters
Copy link
Owner

Full rework of tensor inheritance structure.

- All ring tensors now inherit from their equivalent semiring tensors.
- All field tensors now inherit from their equivalent ring tensors.
- Added tests for Complex64 numbers.
- Removed redundant transpose classes.
- Fixed bugs that caused failing tests.
- Fixed bugs that caused failing tests.
- Fixed bugs which failing tests.
- Updated and fixed matrix and vector norms
- Changes to norms are reflected in the Condition.java for computing condition numbers.
@jacobdwatters jacobdwatters merged commit 4cd1881 into develop Jan 25, 2025
1 check passed
@jacobdwatters jacobdwatters deleted the tensor-inheritance branch January 25, 2025 07:56
jacobdwatters added a commit that referenced this pull request Jan 26, 2025
* Update workflows (#109)

* Delete target directory

* Update build.yml

* Update JavaDoc.

* Added coalesce and dropZero methods to all sparse COO tensor objects.

* Updated toString methods for all tensor arrays types.

Sparse arrays now use abbreviated arrays when printing indices/pointers.

All arrays now only call method from PrintOptions once to ensure no unexpected issues can arise from PrintOptions being updated asynchronously.

* Simplified naming conventions for operations.

* Updated javadoc for dense matrices.

* Fixed issue with matrix market write for coordinate matrices.

Updated sparse toString methods for all sparse arrays.

Added tests.

* Added generic ring/semiring tensors.

Added dense and sparse vector, matrix, and tensors which use a generic ring or semiring as the elements.

* Tensor inheritance (#115)

* Updated inheritance of tensors.

- All ring tensors now inherit from their equivalent semiring tensors.
- All field tensors now inherit from their equivalent ring tensors.
- Added tests for Complex64 numbers.

* Added Tests

- Removed redundant transpose classes.

* Fixed Javadoc.

* Remove duplicated code.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs which failing tests.

* Fix for norms.

- Updated and fixed matrix and vector norms
- Changes to norms are reflected in the Condition.java for computing condition numbers.

* Added balancing decomposition

* Small fixes.

* Remove debug main method.

* Update Javadoc.

* All matrix object now use PrettyPrint

* Refactor ArrayUtils.java

- Unneeded methods removed.
- Many methods moved to ArrayBuilder, ArrayConversions or ArrayJoiner utility classes.
- Consolidated/Generified methods where it made sense.

* Refactor of random array/tensor generation.

- Added distributions which can be randomly sampled for improved random array creation.
jacobdwatters added a commit that referenced this pull request Jan 26, 2025
* Update workflows (#109)

* Delete target directory

* Update build.yml

* Update JavaDoc.

* Added coalesce and dropZero methods to all sparse COO tensor objects.

* Updated toString methods for all tensor arrays types.

Sparse arrays now use abbreviated arrays when printing indices/pointers.

All arrays now only call method from PrintOptions once to ensure no unexpected issues can arise from PrintOptions being updated asynchronously.

* Simplified naming conventions for operations.

* Updated javadoc for dense matrices.

* Fixed issue with matrix market write for coordinate matrices.

Updated sparse toString methods for all sparse arrays.

Added tests.

* Added generic ring/semiring tensors.

Added dense and sparse vector, matrix, and tensors which use a generic ring or semiring as the elements.

* Tensor inheritance (#115)

* Updated inheritance of tensors.

- All ring tensors now inherit from their equivalent semiring tensors.
- All field tensors now inherit from their equivalent ring tensors.
- Added tests for Complex64 numbers.

* Added Tests

- Removed redundant transpose classes.

* Fixed Javadoc.

* Remove duplicated code.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs which failing tests.

* Fix for norms.

- Updated and fixed matrix and vector norms
- Changes to norms are reflected in the Condition.java for computing condition numbers.

* Added balancing decomposition

* Small fixes.

* Remove debug main method.

* Update Javadoc.

* All matrix object now use PrettyPrint

* Refactor ArrayUtils.java

- Unneeded methods removed.
- Many methods moved to ArrayBuilder, ArrayConversions or ArrayJoiner utility classes.
- Consolidated/Generified methods where it made sense.

* Refactor of random array/tensor generation.

- Added distributions which can be randomly sampled for improved random array creation.

* Update README.md
jacobdwatters added a commit that referenced this pull request Jan 27, 2025
* Updated inheritance of tensors.

- All ring tensors now inherit from their equivalent semiring tensors.
- All field tensors now inherit from their equivalent ring tensors.
- Added tests for Complex64 numbers.

* Added Tests

- Removed redundant transpose classes.

* Fixed Javadoc.

* Remove duplicated code.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs which failing tests.

* Fix for norms.

- Updated and fixed matrix and vector norms
- Changes to norms are reflected in the Condition.java for computing condition numbers.

* Added balancing decomposition

* Small fixes.
jacobdwatters added a commit that referenced this pull request Jan 27, 2025
* Update workflows (#109)

* Delete target directory

* Update build.yml

* Update JavaDoc.

* Added coalesce and dropZero methods to all sparse COO tensor objects.

* Updated toString methods for all tensor arrays types.

Sparse arrays now use abbreviated arrays when printing indices/pointers.

All arrays now only call method from PrintOptions once to ensure no unexpected issues can arise from PrintOptions being updated asynchronously.

* Simplified naming conventions for operations.

* Updated javadoc for dense matrices.

* Fixed issue with matrix market write for coordinate matrices.

Updated sparse toString methods for all sparse arrays.

Added tests.

* Added generic ring/semiring tensors.

Added dense and sparse vector, matrix, and tensors which use a generic ring or semiring as the elements.

* Tensor inheritance (#115)

* Updated inheritance of tensors.

- All ring tensors now inherit from their equivalent semiring tensors.
- All field tensors now inherit from their equivalent ring tensors.
- Added tests for Complex64 numbers.

* Added Tests

- Removed redundant transpose classes.

* Fixed Javadoc.

* Remove duplicated code.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs which failing tests.

* Fix for norms.

- Updated and fixed matrix and vector norms
- Changes to norms are reflected in the Condition.java for computing condition numbers.

* Added balancing decomposition

* Small fixes.

* Remove debug main method.

* Update Javadoc.

* All matrix object now use PrettyPrint

* Refactor ArrayUtils.java

- Unneeded methods removed.
- Many methods moved to ArrayBuilder, ArrayConversions or ArrayJoiner utility classes.
- Consolidated/Generified methods where it made sense.

* Refactor of random array/tensor generation.

- Added distributions which can be randomly sampled for improved random array creation.

* Update README.md

* Add rotation transformations

* Add rotation transformations

* Add rotation transformations

* Add rotation transformations

* Update JavaDoc.

* Added coalesce and dropZero methods to all sparse COO tensor objects.

* Updated toString methods for all tensor arrays types.

Sparse arrays now use abbreviated arrays when printing indices/pointers.

All arrays now only call method from PrintOptions once to ensure no unexpected issues can arise from PrintOptions being updated asynchronously.

* Simplified naming conventions for operations.

* Updated javadoc for dense matrices.

* Fixed issue with matrix market write for coordinate matrices.

Updated sparse toString methods for all sparse arrays.

Added tests.

* Added generic ring/semiring tensors.

Added dense and sparse vector, matrix, and tensors which use a generic ring or semiring as the elements.

* Tensor inheritance (#115)

* Updated inheritance of tensors.

- All ring tensors now inherit from their equivalent semiring tensors.
- All field tensors now inherit from their equivalent ring tensors.
- Added tests for Complex64 numbers.

* Added Tests

- Removed redundant transpose classes.

* Fixed Javadoc.

* Remove duplicated code.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs that caused failing tests.

* Added tests.

- Fixed bugs which failing tests.

* Fix for norms.

- Updated and fixed matrix and vector norms
- Changes to norms are reflected in the Condition.java for computing condition numbers.

* Added balancing decomposition

* Small fixes.

* Remove debug main method.

* Update Javadoc.

* All matrix object now use PrettyPrint

* Refactor ArrayUtils.java

- Unneeded methods removed.
- Many methods moved to ArrayBuilder, ArrayConversions or ArrayJoiner utility classes.
- Consolidated/Generified methods where it made sense.

* Refactor of random array/tensor generation.

- Added distributions which can be randomly sampled for improved random array creation.

* Add rotation transformations

* Add rotation transformations

* Add rotation transformations

* Add rotation transformations

* Fixed un-capitalized Hermitian
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