(arr)
| 5 | import numpy as np |
| 6 | |
| 7 | def format1dforcplusplus(arr): |
| 8 | return '{' + ','.join(str(round(e)) for e in arr) + '}' |
| 9 | |
| 10 | def format2dforcplusplus(arr): |
| 11 | return '{' + ','.join(format1dforcplusplus(e) for e in arr) + '}' |
no outgoing calls
no test coverage detected