[Scilab-users] Mysteries in the Realm of Overloading Catenation Operators (",", "; ") in Scilab 6.0
Dirk Reusch
lists at kybdr.de
Mon Mar 13 11:55:02 CET 2017
Hello,
Using precompiled Scilab 6.0.0 Linux 64bit, exploring the announced
"ability to define user types in C++ modules" (cf. Scilab 6.0 - Release
Notes February 15th 2017) ... reveals the following:
Startup execution:
loading initial environment
-->
exec('/home/dirk/Downloads/scilab-branch-6.0-1488991653/modules/ast/tests/unit_tests/newtype.tst',-1)
This is my type.
%nt_p: This is my type.
--> [a;a]
Undefined operation for the given operands.
check or define function %nt_f_nt for overloading.
--> [a,a]
Undefined operation for the given operands.
check or define function %nt_c_nt for overloading.
--> // So far, it's Ok!, but trying to ..
--> [a,1]
inconsistent row/column dimensions
--> [a;1]
inconsistent row/column dimensions
--> // .. is IMHO not OK!
--> // Why does Scilab here *not* try to call "%nt_c_s", or "%nt_f_s" ?
So it seems IMHO, that the "ability to define user types in C++ modules"
is currently in a rather broken/incomplete state ... but, I am looking
forward to see things improving.
Thanks for any advice and further insight,
Dirk
PS: Tested also with nightly build branch-6.0-1488991653 ... with the
very same mysteries!
More information about the users
mailing list