Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ Array2
Method
Array2
tools/swig/test/Array2.cxx:5–7 ·
view source on GitHub ↗
Default constructor
Source
from the content-addressed store, hash-verified
3
4
// Default constructor
5
Array2::Array2() :
6
_ownData(false), _nrows(0), _ncols(), _buffer(0), _rows(0)
7
{ }
8
9
// Size/array constructor
10
Array2::Array2(int nrows, int ncols, long* data) :
Callers
4
setUp
Method · 0.80
testConstructor0
Method · 0.80
testConstructor2
Method · 0.80
testConstructor3
Method · 0.80
Calls
1
resize
Function · 0.50
Tested by
no test coverage detected