Skip to content
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

Defined dot on Composite #220

Open
oxinabox opened this issue Sep 14, 2020 · 0 comments
Open

Defined dot on Composite #220

oxinabox opened this issue Sep 14, 2020 · 0 comments
Labels
LinearOperators For issues relating to defining linear operators on AbstractDifferentials pending-clear-need We are not certain we need this. So waiting for evidence to be presented Structural Tangent Related to the `Tangent` type for structured (composite) values

Comments

@oxinabox
Copy link
Member

Follow up to #201

Dot its defined recursively, (like adjoint and transpose).

julia> using LinearAlgebra

julia> x = [1, 10];

julia> y = [x, x]
2-element Vector{Vector{Int64}}:
 [1, 10]
 [1, 10]


julia> dot(y,y)
202

It that should have a natural defintion for Composites, even for Composites of Composites.

It seems like a thing that is generally defined on vector spaces.

@oxinabox oxinabox added Structural Tangent Related to the `Tangent` type for structured (composite) values pending-clear-need We are not certain we need this. So waiting for evidence to be presented labels Sep 14, 2020
@oxinabox oxinabox added the LinearOperators For issues relating to defining linear operators on AbstractDifferentials label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LinearOperators For issues relating to defining linear operators on AbstractDifferentials pending-clear-need We are not certain we need this. So waiting for evidence to be presented Structural Tangent Related to the `Tangent` type for structured (composite) values
Projects
None yet
Development

No branches or pull requests

1 participant