List quastion
From: kimos (urdad_at_hotmail.com)
Date: 10/10/04
- Next message: Bill Spight: "Re: List quastion"
- Previous message: shoko: "beginner question"
- Next in thread: Bill Spight: "Re: List quastion"
- Reply: Bill Spight: "Re: List quastion"
- Reply: ezze: "Re: List quastion"
- Reply: Pere Montolio: "Re: List quastion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Oct 2004 05:03:38 -0700
Hi There,
I want to make a predicate that do the following:
poly([1,2,3],2,Z).
Z= [2,4,6].
so it multiply the 2 with the list.
and another predicate that do the following:
prod_poly([1,2,3],[3,2,1],Z).
Z= [3,9,4,8,3]
this one see the elements in the list as 1 number so in this example
it will multiply 123 * 321 and return the answer in list Z. this
one is hard i hope someone can tell me how.
Thanks in advance
Kimos
- Next message: Bill Spight: "Re: List quastion"
- Previous message: shoko: "beginner question"
- Next in thread: Bill Spight: "Re: List quastion"
- Reply: Bill Spight: "Re: List quastion"
- Reply: ezze: "Re: List quastion"
- Reply: Pere Montolio: "Re: List quastion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]