Comments (8)
If I understand your question correctly, symmetry of the solution of your Lyapunov equation doesn't really depend on the operator, but rather on how you model the equation. Couldn't you formulate the problem by only considering tril(X) as your set of unknowns?
If I misunderstood, could you give a short example illustrating the issue you're having?
from linearoperators.jl.
from linearoperators.jl.
So it's the default implementation of Matrix(op::AbstractLinearOperator)
that is causing you trouble. An easy solution might be to define your own operator type, say LyapunovOperator <: AbstractLinearOperator
, and define the product operations accordingly. Then you can implement your own Matrix(op::LyapunovOperator) = op * Matrix(1.0I, size(op)...)
(or whichever way works for you)?! Does that make sense?
from linearoperators.jl.
from linearoperators.jl.
I think I found a less elegant way to manage the issue, by assuming that only the upper triangular part of X is packed in the vector x
Yes, that's what I meant in my first reply.
I'm open to adding a function for estimating the 1-norm of an operator but it cannot be based on LAPACK because we can't assume that operators are explicit matrices.
from linearoperators.jl.
from linearoperators.jl.
I see. It's reverse communication. That's an idea but it would be better in the long run to rewrite it in Julia, and have all four versions (and much more) for the price of one. It's simple enough: http://www.netlib.org/lapack/explore-html/d3/d0a/dlacn2_8f_source.html
from linearoperators.jl.
Just an update: I formulated for my package an issue which is related to the above discussion. Simply said, I was not able to ensure the condition Matrix(T)' = Matrix(T')
for an operator T
which maps the upper triangular part of a symmetric matrix X
to the upper triangular part of Y := AX+XA'
. Your comment on this issue would be highly appreciated.
from linearoperators.jl.
Related Issues (20)
- Add a buildkite workflow
- Type inference and exponentially large compile times HOT 4
- A general QNOperator HOT 1
- Link to tutorial is broken HOT 1
- Efficient `get_nargs` HOT 3
- Any plan for including multidimensional linear operators? HOT 2
- Saddle Operator HOT 4
- Chainrules
- Separate updates for Diagonal QN operators
- Warning during the precompilation HOT 1
- Change LDLFactorizations to be a weakdep, i.e., and extension
- Remove shape function (duplicate of size) HOT 1
- Declare missing compat entries HOT 1
- Bug in derived adjoint operation? HOT 2
- `InverseLBFGSOperator` for GPU HOT 1
- `ERROR: LinearOperatorException("storage types cannot be promoted to a concrete type")` HOT 7
- Bug: adjoint(opEye()) * randn(10) HOT 2
- Review julia compatibility in readme
- ChainRulesCore error HOT 4
- Version 2.7.0 is breaking (though the version might indicate it is not) – DiagonalQN used in other packages. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linearoperators.jl.