Hello
Is Rascal able to treat symbols instead of values? By the examples I have seen, it seems to me that Rascal only treats values. Would that be possible to write something like
> c1 = complex (a1,b1)
> c2 = complex (a2,b2)
> c1*c2
and the result would be :
((a1*a2-b1*b2)+i(a1b2+b1*a2))
In fact, what I am looking for is a program able to handle symbolic quaternions.
If the answer is yes, and if the estimated time needed to do that is not too large, I may try to write the module.
William Gacquer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
Is Rascal able to treat symbols instead of values? By the examples I have seen, it seems to me that Rascal only treats values. Would that be possible to write something like
> c1 = complex (a1,b1)
> c2 = complex (a2,b2)
> c1*c2
and the result would be :
((a1*a2-b1*b2)+i(a1b2+b1*a2))
In fact, what I am looking for is a program able to handle symbolic quaternions.
If the answer is yes, and if the estimated time needed to do that is not too large, I may try to write the module.
William Gacquer