diff --git a/java/source/infodynamics/utils/MatrixUtils.java b/java/source/infodynamics/utils/MatrixUtils.java index 4d73f49..17635d8 100755 --- a/java/source/infodynamics/utils/MatrixUtils.java +++ b/java/source/infodynamics/utils/MatrixUtils.java @@ -3463,7 +3463,27 @@ public class MatrixUtils { return result; } - + + /* + * The method CholeskyDecomposition() was adapted from the + * JAMA project -- http://math.nist.gov/javanumerics/jama/ + * + * This code was distributed with the following original license: + * + * Copyright Notice + * + * This software is a cooperative product of The MathWorks and the + * National Institute of Standards and Technology (NIST) which has + * been released to the public domain. Neither The MathWorks nor + * NIST assumes any responsibility whatsoever for its use by other + * parties, and makes no guarantees, expressed or implied, about + * its quality, reliability, or any other characteristic. + * + * As Jama is in the public domain other developers are free to + * adopt and adapt this code to other styles of programming or to + * extend or modernize the API. + * Make note, however, that NIST makes no endorsement of these projects. + */ /** *
Make the Cholesky decomposition L of a given input matrix A, * where: @@ -3551,6 +3571,12 @@ public class MatrixUtils { } // TODO implement solve for identity matrix + /* + * The method solveViaCholeskyResult() was adapted from the + * JAMA project -- http://math.nist.gov/javanumerics/jama/ + * + * See license above the CholeskyDecomposition() method + */ /** *
Solve A*X = B, where A = L*L^T via Cholesky decomposition. *