Re: [Scilab-users] overloading concat "[ ]" operators

2016-07-03 Thread philippe
Le 01/07/2016 11:17, Pierre Vuillemin a écrit : > > You can create another object, a matrix of bing int that stacks your > bigint in a list, i.e. Yes I've created another object but as an mlist as recommanded Samuel. Thanks for your help, Philippe ___

Re: [Scilab-users] overloading concat "[ ]" operators

2016-07-03 Thread philippe
Le 01/07/2016 11:33, Samuel Gougeon a écrit : > Hello Philippe, > You shall use a mlist() instead of a tlist. > Have a look at https://help.scilab.org/docs/6.0.0/en_US/mlist.html > mlist are array-oriented. thanks Samuel, I will create mbigint as a mlist containing the cell of bigint and a string

Re: [Scilab-users] overloading concat "[ ]" operators

2016-07-01 Thread Pierre Vuillemin
Hi Philippe, You can create another object, a matrix of bing int that stacks your bigint in a list, i.e. x = tlist(["bigint","rep","signe"],[7654321;5678998;1234],1) y = tlist(["bigint","rep","signe"],[3456789;5432112;9876],1) X = tlist(["mbigint","entries"],list(x,y)) Then you can overload

[Scilab-users] overloading concat "[ ]" operators

2016-07-01 Thread philippe
Hi, I have created a simple data structure to handle "big integers" . It is based on scilab tlist and named "bigint" . I have overloaded basic unary/binary operators for bigint (like +,*,-,/,^,==,<,>,... ) : -->x=bigint('123456789987654321') x = 123456789987654321 -->y=bigint('98765432