MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / clone

Function clone

ml/src/svm.cpp:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template <class S, class T>
83static inline void
84clone(T*& dst, S* src, int n)
85{
86 dst = new T[n];
87 std::copy(src, src + n, dst);
88}
89
90static inline double
91powi(double base, int times)

Callers 4

opposite_ofMethod · 0.85
KernelMethod · 0.85
SolveMethod · 0.85
SVC_QMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected