tensor(deprecated)/change_basis - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : tensor(deprecated)/change_basis

tensor

  

change_basis

  

transform a tensor from the natural basis to a non-coordinate basis

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

change_basis( T, h, hinv)

Parameters

T

-

tensor_type to be transformed

h

-

rank-2 tensor_type of character [1,-1] representing the covariant transformation matrix of the change of basis

hinv

-

rank-2 tensor_type of character [-1,1] representing the contravariant matrix of the change of basis

Description

Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][PushPullTensor] and Physics[TransformCoordinates] instead.

• 

This routine performs the following operation on the given tensor_type, T:

Resultpqr...abc...=hiahjbhkc...hpshqthruTstu...ijk...

• 

Note of course that the new tensor_type result is the transformation of T provided T is indeed a tensor.  Thus, inputing the Christoffel symbols and a tetrad transformation would not yield the connection coefficients in a rigid frame, for example.

• 

If the original tensor_type has an indexing function in its component array, it will be preserved under the transformation.

• 

Simplification:  This routine uses the routine `tensor/raise/simp` for simplification purposes.  The contractions of T with the h's are done iteratively starting with the first index of T, and for each component of the final resultant, the simplifier is applied once to every summation over one summation index. By default, `tensor/raise/simp` is initialized to the {`tensor/simp`} routine.  It is recommended, however, that `tensor/raise/simp` be customized to suit the needs of the particular problem.

• 

This function is part of the tensor package, and can be used in the form change_basis(..) only after performing the command with(tensor), or with(tensor, change_basis).  The function can always be accessed in the long form tensor[change_basis].

Examples

Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][PushPullTensor] and Physics[TransformCoordinates] instead.

withtensor:

T_comptsarray1..2,1..2,T11,T12,T21,T22:

Tcreate1,1,opT_compts

T:=tableindex_char=1,1,compts=T11T12T21T22

(1)

hcreate1,1,array1..2,1..2,H11,H12,H21,H22

h:=tableindex_char=1,1,compts=H11H12H21H22

(2)

hinvcreate1,1,array1..2,1..2,h11,h12,h21,h22

hinv:=tableindex_char=1,1,compts=h11h12h21h22

(3)

NewTchange_basisT,h,hinv

NewT:=tableindex_char=1,1,compts=H11T11h11+H11T12h12+H12T21h11+H12T22h12H11T11h21+H11T12h22+H12T21h21+H12T22h22H21T11h11+H21T12h12+H22T21h11+H22T22h12H21T11h21+H21T12h22+H22T21h21+H22T22h22

(4)

See Also

DifferentialGeometry[Tensor][PushPullTensor]

Physics

Physics[TransformCoordinates]

tensor(deprecated)

tensor(deprecated)[frame]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam