Post Reply 
Return a vector from a function?
07-06-2015, 12:55 AM
Post: #1
Return a vector from a function?
How can I create a user defined function to map two variables into a vector on the prime?

i.e. something along the lines of:

defvect(angle, magnitude):=[magnitude*cos(angle), magnitude*sin(angle)]

but that works.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Return a vector from a function? - norlesh - 07-06-2015 12:55 AM
RE: Return a vector from a function? - DrD - 07-06-2015, 10:21 AM



User(s) browsing this thread: 1 Guest(s)