performance improved about power. 36/17336/2
authorCedric Delamarre <cedric.delamarre@scilab-enterprises.com>
Mon, 19 Oct 2015 10:29:21 +0000 (12:29 +0200)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Tue, 20 Oct 2015 15:16:14 +0000 (17:16 +0200)
commit7df8b2039e554b2f7538177025e8d5a5f8863793
tree76723621dc62d5db45123909528e1897f81ff372
parent4639c70d910c5e683d6f34b964abac85a13c5705
performance improved about power.

a=rand(1000,1000);
tic();g=a^1024;toc()
tic();g=a^1023;toc()

test_run ast power

Change-Id: I087291bfe9d211fb9c51da66e8e7d181cf193f4b
scilab/modules/ast/src/c/operations/matrix_power.c
scilab/modules/elementary_functions/includes/elem_common.h