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

Function lu

src/api/cpp/lapack.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void lu(array &out, array &pivot, const array &in, const bool is_lapack_piv) {
32 out = in.copy();
33 af_array p = 0;
34 AF_THROW(af_lu_inplace(&p, out.get(), is_lapack_piv));
35 pivot = array(p);
36}
37
38void lu(array &lower, array &upper, array &pivot, const array &in) {
39 af_array l = 0, u = 0, p = 0;

Callers

nothing calls this directly

Calls 5

af_lu_inplaceFunction · 0.50
arrayClass · 0.50
af_luFunction · 0.50
copyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected