Projecting multiple tree branchs into one

I have multiple branches with a fixed size. these branches contain either true or false status I want to convert these multiple branches into one flattened set which is the “and” gate result of them. how can I accomplish this?
example :

input tree:

		{0;0}
  1. True

  2. True

  3. True

  4. True

  5. True

         {0;1}
    
  6. True

  7. False

  8. True

  9. True

  10. True

         {0;2}
    
  11. True

  12. True

  13. False

  14. True

  15. True

         {0;3}
    
  16. True

  17. True

  18. True

  19. True

  20. False

output:

	{0;0}
  1. True
  2. False
  3. False
  4. True
  5. False

Flip Matrix and Mass Addition ? Where is your GH file? I’m not going to recreate your data to test my theory.

Here is an example file:
example.gh (10.5 KB)

Thank you that’s exactly what I wanted. but I can’t find mass boolean in my components. do I have to install a plugin? or is there any other way that doesn’t require installing anything additional?

Way too late. Test it yourself.

@Macuso - what is 'froGH_MASS BOOLEAN" ?

Boolean_Flip_2023Mar13a

Similar to the picture I am only getting True results without any “false” results

Why does that surprise you? If any branch is True the AND result is True.

P.S. Do you want the Boolean sum of each branch?

shouldn’t AND result of a true and false be false?


I don’t know what you mean by the boolean sum of each branch. to be more elaborate I want to know for example the second member of any branch has a false status and if it does I put false in my final output for that second member

Yes, I guess it should. Replace Mass Addition with Mass Multiplication ?


example_re_01.gh (11.3 KB)

thank you that’s exactly what I wanted :grinning: :grinning:

Thanks for the help it worked :grinning: :grinning:

Too bad you didn’t have this image WITH your internalized Boolean data tree in your first post.

Boolean_Flip_2023Mar13b.gh (9.9 KB)

You need the froGH components that contains the BooleanAddition one.