MCPcopy
hub / github.com/uber-go/zap / Complex128s

Function Complex128s

array.go:49–51  ·  view source on GitHub ↗

Complex128s constructs a field that carries a slice of complex numbers.

(key string, nums []complex128)

Source from the content-addressed store, hash-verified

47
48// Complex128s constructs a field that carries a slice of complex numbers.
49func Complex128s(key string, nums []complex128) Field {
50 return Array(key, complex128s(nums))
51}
52
53// Complex64s constructs a field that carries a slice of complex numbers.
54func Complex64s(key string, nums []complex64) Field {

Callers 2

TestFieldConstructorsFunction · 0.85
TestArrayWrappersFunction · 0.85

Calls 2

ArrayFunction · 0.85
complex128sTypeAlias · 0.85

Tested by 2

TestFieldConstructorsFunction · 0.68
TestArrayWrappersFunction · 0.68