Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ str_from_list
Function
str_from_list
python/examples/adjoint_optimization/mode_converter.py:62–63 ·
view source on GitHub ↗
(list_: List[float])
Source
from the content-addressed store, hash-verified
60
61
62
def
str_from_list(list_: List[float]) -> str:
63
return
"["
+
", "
.join(f
"{val:.4f}"
for
val in list_) +
"]"
64
65
66
def
border_masks() -> Tuple[np.ndarray, np.ndarray]:
Callers
2
epigraph_constraint
Function · 0.70
mode_converter.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected