MCPcopy Create free account
hub / github.com/numpy/numpy / __array__

Method __array__

numpy/lib/polynomial.py:1254–1258  ·  view source on GitHub ↗
(self, t=None)

Source from the content-addressed store, hash-verified

1252 self._variable = variable
1253
1254 def __array__(self, t=None):
1255 if t:
1256 return NX.asarray(self.coeffs, t)
1257 else:
1258 return NX.asarray(self.coeffs)
1259
1260 def __repr__(self):
1261 vals = repr(self.coeffs)

Callers 1

merge_arraysFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected