-
Notifications
You must be signed in to change notification settings - Fork 1
Constructors #33
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
Merged
Merged
Constructors #33
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
268f119
Add `sprand` and `sprand!`
lkdvos a4c599d
Be a bit more mindful with constructors
lkdvos 8e23309
Add `spzeros`
lkdvos a0f8445
update `sprand` to take in `rfn` function
lkdvos c47ef44
update docstrings
lkdvos b93fd0e
update README
lkdvos ddafce7
Bump v0.3.0
lkdvos e4b3ae4
Bump skeleton
lkdvos 7959946
move functions
lkdvos 3935364
export new functions
lkdvos 04862d2
slightly re-organize constructors
lkdvos d2e97ae
update registrator action
lkdvos e10bcbf
enable (some of) Aqua
lkdvos 4348f2b
fix undefined export
lkdvos e7053a8
remove tested exports (included in aqua testset)
lkdvos 5ab189a
update testfunction
lkdvos a55f7f6
change `rfn` to `rand_function`
lkdvos bafc0af
Add `SparseArrayDOK` docstrings
lkdvos eceadd2
Revert "remove tested exports (included in aqua testset)"
lkdvos e9c1489
update tested exports
lkdvos 45947ec
merge export lists
lkdvos 34551cf
change `rand_function` to `randfun`
lkdvos 8440661
change `spzeros`, `sprand` and `sprand!` to `sparsezeros`, `sparseran…
lkdvos a302199
sort exports alphabetically
lkdvos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "Integration Test Request" | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
integrationrequest: | ||
if: | | ||
github.event.issue.pull_request && | ||
contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association) | ||
uses: ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main | ||
with: | ||
localregistry: https://github.com/ITensor/ITensorRegistry.git |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Register Package | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- closed | ||
paths: | ||
- 'Project.toml' | ||
branches: | ||
- 'master' | ||
- 'main' | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
Register: | ||
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true | ||
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main" | ||
with: | ||
localregistry: ITensor/ITensorRegistry | ||
secrets: | ||
REGISTRATOR_KEY: ${{ secrets.REGISTRATOR_KEY }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "SparseArraysBase" | ||
uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208" | ||
authors = ["ITensor developers <[email protected]> and contributors"] | ||
version = "0.2.11" | ||
version = "0.3.0" | ||
|
||
[deps] | ||
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
|
@@ -11,6 +11,7 @@ Dictionaries = "85a47980-9c8c-11e8-2b9f-f7ca1fa99fb4" | |
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
MapBroadcast = "ebd9b9da-f48d-417c-9660-449667d60261" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
|
||
[compat] | ||
Accessors = "0.1.41" | ||
|
@@ -21,6 +22,7 @@ Dictionaries = "0.4.3" | |
FillArrays = "1.13.0" | ||
LinearAlgebra = "1.10" | ||
MapBroadcast = "0.1.5" | ||
Random = "1.10.0" | ||
SafeTestsets = "0.1" | ||
Suppressor = "0.2" | ||
Test = "1.10" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Reference | ||
|
||
```@autodocs | ||
Modules = [SparseArraysBase] | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.