[GiNaC-list] list of list

Jerome BENOIT jgmbenoit at mailsnare.net
Sat Feb 17 11:50:29 CET 2007


Hello,

I have just tried: it does not work as I want.

In Maple,

my_list := [
	1,
	2,
	3,
	4,
	5,
	NULL];

gives the list [1,2,3,4,5] .

The idea is that inside a script the elements of the list
can be easily commented or uncommented.

my_list := [
	1,
	2,
#	3,
#	4,
#	5,
	NULL];

gives [1,2] .

can we do that with GiNaC ?

Thanks in advance,
Jerome

Sheplyakov Alexei wrote:
> Hello,
> 
> On Mon, Feb 05, 2007 at 02:36:03AM +0800, Jerome BENOIT wrote:
>  
>> A last question:
>> is there any king of NULL (as in Maple) object in GiNaC ?
> 
> May be fail()?
> 
> Best regards,
>  Alexei
> 

-- 
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


More information about the GiNaC-list mailing list