[GiNaC-list] retrieving wildcard replacements on C++

Charlls Quarra charlls_quarra at yahoo.com.ar
Wed Jan 31 18:39:53 CET 2007


Hi,

suppose the following:

symbol x("x");
ex foo = A*pow(x,2) + B*x;
lst ocurrences;
foo.find( wild(1)*x , ocurrences ); //the wildcard
replacement is B

how would you retrieve the wildcard replacement in
this case?
in ginsh you already get a list of the wildcards
replacement, but after reading various times the
relevant page of the tutorial, i couldn't find how is
this done in c++

cheers



	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



More information about the GiNaC-list mailing list