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

Function cholesky

src/backend/oneapi/cholesky.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58template<typename T>
59Array<T> cholesky(int *info, const Array<T> &in, const bool is_upper) {
60 Array<T> out = copyArray<T>(in);
61 *info = cholesky_inplace(out, is_upper);
62
63 triangle<T>(out, out, is_upper, false);
64
65 return out;
66}
67
68#define INSTANTIATE_CH(T) \
69 template int cholesky_inplace<T>(Array<T> & in, const bool is_upper); \

Callers

nothing calls this directly

Calls 1

cholesky_inplaceFunction · 0.70

Tested by

no test coverage detected