Properties
Similar Topics
Statistics
Comments
5
Participants
3
Subscribers
3
Votes
1
Views
1787
Share
Answered
Given vectors u and v, I want to calculate the matrix u * Transpose(v).
However, it seems Geogebra doesn't accept vectors as an argument to Transpose.
How can I convert a vector to a matrix, or calculate the above formula?
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
Given a vector u= (1, 2) you can define a matrix um={x(u),y(u)}.
With m1={{1,2},{3,4}} now u * m1 will work and produce m2 = {{1, 2}, {6, 8}} showing in the Algebra as a normal vector.
chris
Given a vector u= (1, 2) you can define a matrix um={x(u),y(u)}.
With m1={{1,2},{3,4}} now u * m1 will work and produce m2 = {{1, 2}, {6, 8}} showing in the Algebra as a normal vector.
chris
Jep, that is exactly what I need. Thank you!
Would be nice if Geogebra had a built-in function for this though, similar to how you can convert a point to a vector simply by calling Vector(point).
Well, that's not exactly the same. Vector(point) creates the vector between two points of which the first one is the origin. This command is created because it's a frequently used command, the same as the command Rotate(object, angle) is created because rotation around the origin is very common. So Vector(point) as such is not a conversion but the simpliest and frequently used choice of parameters, while Matrix(point) or Matrix(vector) would be a new command.
I have not problem with u m1 nor m1 u
um={x(u),y(u)} is not useful
@mathmagic indeed you can calculate u m1 and m1 u but this produces a point (7,10) where Wouter wanted the vector to behave as a matrix, to produce a 'normal' matrix product.
Comments have been locked on this page!