| 117 | } |
| 118 | |
| 119 | void 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 | |
| 126 | void Window::surface(const array& xVals, const array& yVals, const array& S, |
| 127 | const char* const title) { |
no test coverage detected