Error, (in rtable/Power) exponentiation operation not defined for Vectors - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : exponentiationoperationnotdefinedforVectors

Error, (in rtable/Power) exponentiation operation not defined for Vectors

Description

This error message indicates that the exponentiation operation is not defined for Vectors, for example,  A<1&comma;2&comma;3&gt;2 will produce an error. As such, when attempting division such as AB,  Maple does not compute AB  but instead tries to compute AB1 . In trying to raise B to the exponent -1, this produces an error.

Examples

In the following example, it is not clear whether element-wise division or the creation of a matrix is intended.

A:=<1&comma;2&comma;3&gt;&semi;B:=<4&comma;5&comma;6&gt;&semi;

A:=123

B:=456

(2.1)

AB

Error, (in rtable/Power) exponentiation operation not defined for Vectors

Solution:
To apply an operation, you must use the Zip or LinearAlgebra[Zip] commands.

 

zip&lpar;`/`&comma;A&comma;B&rpar;&semi;

142512

(2.2)

LinearAlgebra&lsqb;Zip&rsqb;&lpar;`/`&comma;A&comma;B&rpar;&semi;

142512

(2.3)

For more information on the key data structures in Maple, see the User Manual, Chapter 8 and the help pages for expression sequences, sets, lists, tables, Arrays, Matrices, Vectors, functional operators, and strings.

See Also

Arrays, expand, expression sequences, functional operators, LinearAlgebra[Zip], lists, Matrices, sets, strings, tables, User Manual, Chapter 8, Vectors, zip


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