| 57 | |
| 58 | template<typename T> |
| 59 | Array<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); \ |
nothing calls this directly
no test coverage detected