In [12]:
using NMfE
In [13]:
A=Float64[16 4 8;4 5 -4;8 -4 22];
In [14]:
b=Float64[4, 2, 5];
In [15]:
c = A\b
Out[15]:
In [16]:
?chol
Out[16]:
In [21]:
chol(A, Val{:L})
Out[21]:
In [22]:
chol(A, Val{:U})
Out[22]:
In [18]:
round(A * c, 14) == b
Out[18]: