the power of a scalar by a square matrix is wrong
Reported by Serge STEER
Originally assigned to Pierre-Aime AGNEL
BUG DESCRIPTION:
----------------
if A is a square matrix 2^A computes the element wise power [2^A(i,j)] instead of the power of a scalar by a square matrix
ERROR LOG:
----------
none
HOW TO REPRODUCE THE BUG:
-------------------------
A=[1 2;3 4];
2 ^ A
2 .^ A
OTHER INFORMATION:
------------------
It is possible to compute the power of a scalar x by a square matrix A using the following Scilab expression
expm(log(x)*A)