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

Method Array1

tools/swig/test/Array1.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
6Array1::Array1(int length, long* data) :
7 _ownData(false), _length(0), _buffer(0)
8{
9 resize(length, data);
10}
11
12// Copy constructor
13Array1::Array1(const Array1 & source) :

Callers 7

setUpMethod · 0.80
testConstructor0Method · 0.80
testConstructor2Method · 0.80
testConstructor3Method · 0.80
testSetGet1Method · 0.80
testSetBad1Method · 0.80
testSetBad2Method · 0.80

Calls 1

resizeFunction · 0.50

Tested by

no test coverage detected