Ask Your Question
2

Vector valued function: unable to convert to symbolic expression

asked 2019-09-01 12:22:03 -0600

terrygarcia gravatar image

This has been giving me quite a headache. It seems that I am unable to create even a simple vector-valued function of multiple variables. For example, the following

F(s,t)=vector([1,s,s*t])

spits out a big traceback ending with

TypeError: unable to convert (1, s, s*t) to a symbolic expression.

What's going on here? I know I can use substitution instead, but what if I'd prefer a callable function?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-09-01 15:09:48 -0600

rburing gravatar image

I just observed the same thing this morning (in the trac ticket #28434). The syntax you should currently use is

F(s,t) = (1,s,s*t)

I consider it a bug that your version doesn't work; it will be fixed as part of the aforementioned ticket.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-01 12:22:03 -0600

Seen: 41 times

Last updated: Sep 01 '19