> > > Hello,
>
[quoted text clipped - 32 lines]
> the differences between the 'linalg' and 'LinearAlgebra" packages in
> Maple?
LInearAlgebra has more functionality than 'linalg', but either serves
well for many of the most common types of computations. I have found,
however, that you cannot easily mix them up; a matrix formed using
'linalg' does not seem to be recognized properly by 'LinearAlgebra'
and vice versa. To see the main differences, try loading them both,
using with(linalg); (be sure to include the ';'), then try
with(LinearAlgebra);.
R.G. Vickson
> More importantly, what are the reasons for defining a system
> of equations diffently? This is to say, why would I want to define a
> matrix using <<>|<>....<>> or matrix([[], [], ....[]]) or array([[],
> [], ....[]]) or any of the other ways it can be done?
A. van der Meer - 22 Oct 2008 11:29 GMT
>> > > Hello,
>>
[quoted text clipped - 38 lines]
> 'linalg' does not seem to be recognized properly by 'LinearAlgebra'
> and vice versa.
Mixing is rather easy (but nearly never necessary):
If A is a "linalg"-matrix, you can transform it to a "LinearAlgebra"-matrix
by:
B := Matrix(A);
(capital M)
If A is a "LinearAlgebra"-matrix, you can transform it to a "linalg"-matrix
by
B := evalm(A);
> To see the main differences, try loading them both,
> using with(linalg); (be sure to include the ';'), then try
[quoted text clipped - 5 lines]
>> matrix using <<>|<>....<>> or matrix([[], [], ....[]]) or array([[],
>> [], ....[]]) or any of the other ways it can be done?