MCPcopy Create free account
hub / github.com/danopdev/Perspective / alloc

Method alloc

opencv/src/main/java/org/opencv/core/MatOfFloat.java:38–41  ·  view source on GitHub ↗
(int elemNumber)

Source from the content-addressed store, hash-verified

36 }
37
38 public void alloc(int elemNumber) {
39 if(elemNumber>0)
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels));
41 }
42
43 public void fromArray(float...a) {
44 if(a==null || a.length==0)

Callers 1

fromArrayMethod · 0.95

Calls 2

makeTypeMethod · 0.95
createMethod · 0.45

Tested by

no test coverage detected