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

Function cholesky

src/backend/cuda/cholesky.cpp:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84template<typename T>
85Array<T> cholesky(int *info, const Array<T> &in, const bool is_upper) {
86 Array<T> out = copyArray<T>(in);
87 *info = cholesky_inplace(out, is_upper);
88
89 triangle<T>(out, out, is_upper, false);
90
91 return out;
92}
93
94template<typename T>
95int cholesky_inplace(Array<T> &in, const bool is_upper) {

Callers

nothing calls this directly

Calls 1

cholesky_inplaceFunction · 0.70

Tested by

no test coverage detected