Thanks - useful to know (I've been doing all this the long way round (if not in 
etc....)

 
Howard



>________________________________
> From: Wouter Klouwen <[email protected]>
>To: [email protected] 
>Sent: Friday, 27 April 2012, 18:22
>Subject: Re: [Nuke-python] Re: selecting a node from its name
> 
>On 27/04/2012 12:39, Tom Ward wrote:
>>  From what I can see it's used to  create a new set of unique items
>> (correct me if I'm wrong!)
>
>To further clarify this it should be said that a 'set' is a collection where 
>every item can only occur once.
>Having the union of two sets into another means that it takes every item in 
>the first set and in the second and puts them into the result. The thing that 
>prevents duplicate items in the union is the fact that a set cannot contain 
>duplicate items.
>
>More information about sets and their mathematical functions (including 
>diagrams!):
>http://en.wikipedia.org/wiki/Set_(mathematics)
>
>A set where items can have duplicates is called a multiset or a bag:
>
>http://docs.python.org/library/collections.html#collections.Counter
>http://en.wikipedia.org/wiki/Multiset
>
>-- Wouter Klouwen, Software Engineer
>The Foundry, 6th Floor, Comms Building, 48 Leicester Sq, London WC2H LT
>Tel: +442079686828 • Fax: +4420 79308906 • thefoundry.co.uk
>The Foundry Visionmongers Ltd • Reg.d in England and Wales No: 4642027
>_______________________________________________
>Nuke-python mailing list
>[email protected], http://forums.thefoundry.co.uk/
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to