Question: How to use indexing on arrays

Hello,

As a new user I'm having some trouble using indexes in matrix and vector operations. For instance, I can declare three vectors from the 3 by 3 matrix E using index i: 

 

for i from 1 to 3 do Eigenvector[i] := Column(E, i) end do

 

This creates 3 vectors with indexes 1 to 3 out of the matrix E as expected. However, Maple seems unable to transpose one of the indexed vectors:

 

transpose(Eigenvector[1])

`linalg:-transpose`(Vector(3, {(1) = 6.859924065, (2) = -3.624290065, (3) = 1.}))

 

When I declare one of the vectors without using indexes, the problem no longer occurs:

 

Eigenvector1:=Eigenvector[1]: transpose(Eigenvector1)

Vector[row](3, {(1) = 6.859924065, (2) = -3.624290065, (3) = 1.})

 

Does anyone know what I should do to circumvent this issue?

 


Please Wait...