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: 2/16/2018 8:09:50 AM
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: 2/16/2018 8:44:09 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 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 KiB) downloaded 56 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 2/16/2018 8:54:00 AM, sergio 2/16/2018 9:00:00 AM, frapuano 2/16/2018 9:56:00 AM
#3 Posted: 2/16/2018 9:09:21 AM
Danvangx

Danvangx

0 likes in 6 posts.

Group: User

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

Jean Giraud

983 likes in 6866 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: 2/16/2018 11:49:31 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 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 KiB) downloaded 40 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Posted: 2/16/2018 11:49:36 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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

Danvangx

0 likes in 6 posts.

Group: User

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