-
Notifications
You must be signed in to change notification settings - Fork 0
Norm of a state #5
Copy link
Copy link
Open
Description
I am a little bit lost about the norm of a DecoratedParticle.
My memory was that an AbstractState should not have a norm, but now it has one which seems to be a weighted norm of all its elements (cf here).
For instance, if we have two States
R1 = State(rr = SVector{3}([1,0,0]), be = false)
and
R2 = State(rr = SVector{3}([1,0,0]), be = true),
those bool values are also counted when we evaluate norm(R) (i.e., they return 1 and charge, then the norm of this State also counts the charges. This is a little bit strange to me...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels