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

Function svdInPlace

src/api/cpp/lapack.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void svdInPlace(array &u, array &s, array &vt, array &in) {
24 af_array sl = 0, ul = 0, vtl = 0;
25 AF_THROW(af_svd_inplace(&ul, &sl, &vtl, in.get()));
26 s = array(sl);
27 u = array(ul);
28 vt = array(vtl);
29}
30
31void lu(array &out, array &pivot, const array &in, const bool is_lapack_piv) {
32 out = in.copy();

Callers

nothing calls this directly

Calls 3

af_svd_inplaceFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected