Question: Vectors (Column, Row, Notation, VectorCalulus)

restart:

with(LinearAlgebra):
with(ArrayTools):


k:=4;
pA:=<seq(p[a,i],i=2..(k+1))>;
pB:=<seq(p[b,i],i=2..(k+1))>;
pA+pB;

with(VectorCalculus):

pA:=<seq(p[a,i],i=2..(k+1))>;
pB:=<seq(p[b,i],i=2..(k+1))>;
pA+pB;

 

Hi all,

 

After I loaded the package with(VectorCalculus), the output of vectors changed to a different one.

Is there any real "difference" when I use these vectors? Is there a way to keep it as the "orginal" display?

 

I dont know if this is a package problem with "with(LinearAlgebra):" and "with(VectorCalculus):",

Say I obtain a vector using

> v:=[seq(mu[t],t=1..5),theta[4],theta[5],mu];  # just some random variables

>v1:=<seq(mu[t],t=1..5),theta[4],theta[5],mu>;

Let m be a vector of functions with the parameters above.

Then when I use "Jacobian(m,f)" to work out the Jacobian, Jacobian(m,v1) never works!

Only

Jacobian(m,v)

or

Jacobian(m,[seq(mu[t],t=1..5),theta[4],theta[5],mu])

or

Jacobian(m,<seq(mu[t],t=1..5),theta[4],theta[5],mu>)

work fine.

 

Really confused of with those different "vector forms".

 

Many thanks!!

 

casper

Please Wait...