source: https://arrayfire.org/docs/group__lapack__factor__func__cholesky.htm#gab9428b008330b309bb6359a6b1c474ca