Transcript
Page 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ......, FDQ GHILQH D YHFWRU IXQFWLRQ RI [ H Y Y TJO Y \ ] ^ _ ` a H U GMPBU \ ] ^ _ ` a DQG JHW WKH J [ > RU J [ > U H Y Y U H Y TJO Y Ô U K H Y K

I can define a vector function of x

≔g ((x)) x2

sin ((x))

⎡⎢⎣

⎤⎥⎦

――→g ((0.5)),float 3 0.25

0.479⎡⎢⎣

⎤⎥⎦

and get the g(x)[0 or g(x)[1

→g ((x))0

x2

→g ((x))1

sin ((x))

→∑=j 0

1

g ((x))j

+sin((x)) x2

I can define a function g(x) inside of a programm and use it

≔A1 ((a)) ‖‖‖

|||

←g ((x)) +cos ((x)) sin ((x))g ((a))

――→A1 ((0.5)),float 3

1.36

But, I can´t define a vector function of x inside a programm and use it

≔A2 ((a))‖‖‖‖‖‖

||||||

←g ((x))0

x2

←g ((x))1

sin ((x))

g ((a))

≔A3 ((a))‖‖‖‖‖‖‖

|||||||

←b0

x2

←b1

sin ((x))

←g ((x)) bg ((a))

→A2 ((0.5)) ? →A3 ((0.5)) x2

sin ((x))

⎡⎢⎣

⎤⎥⎦

Some idea?

Recommended