@Sp3000 ok so this is even worse than not intersecting after every rotation
@Sp3000 I am pleased it is hard :) I hate to ask easy questions
@Sp3000 do you have any advice for how I should define rotations? I mean my intention is that you can rotate either 90 degree clockwise or anti-clockwise but you can't ever rotate a square more than 90 degrees clockwise or anti-clockwise
from it's starting orientation
but also we have to worry about what happens to the square during the rotation
does it stick out and then slide back into position?
@Sp3000 and do the irrationals actually create a problem given that the squares are all centred at integers? Can't we work out precisely mathematically if they would collide?
@Sp3000 I am tempted to say that the first square that is rotated (the anchor square?) rotates instantly and magically but all the other overlaps count
@MartinBüttner then I think you snake is also possible, if the head/tail are somewhere outside the spiral, but if you remove the the 2 # inside the spiral we have our usecase I think
I should have looked more carefully. I just didn't notice the horizontal spaces. Anyway, that would represent a shade that is not possible without intersection while to rotating.
I have been wondering though if there is a language where I can print a single character n times with only using a single character repeatedly for the code (except unary, because that would be way too long)
well, it might be bottom to top as well, but the order has to be defined
Mathematica keeps baffling me by how cumbersome string-handling is
why on earth do I have to do StringJoin[Table["string", {n}]] to repeat a string n times... o.O
I wonder if it would be useful in a golfing language to be able to switch between modes (like math mode, string handling mode, array manipulation mode) with a single character, which will change the meaning of most or all commands permanently
I'm not an expert in matrix inversion, but afaik the problem arises due to matrices which are close to being singular, so that the components get blown up immensely.
matrix inversion is in general a really hard problem.
solving a 2x2 eigensystem isn't. there's a closed-form solution for arbitrary 2x2 matrices which makes it very obvious that there are no singular cases.
What's the smallest absolute value possible of a non-zero eigenvalue of an $n$ by $n$ square matrix whose entries are either $0$ or $1$ (all operations are over $\mathbb{R}$)? I would be interested in estimates or bounds as I imagine an exact answer is tricky.
I asked this question previously a...
@Optimizer also, you were asking about 10x10 matrices and bigger, iirc ... for a 2x2 matrix I think an inversion challenge might be possible, because it should be possible to handle weird cases if the challenge specifies how to handle them.
meh, I've got two interesting nonlinear systems, which I could solve for another Mathematica snippet. for one of them, I can easily fit the solver into 100 characters, but the plotting requires about 150. for the other (the arguably more interesting one), I can plot it with 115 characters, but the solver needs 150 :|
BTW it might be possible to find a matrix such that the eigenvector calculation involves a similarly nasty matrix, but I'm too tired now to think about it.