MCPcopy Create free account
hub / github.com/GollyGang/ready / format2dforcplusplus

Function format2dforcplusplus

Scripts/Python/convolve.py:10–11  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

8 return '{' + ','.join(str(round(e)) for e in arr) + '}'
9
10def format2dforcplusplus(arr):
11 return '{' + ','.join(format1dforcplusplus(e) for e in arr) + '}'
12
13def format3dforcplusplus(arr):
14 return '{' + ','.join('\n'+format2dforcplusplus(e) for e in arr) + '}'

Callers 2

format3dforcplusplusFunction · 0.85
convolve.pyFile · 0.85

Calls 1

format1dforcplusplusFunction · 0.85

Tested by

no test coverage detected