Talk:Zig-zag matrix: Difference between revisions

m
Line 454:
== Pattern of memory addresses ==
 
If we assume that each entry is stored consecutively in memory like so (using size 5 as an example), and assuming an 8-bit computer where each memory address holds a byte and each address is 16-bit:
 
<pre>;these are memory locations, the values within are as in the example.
Line 500:
If you remove the <math>k^2</math> and +1 after it, the sequence is symmetric.
 
Might be helpful for establishing a pattern. I'll work on it more later. This logic should extend to 32-bit CPUs if you multiply N and K by 4.--[[User:Puppydrum64|Puppydrum64]] ([[User talk:Puppydrum64|talk]]) 17:06, 15 September 2021 (UTC)
1,489

edits