# Search Results

Results tagged with Search options user 91
4 results

Mathematical vectors, operations on vectors and vectorized programming.

Define the inner product modulo $2$: orthogonalize[a_] := Mod[Orthogonalize[a, Mod[#1.#2, 2] &], 2] Example: (m = Union[orthogonalize[RandomInteger[{0, 1}, {500, 64}]] ]) // ArrayPlot Check or …
answered Aug 14 '12 by whuber
It helps to do a little analysis to simplify the problem. This expression is integrating over a line through $\mathbf{b}$ in the direction of $\mathbf{a}$. By choosing a suitable coordinate system y …
answered Apr 9 '12 by whuber
First, if you don't know the degree you can compute it: m = {{15 + a^5, a + 5 a^2}, {a - 5 a^2, 2 c}}; degree = Max[Flatten[Exponent[#, {a}] & /@ Flatten[m]]] (I have increased the degree of m to …
answered Jun 29 '12 by whuber
distance image. Almost all the work is done here (and it's fast): i = DistanceTransform[g] // ImageAdjust // ImageData; We need a little more precomputation of the final boundaries. Rasterizing a vector
answered Apr 5 '12 by whuber