Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generic numerical linear algebra in Julia

License

NotificationsYou must be signed in to change notification settings

JuliaLinearAlgebra/GenericLinearAlgebra.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CIcodecov

A fresh approach to numerical linear algebra in Julia

The purpose of this package is partly to extend linear algebra functionality in base to cover generic element types, e.g.BigFloat andQuaternion, and partly to be a place to experiment with fast linear algebra routines written in Julia (except for optimized BLAS). It is my hope that it is possible to have implementations that are generic, fast, and readable.

So far, this has mainly been my playground but you might find some of the functionality here useful. The package has a generic implementation of a singular value solver which will make it possible to computenorm andcond of matrices ofBigFloat. Hence

julia>using GenericLinearAlgebrajulia> A=big.(randn(10,10));julia>cond(A)1.266829904721752610946505846921202851190952179974780602509001252204638657237828e+03julia>norm(A)6.370285271475041598951769618847832429030388948627697440637424244721679386430589

The package also includes functions for the blocked Cholesky and QR factorization, the self-adjoint (symmetric) and the general eigenvalue problem. These routines can be accessed by fully qualifying the names

julia>using GenericLinearAlgebrajulia> A=randn(1000,1000); A= A'A;julia>cholesky(A);julia>@timecholesky(A);0.013036 seconds (16 allocations:7.630 MB)julia> GenericLinearAlgebra.cholRecursive!(copy(A), Val{:L});julia>@time GenericLinearAlgebra.cholRecursive!(copy(A), Val{:L});0.012098 seconds (7.00 k allocations:7.934 MB)

About

Generic numerical linear algebra in Julia

Resources

License

Stars

Watchers

Forks

Contributors17

Languages


[8]ページ先頭

©2009-2025 Movatter.jp