| 21 | } |
| 22 | |
| 23 | void 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 | |
| 31 | void lu(array &out, array &pivot, const array &in, const bool is_lapack_piv) { |
| 32 | out = in.copy(); |
nothing calls this directly
no test coverage detected