| 29 | } |
| 30 | |
| 31 | void 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 | |
| 38 | void lu(array &lower, array &upper, array &pivot, const array &in) { |
| 39 | af_array l = 0, u = 0, p = 0; |
nothing calls this directly
no test coverage detected