Skip to content

A tutorial for matrix computation in Julia Language

Notifications You must be signed in to change notification settings

QuantumBFS/juliamatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial for high performance matrix computations, in Julia

Table of Contents

Performance Tips

  • How to @time and @benchmark a piece of code
  • Use @simd, @inbounds and @inline to speed up codes
  • Use StaticArrays.jl for small matrices of fixed size to avoid allocation
  • Improve type stability

Matrices

  • Use LinearMaps.jl to view a linear function as a matrix

  • fast eigen solver and expmv

  • Sparse Matrices

    • CSC Sparse Matrix
    • General Permutation Matrix
    • Identity Matrix
  • Tensor Operations

Preparations

  • install latest julia

  • install required packages, open a julia REPL, type

  • type jupyter notebook, and open the notebook "notebooks/juliamatrix.ipynb"

About

A tutorial for matrix computation in Julia Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published