MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / surface

Method surface

src/api/cpp/graphics.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void Window::surface(const array& S, const char* const title) {
120 af::array xVals = range(S.dims(0));
121 af::array yVals = range(S.dims(1));
122 af_cell temp{_r, _c, title, AF_COLORMAP_DEFAULT};
123 AF_THROW(af_draw_surface(get(), xVals.get(), yVals.get(), S.get(), &temp));
124}
125
126void Window::surface(const array& xVals, const array& yVals, const array& S,
127 const char* const title) {

Callers 2

geneticSearchFunction · 0.80
mainFunction · 0.80

Calls 5

rangeFunction · 0.70
af_draw_surfaceFunction · 0.50
getFunction · 0.50
dimsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected