Giter Club home page Giter Club logo

Comments (6)

abelsiqueira avatar abelsiqueira commented on June 8, 2024

Thanks for the report @andreasvarga.

@dpo, define -A' as (-A)'?

from linearoperators.jl.

dpo avatar dpo commented on June 8, 2024

Yes

from linearoperators.jl.

andreasvarga avatar andreasvarga commented on June 8, 2024

Just a comment: Implementing -A' as (-A)' is OK. However, if you intend to implement 2A' as (2A)' , this may raise the question which operation should have priority: the multiplication with 2 or the adjoint. In the LinearAlgebra package of Julia, the multiplication defines the result, and therefore 2*Adjoint(a) does not lead to and Adjoint type, see below:

julia> 2*rand(2,2)'
2×2 Array{Float64,2}:
 1.25212  0.0511282
 1.77288  1.844

This approach has sense, because it is always possible to enforce the Adjoint type by computing (2*A)'.

from linearoperators.jl.

dpo avatar dpo commented on June 8, 2024

Do you mean that you're interested in cases where multiplication and transpose don't commute?

from linearoperators.jl.

andreasvarga avatar andreasvarga commented on June 8, 2024

from linearoperators.jl.

dpo avatar dpo commented on June 8, 2024

Because adjoint and transpose operators don't have explicit [ct]prod methods, I'm not sure how else it can be implemented.

from linearoperators.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.