Julia: Implementing Units with Unitful
Вставка
- Опубліковано 30 лип 2024
- #julialang #packages #programming
Today we go into Unitful! One question I always get a couple times a quarter is "did you check your units?", and while now I'm better about that now, it is something that can save you in finding mistakes. Unitful is a project that allows unit implementation into your code, and it'll track the unit math and serve as anther check for your code. It's really great for those that work in the sciences, because we can all benefit from a little check on our work. (:
SECTIONS
-----------------
0:00 - Intro
0:47 - Adding units to your values
2:43 - Checking your unit math
3:22 - Converting units
3:45 - Checking dimensions
4:25 - Showing in MKS units
4:46 - Showing in CGS units
Unitful.jl
--------------
github.com/PainterQubits/Unit...
Repo
--------
github.com/da-james/djs-offic...
GM: djsofficehours@gmail.com
IG: / djsofficehours
TT: / djsofficehours
T: / djsofficehours
I didn't know how to use this type of units on Julia, thanks for showing how it works.