table[] as constructor data

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 562
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

table[] as constructor data

Message par compsystems » ven. avr. 12, 2019 2:34 am

* The constructor with brackets of polynomialis is poly1[ordered sequence (descending -> x) of elements]
poly1[-1,6,-11,6] > poly1[-1,6,-11,6]

* The functional constructor of sets is: set(unordered sequence of elements)
set(5,4,1, 1) > set[5,4,1]

* The constructor with set brackets is: set [unordered sequence of elements]
set[5,4,1, 1] > set[5,4,1]

* The functional constructor of tables is table(elements)
tbl1 := table( (0,0)=9,(1,1)=6)

To give uniformity to the Xcas syntax logic, the table constructor is also needed as table[]
tbl2 := table[ (0,0)=9,(1,1)=6 ]

Répondre