-
Notifications
You must be signed in to change notification settings - Fork 193
Provide state/error handling for linear algebra #774
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
+701
−6
Merged
Changes from 6 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
7ccdb49
add `linalg` state handler
perazz 6d6fb55
cleanup, `fypp`ize numeric types
perazz e7398a0
more cleanup
perazz 31cb5eb
`complex` format: add brackets i.e. `(0.0,1.0)` instead of `0.0 1.0`
perazz 4ef4fb0
add `linalg_state` tests
perazz c5c568b
remove multiple `public` statement
perazz 88317d9
Update src/stdlib_linalg_constants.fypp
perazz 9eb9775
Update src/stdlib_linalg_constants.fypp
perazz 9f74fd7
address style changes
perazz 3762517
documentation + example
perazz cb9a7fc
generalize interface (`rank`-agnostic)
perazz 0782e43
add `xdp` formats
perazz b9e7e67
intel compiler issue: remove buffer write
perazz affd5d0
add `xdp` symbol
perazz 322b37e
move kinds to `stdlib_kinds`
perazz 526e816
Merge branch 'master' into linalg_state
perazz 41bf3a3
remove duplicate `stdlib_linalg_constants.fypp`
perazz a90f25a
more explanation
perazz fb008b4
Update example_state1.f90
perazz 00db324
add another state example
perazz 9b52091
Update example/linalg/example_state1.f90
perazz 4b3c20a
Update example/linalg/example_state2.f90
perazz 422a3d0
Update example/linalg/example_state2.f90
perazz c6ab922
Update src/stdlib_linalg_state.fypp
perazz 36b3f93
Update src/stdlib_linalg_state.fypp
perazz dbc843a
Update src/stdlib_linalg_state.fypp
perazz 33c2de6
example_state1: import `operator(/=)`
perazz dfd03fc
import `linalg_error_handling`
perazz 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
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,18 @@ | ||||
#:include "common.fypp" | ||||
module stdlib_linalg_constants | ||||
use stdlib_kinds, only: sp, dp, qp, int32, int64, lk | ||||
use, intrinsic :: ieee_arithmetic, only: ieee_is_nan | ||||
!$ use omp_lib | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it is used by the LAPACK functions. I put it in the constants module to avoid repeated |
||||
implicit none(type,external) | ||||
public | ||||
|
||||
|
||||
! Integer size support for ILP64 builds should be done here | ||||
integer, parameter :: ilp = int32 | ||||
private :: int32, int64 | ||||
|
||||
|
||||
|
||||
|
||||
|
||||
perazz marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
end module stdlib_linalg_constants |
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.