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

Method ArrayZ

tools/swig/test/ArrayZ.cxx:6–10  ·  view source on GitHub ↗

Default/length/array constructor

Source from the content-addressed store, hash-verified

4
5// Default/length/array constructor
6ArrayZ::ArrayZ(int length, std::complex<double>* data) :
7 _ownData(false), _length(0), _buffer(0)
8{
9 resize(length, data);
10}
11
12// Copy constructor
13ArrayZ::ArrayZ(const ArrayZ & source) :

Callers 4

setUpMethod · 0.80
testConstructor0Method · 0.80
testConstructor2Method · 0.80
testConstructor3Method · 0.80

Calls 1

resizeFunction · 0.50

Tested by

no test coverage detected