-
Notifications
You must be signed in to change notification settings - Fork 9
Julia 1.0 update #4
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
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d9228e7
begin 0.7 transition: updated linearoperators
nantonel 960a460
updated travis and appveyor
nantonel faa9ab1
fixed LBFGS
nantonel 3876fab
fixed LBFGS
nantonel d018fe2
fixing linear calculus
nantonel fddfc27
fixed warnings linear calc
nantonel 29d8ce1
fixed nonlinear ops
nantonel 2840ddc
enabled syntax tests - deprecated (.*) with DiagOp
nantonel 1224125
nonlinear calculus working! all test passing :tada:
nantonel c8314db
updated readme and REQUIRE
nantonel 331b1cb
removed some commented code
nantonel 0f796da
updated README and last 0.6 removals
nantonel 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
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 +1,4 @@ | ||
| julia 0.6 | ||
| julia 0.7 | ||
| AbstractFFTs v0.3.2 | ||
| FFTW 0.2.4 | ||
| DSP 0.5.1 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| export AdjointOperator | ||
|
|
||
| """ | ||
| `AdjointOperator(A::AbstractOperator)` | ||
|
|
||
| Shorthand constructor: | ||
|
|
||
| `'(A::AbstractOperator)` | ||
|
|
||
| Returns the adjoint operator of `A`. | ||
|
|
||
| ```julia | ||
| julia> AdjointOperator(DFT(10)) | ||
| ℱᵃ ℂ^10 -> ℝ^10 | ||
|
|
||
| julia> [DFT(10); DCT(10)]' | ||
| [ℱ;ℱc]ᵃ ℂ^10 ℝ^10 -> ℝ^10 | ||
| ``` | ||
| """ | ||
| struct AdjointOperator{T <: AbstractOperator} <: AbstractOperator | ||
| A::T | ||
| function AdjointOperator(A::T) where {T<:AbstractOperator} | ||
| is_linear(A) == false && error("Cannot transpose a nonlinear operator. You might use `jacobian`") | ||
| new{T}(A) | ||
| end | ||
| end | ||
|
|
||
| # Constructors | ||
|
|
||
| AdjointOperator(L::AdjointOperator) = L.A | ||
|
|
||
| # Properties | ||
|
|
||
| size(L::AdjointOperator) = size(L.A,2), size(L.A,1) | ||
|
|
||
| domainType(L::AdjointOperator) = codomainType(L.A) | ||
| codomainType(L::AdjointOperator) = domainType(L.A) | ||
|
|
||
| fun_name(L::AdjointOperator) = fun_name(L.A)*"ᵃ" | ||
|
|
||
| is_linear(L::AdjointOperator) = is_linear(L.A) | ||
| is_null(L::AdjointOperator) = is_null(L.A) | ||
| is_eye(L::AdjointOperator) = is_eye(L.A) | ||
| is_diagonal(L::AdjointOperator) = is_diagonal(L.A) | ||
| is_AcA_diagonal(L::AdjointOperator) = is_AAc_diagonal(L.A) | ||
| is_AAc_diagonal(L::AdjointOperator) = is_AcA_diagonal(L.A) | ||
| is_orthogonal(L::AdjointOperator) = is_orthogonal(L.A) | ||
| is_invertible(L::AdjointOperator) = is_invertible(L.A) | ||
| is_full_row_rank(L::AdjointOperator) = is_full_column_rank(L.A) | ||
| is_full_column_rank(L::AdjointOperator) = is_full_row_rank(L.A) | ||
|
|
||
| diag(L::AdjointOperator) = diag(L.A) | ||
| diag_AcA(L::AdjointOperator) = diag_AAc(L.A) | ||
| diag_AAc(L::AdjointOperator) = diag_AcA(L.A) | ||
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.
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.