JSorngard
Newly graduated theoretical physics PhD looking for opportunities. Enjoys collecting cool rocks, and also other cool things that are not rocks
Sweden
Pinned Repositories
array-section
If you want to return a buffer of unknown size (but smaller than some limit) from/in a const context. Defines a type backed by an array where only a section of the array may be viewed (as the other may not uphold some invariant).
arrayvec
A vector with a fixed capacity. (Rust)
branch_hints
Crate that provides `likely` and `unlikely` branch hint functions in stable Rust.
code_spells
Silly crate that aliases some common rust expressions to macros named after spells from Harry Potter, e.g. obliviate!(x) instead of drop(x).
const-primes
Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, factorization, and more.
cosmic_ray_detection
Use your computer as a cosmic ray detector! One of the memory errors Rust does not protect against.
hydrogen-eigenstates
Program for calculating the energies of the eigenstates of hydrogen, as well as writing the specified (radial) wavefunction to a .txt file. This is my solution to a homework problem in computational atomic physics.
lambert_w
Fast evaluation of the real valued parts of the principal and secondary branch of the Lambert W function to 24 or 50 bits of accuracy with the method of Toshio Fukushima.
mandelrust
Renders an image of the Mandelbrot set at the specified location.
zalgo_codec
A crate for converting an ASCII text string to a single unicode grapheme cluster and back. Also provides a macro to embed encoded source code into a Rust source file.
JSorngard's Repositories
JSorngard/cosmic_ray_detection
Use your computer as a cosmic ray detector! One of the memory errors Rust does not protect against.
JSorngard/zalgo_codec
A crate for converting an ASCII text string to a single unicode grapheme cluster and back. Also provides a macro to embed encoded source code into a Rust source file.
JSorngard/const-primes
Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, factorization, and more.
JSorngard/lambert_w
Fast evaluation of the real valued parts of the principal and secondary branch of the Lambert W function to 24 or 50 bits of accuracy with the method of Toshio Fukushima.
JSorngard/hydrogen-eigenstates
Program for calculating the energies of the eigenstates of hydrogen, as well as writing the specified (radial) wavefunction to a .txt file. This is my solution to a homework problem in computational atomic physics.
JSorngard/branch_hints
Crate that provides `likely` and `unlikely` branch hint functions in stable Rust.
JSorngard/mandelrust
Renders an image of the Mandelbrot set at the specified location.
JSorngard/array-section
If you want to return a buffer of unknown size (but smaller than some limit) from/in a const context. Defines a type backed by an array where only a section of the array may be viewed (as the other may not uphold some invariant).
JSorngard/arrayvec
A vector with a fixed capacity. (Rust)
JSorngard/code_spells
Silly crate that aliases some common rust expressions to macros named after spells from Harry Potter, e.g. obliviate!(x) instead of drop(x).
JSorngard/fast_gauleg
Rust crate for Gauss-Legendre quadrature with the method of I. Bogaert. This makes the computation of node-weight pairs O(1) and easily parallelized
JSorngard/histogramifiera
Kort pythonscript som genererar ett histogram av data från txt-filer som exporterats från Hypatia. Har man inga sådana kan man även generera sin egen data. Denna script gjordes åt Vetenskapens hus.
JSorngard/ideal_pygas
An ideal gas simulation in python
JSorngard/mandelgo
My training repository for learning the basics of the Go language. Renders the Mandelbrot set quickly using many threads.
JSorngard/rust-rosetta
Implementing Rosetta Code problems in Rust.
JSorngard/rusty_cgc
A port of Fortran code that calculates Clebsch-Gordan coefficients
JSorngard/Peroxide
Rust numeric library with R, MATLAB & Python syntax
JSorngard/puruspe
PURe RUSt SPEcial library
JSorngard/rayon-cond
Add `chunks` and friends
JSorngard/relasympar
Mathematica file for computing the relativistic asymmetry parameters described in the article https://doi.org/10.1103/PhysRevA.104.033108
JSorngard/special
Special functions