Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/bridge/omega-bridge/pytorch/kernels/tr.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / bridge / omega-bridge / pytorch / kernels / tr.om` 9 lines ยท 279 bytes Raw Blame History 1 note tr: o[C,R] = x[R,C] transposed (aten.permute with dims [1,0]) into a new row-major array. 2 note The caller supplies const lines R C RC before this text. 3 fn tr x view f32 RC o edit f32 RC to void 4 for i ulong R 5 for j ulong C 6 put o add mul j R i get x add mul i C j 7 end 8 end 9 end