easy indexation of chebfun3v

11 views
Skip to first unread message

facundo....@gmail.com

unread,
Mar 12, 2020, 12:55:59 PM3/12/20
to chebfun-users
hello,
I have a 2 element chebfun3v. e.g:

G = chebfun3v(@(x,y,z) x+y+z, @(x,y,z) x+y+3*z);

And I want to evaluate the second element at the values (1,1,1). I know I can define

a = G(2),
then do a(1,1,1). Can this be done in one step?

Behnam Hashemi

unread,
Apr 26, 2020, 5:28:10 PM4/26/20
to chebfun-users
One possible way of ``cheating'' is to use the following one-liner:

feval(G(2),1,1,1)
Reply all
Reply to author
Forward
0 new messages