diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 814c81d..35233a0 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-09-28T10:11:04","documenter_version":"1.1.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-09-28T10:15:04","documenter_version":"1.1.0"}} \ No newline at end of file diff --git a/dev/index.html b/dev/index.html index b002f5f..ba47e96 100644 --- a/dev/index.html +++ b/dev/index.html @@ -4,7 +4,7 @@ julia> A_inv = cholinv(A); julia> A_inv ≈ inv(A) -truesource
FastCholesky.cholinv_logdetMethod
cholinv_logdet(input)

Calculate the inverse and the natural logarithm of the determinant of the input matrix input simultaneously using Cholesky factorization.

julia> A = [4.0 2.0; 2.0 5.0];
+true
source
FastCholesky.cholinv_logdetMethod
cholinv_logdet(input)

Calculate the inverse and the natural logarithm of the determinant of the input matrix input simultaneously using Cholesky factorization.

julia> A = [4.0 2.0; 2.0 5.0];
 
 julia> A_inv, logdet_A = cholinv_logdet(A);
 
@@ -12,20 +12,20 @@
 true
 
 julia> isapprox(logdet_A, log(det(A)))
-true
source
FastCholesky.chollogdetMethod
chollogdet(input)

Calculate the log-determinant of the input matrix input using Cholesky factorization. This function is an alias for logdet(fastcholesky(input)).

julia> A = [4.0 2.0; 2.0 5.0];
+true
source
FastCholesky.chollogdetMethod
chollogdet(input)

Calculate the log-determinant of the input matrix input using Cholesky factorization. This function is an alias for logdet(fastcholesky(input)).

julia> A = [4.0 2.0; 2.0 5.0];
 
 julia> logdet_A = chollogdet(A);
 
 julia> isapprox(logdet_A, log(det(A)))
-true
source
FastCholesky.cholsqrtMethod
cholsqrt(input)

Calculate the square root of the input matrix input using Cholesky factorization. This function is an alias for fastcholesky(input).L.

julia> A = [4.0 2.0; 2.0 5.0];
+true
source
FastCholesky.cholsqrtMethod
cholsqrt(input)

Calculate the square root of the input matrix input using Cholesky factorization. This function is an alias for fastcholesky(input).L.

julia> A = [4.0 2.0; 2.0 5.0];
 
 julia> A_sqrt = cholsqrt(A);
 
 julia> isapprox(A_sqrt * A_sqrt', A)
-true
source
FastCholesky.fastcholesky!Function
fastcholesky!(input)

Calculate the Cholesky factorization of the input matrix input in-place. This function is an in-place version of fastcholesky, and it does not check the positive-definiteness of the input matrix or throw errors. You can use LinearAlgebra.issuccess to check if the result is a proper Cholesky factorization.

Note

This function does not verify the positive-definiteness of the input matrix and does not throw errors. Ensure that the input matrix is appropriate for Cholesky factorization before using this function.

julia> C = fastcholesky!([ 1.0 0.5; 0.5 1.0 ]);
+true
source
FastCholesky.fastcholesky!Function
fastcholesky!(input)

Calculate the Cholesky factorization of the input matrix input in-place. This function is an in-place version of fastcholesky, and it does not check the positive-definiteness of the input matrix or throw errors. You can use LinearAlgebra.issuccess to check if the result is a proper Cholesky factorization.

Note

This function does not verify the positive-definiteness of the input matrix and does not throw errors. Ensure that the input matrix is appropriate for Cholesky factorization before using this function.

julia> C = fastcholesky!([ 1.0 0.5; 0.5 1.0 ]);
 
 julia> C.L * C.L' ≈ [ 1.0 0.5; 0.5 1.0 ]
-true
source
FastCholesky.fastcholeskyMethod
fastcholesky(input)

Calculate the Cholesky factorization of the input matrix input. This function provides a more efficient implementation for certain input matrices compared to the standard LinearAlgebra.cholesky function. By default, it falls back to using LinearAlgebra.cholesky(PositiveFactorizations.Positive, input), which means it does not require the input matrix to be perfectly symmetric.

Note

This function assumes that the input matrix is nearly positive definite, and it will attempt to make the smallest possible adjustments to the matrix to ensure it becomes positive definite. Note that the magnitude of these adjustments may not necessarily be small, so it's important to use this function only when you expect the input matrix to be nearly positive definite.

julia> C = fastcholesky([ 1.0 0.5; 0.5 1.0 ]);
+true
source
FastCholesky.fastcholeskyMethod
fastcholesky(input)

Calculate the Cholesky factorization of the input matrix input. This function provides a more efficient implementation for certain input matrices compared to the standard LinearAlgebra.cholesky function. By default, it falls back to using LinearAlgebra.cholesky(PositiveFactorizations.Positive, input), which means it does not require the input matrix to be perfectly symmetric.

Note

This function assumes that the input matrix is nearly positive definite, and it will attempt to make the smallest possible adjustments to the matrix to ensure it becomes positive definite. Note that the magnitude of these adjustments may not necessarily be small, so it's important to use this function only when you expect the input matrix to be nearly positive definite.

julia> C = fastcholesky([ 1.0 0.5; 0.5 1.0 ]);
 
 julia> C.L * C.L' ≈ [ 1.0 0.5; 0.5 1.0 ]
-true
source
+truesource