How to differentiate vector and matrix

How to differentiate vector and matrix - I need to differentiate a unit vector with 2 rows - Messages

#1 Posted: 2018/2/16 08:09:50
Danvangx

Danvangx

0 likes in 6 posts.

Group: User

Hej i want to differentiate a unit vector like

u vektor.PNG

I can only differentiate fx row 2 like this


u vektor diffet.PNG


Can anybody help, thanks
#2 Posted: 2018/2/16 08:44:09
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

Hello [userlink]Danevangx[/userlink]

You can use the function vectorize(), a loop, or ranged indices... choose the one that fit your needs

2018-02-16 12_47_00-SMath Studio - [diff.sm].png

2018-02-16 12_47_08-SMath Studio - [diff.sm].png

2018-02-16 12_47_14-SMath Studio - [diff.sm].png

diff.sm (7.47 KiB) downloaded 775 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
Andrey Ivashov 2018/2/16 08:54:00, sergio 2018/2/16 09:00:00, frapuano 2018/2/16 09:56:00
#3 Posted: 2018/2/16 09:09:21
Danvangx

Danvangx

0 likes in 6 posts.

Group: User

thanks a lot Davide :-)
#4 Posted: 2018/2/16 11:21:08
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Hej i want to differentiate a unit vector like


This is NOT unit vector. My understanding is that you want
a general procedure to differentiate a function vector.
This simple demo procedure is the core algorithm in Smath fitting functions
1. Genfit ,,,, 2. linfiCheby

diffVectorFnct.PNG


#5 Posted: 2018/2/16 11:49:31
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

Here is another one. Maxima has generic vector-/matrix handling

2018-02-16 15_47_21-SMath Studio - [diffm.sm_].png

diffm.sm (3.68 KiB) downloaded 714 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Posted: 2018/2/16 11:49:36
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

DiffOterwise.PNG
#7 Posted: 2018/2/16 11:56:05
Danvangx

Danvangx

0 likes in 6 posts.

Group: User

thanks a lot Jean and Mkraska for youre answers to solve my problems :-)
  • New Posts
  • No New Posts