diff options
| author | tylov <[email protected]> | 2023-08-21 21:31:22 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-08-21 21:31:22 +0200 |
| commit | 8dc7500322d6109e856fa64b1a121078b86635f1 (patch) | |
| tree | dd1ebd2b54dc370109eb895bd9957964d805ca82 /docs/cspan_api.md | |
| parent | 2d33308d36063f3726f3652b0b0cbe3668b8bc68 (diff) | |
| download | STC-modified-8dc7500322d6109e856fa64b1a121078b86635f1.tar.gz STC-modified-8dc7500322d6109e856fa64b1a121078b86635f1.zip | |
cspan flat-iterator now prints c_COLMAJOR matrices as in Python. Simpler code, although it now doesn't print column-major spans in column-by-column order, but rather in row-by-row, like row-major spans.
Diffstat (limited to 'docs/cspan_api.md')
| -rw-r--r-- | docs/cspan_api.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/cspan_api.md b/docs/cspan_api.md index c3556dc3..0f345a7e 100644 --- a/docs/cspan_api.md +++ b/docs/cspan_api.md @@ -147,7 +147,6 @@ if __name__ == '__main__': for i in a.flat: print(" {}".format(i), end='') print('') - # prints row-wise for i in b.flat: print(" {}".format(i), end='') ''' 13 14 15 16 @@ -198,7 +197,6 @@ int main(void) { c_foreach (i, myspan2, a) printf(" %d", *i.ref); puts(""); - // prints in storage order, same as a. c_foreach (i, myspan2, b) printf(" %d", *i.ref); } ``` |
