135 reputation
4
bio website
location Estonia
age 25
visits member for 1 year, 3 months
seen Aug 22 '13 at 23:31

Apr
30
comment How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
OK, understood.
Apr
29
comment How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
More than twice as fast, yes. I accepted Your answer. Thanks!
Apr
29
accepted How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
Apr
29
comment How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
I understood now with help of documentation, what Partition[..., ..., 1] does - it offsets the taking of partition by 1. But shouldn't it be Partition[..., ..., {1,1}] then, because we want to offset by 1 at both levels?
Apr
29
comment How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
I will do some Timing tests and try to understand Your code and then I likely will accept it :)
Apr
29
revised How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
Added new name to question
Apr
29
revised How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
Re-organized my question, added few thoughts
Apr
29
comment How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
I wanted something different; see update on my question. But getting rid of extra set of {} is good thing, it annoyed me :) PS. What does the parameter "1" do in function call Partition[..., ..., 1]? I did not understand from documentation and the result is same if I just remove the 1. Would be thankful for explanation :)
Apr
29
awarded  Editor
Apr
29
revised How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
Updated to better point out my question
Apr
28
asked How to rewrite this function to be faster: Find sub-matrixes of boolean board which imply a given boolean pattern
Apr
28
awarded  Scholar
Apr
28
accepted Defining an Implies operation that works for Boolean matrices
Apr
28
awarded  Student
Apr
28
asked Defining an Implies operation that works for Boolean matrices
Apr
27
awarded  Supporter