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

Function rankSmall

test/rank_dense.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46template<typename T>
47void rankSmall() {
48 SUPPORTED_TYPE_CHECK(T);
49 LAPACK_ENABLED_CHECK();
50
51 T ha[] = {1, 4, 7, 2, 5, 8, 3, 6, 20};
52 array a(3, 3, ha);
53
54 ASSERT_EQ(3, (int)rank(a));
55}
56
57template<typename T>
58void rankBig(const int num) {

Callers

nothing calls this directly

Calls 1

rankFunction · 0.50

Tested by

no test coverage detected