Ga.ReciprocalFrame is nonsensical
See original GitHub issueThis behavior doesn’t make much sense to me:
>>> from galgebra.ga import Ga
>>> g, *_ = Ga.build('e*0|1|2')
>>> g.ReciprocalFrame(g.basis)
(1, -1, (e_1.e_2)/(e_2.e_2) + e_1^e_2/(e_2.e_2))
>>> g.ReciprocalFrame(g.basis, mode='no-norm-please') # any string will do
((e_2.e_2)*1**2,
-(e_2.e_2)*1**2,
(e_1.e_2)*1**2 + 1**2*e_1^e_2,
(e_2.e_2)*1**2)
Things which are weird here:
- I was expecting to get some vector elements in this output, not a mixture of scalars and bivectors.
-
(fixed in #219)1
is actuallySymbol('1')
, not the value1
, in the second output!
Labelling as docs too, since there is no docstring
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Reciprocal Frame Structures
A possible definition of a reciprocal frame is a grid of linear members where each member simultaneously supports and is supported by its...
Read more >Ingenious Solutions For Long Spans: Reciprocal Framing ...
Reciprocal Frames are a method of providing structural support with mutually supported beams in a closed circuit. Reciprocal frames have ...
Read more >Reciprocal frame - Wikipedia
A reciprocal frame is a class of self-supporting structure made of three or more beams and which requires no center support to create...
Read more >RECIPROCAL FRAME ARCHITECTURE
This book covers the little known structural and architectural concept, design and construction of reciprocal frames, and is the first authoritive.
Read more >Reciprocal Frame Structures Made Easy - CGL | SUTD
A reciprocal frame (RF) is a self-supported three-dimensional structure made up of three or more sloping rods, which form a closed circuit, namely...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nope, added a checkbox for the bullet points above.
g.ReciprocalFrame(g.basis)
ought to error instead of producing garbage, which is caused byg.mv_basis[0] ^ g.basis[1]
behaving poorlyRemoved the
docs
tag, since this now has a docstring and type annotations.