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

Method __array__

numpy/lib/_polynomial_impl.py:1277–1281  ·  view source on GitHub ↗
(self, t=None, copy=None)

Source from the content-addressed store, hash-verified

1275 self._variable = variable
1276
1277 def __array__(self, t=None, copy=None):
1278 if t:
1279 return NX.asarray(self.coeffs, t, copy=copy)
1280 else:
1281 return NX.asarray(self.coeffs, copy=copy)
1282
1283 def __repr__(self):
1284 vals = repr(self.coeffs)

Callers 1

merge_arraysFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected