Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ MakePyList
Function
MakePyList
ngstd/python_ngstd.hpp:291–298 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
289
290
template <typename T>
291
py::list MakePyList (const BaseArrayObject<T> & ao)
292
{
293
size_t s = ao.Size();
294
py::list l;
295
for (size_t i = 0; i < s; i++)
296
l.append (ao[i]);
297
return l;
298
}
299
300
301
Callers
1
NGS_DLL_HEADER ExportNgcomp
Function · 0.85
Calls
1
Size
Method · 0.45
Tested by
no test coverage detected