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

Method set

src/api/cpp/array.cpp:513–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511array array::H() const { return transpose(*this, true); }
512
513void array::set(af_array tmp) {
514 if (arr) { AF_THROW(af_release_array(arr)); }
515 arr = tmp;
516}
517
518// Assign values to an array
519array::array_proxy &af::array::array_proxy::operator=(const array &other) {

Callers 2

meanvarFunction · 0.45
array.cppFile · 0.45

Calls 1

af_release_arrayFunction · 0.50

Tested by

no test coverage detected