]> www.ginac.de Git - ginac.git/commitdiff
Use neseted initializer lists to construct matrix objects.
authorRichard Kreckel <kreckel@ginac.de>
Sat, 28 Nov 2015 14:43:46 +0000 (15:43 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Sun, 29 Nov 2015 10:32:23 +0000 (11:32 +0100)
Add constructor of initializer_list<initializer_list<ex>> to matrix.
Use this syntax where, previously, ctor from comma-separated list of
elements was used. Deprecate the ctor from comma-separated list.

Note: The output format '[[a,b],[c,d]]' and ginsh syntax are
unchanged because lists are printed '{a,b,c}' and a matrix is not a
list of lists.


No differences found