σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
Skills›BLAS and LAPACK
Ax

BLAS and LAPACK Skill

LiveStart here

This is the simulator edition of the skill: there is no compiled library, no CPU and no stopwatch. You write the BLAS and LAPACK routines in plain Python, and a small counter records every multiply, add and word of memory they touch, so speed is a number you can print and check instead of a timing that changes from run to run. The running example is one covariance matrix of real daily stock returns, which is multiplied, stored, solved, decomposed and costed in every lecture. Each lecture teaches one idea with small examples and their output, then a graded lab extends the same code.

4 modules10 graded labs~9 hoursAdvanced
Start skill

Prerequisites

Comfort with Python functions, lists and loops is enough; no C or Fortran is needed, because the routines are simulators you write. The SIMD and cache-locality skills help with the memory ideas but are not required, and a first course in linear algebra helps with the solver topics.

  • Python
  • ∥SIMD

Syllabus

10 topics · open any topic, in any order
  1. 1The three levels of BLASNot startedRequires Python45 minStart
  2. 2Why GEMM is fast: blocking and cacheNot startedRequires Python1 hrStart
  3. 3Storage order and the leading dimensionNot startedRequires Python50 minStart
  1. 4LAPACK drivers for solving and decomposingNot startedRequires Python55 minStart
  2. 5Calling LAPACK routines and reading infoNot startedRequires Python45 minStart
  3. 6Conditioning: when a solution can be trustedNot startedRequires Python55 minStart
  1. 7Threading and oversubscriptionNot startedRequires Python45 minStart
  2. 8Choosing an implementation from a benchmark tableNot startedRequires Python40 minStart
  1. 9Calling BLAS and LAPACK from CNot startedRequires Python1 hrStart
  2. 10Capstone: a covariance and eigenvalue pipeline with a cost modelNot startedRequires Python1 hr 30 minStart

Completion

Pass all 10 labs with a score of 70+ to complete the skill and earn the BLAS and LAPACK badge on your profile.

0 / 100%

Prerequisites

Comfort with Python functions, lists and loops is enough; no C or Fortran is needed, because the routines are simulators you write. The SIMD and cache-locality skills help with the memory ideas but are not required, and a first course in linear algebra helps with the solver topics.

  • Python
  • ∥SIMD

Tools you'll use

PythonNumPypytest

What you'll learn

  • Name the three levels of BLAS and count the arithmetic and the memory each one needs
  • Explain with a cache model why a blocked matrix product moves far less memory than the plain triple loop
  • Find an element in row-major and column-major storage, pass a sub-matrix with a leading dimension and spot a call that is silently wrong
  • Solve a system, fit a least squares and find eigenvalues with LU, QR and Jacobi, and read the info code a routine returns
  • Measure how the condition number eats digits, then decide how many threads and which library a workload deserves

Next skill

SQLLive
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
LoginJoin ↗
Login