Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
2

Vector valued function: unable to convert to symbolic expression

asked 5 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 5 years ago

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.

Preview: (hide)
link

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: 5 years ago

Seen: 658 times

Last updated: Sep 01 '19