Julia Programming Language
Unitful: how to restrict units to specific dimension
General Usage
question
sostock
June 30, 2020, 11:16am
2
f1(unit::Unitful.LengthUnits) = unit
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Creating a function that only takes specific units
New to Julia
functions
,
unitful
8
1269
February 26, 2020
Help with parametric definition (Unitful.jl)
General Usage
package
,
unitful
3
640
April 1, 2019
Unitful arguments to functions?
General Usage
functions
,
unitful
6
1167
February 11, 2020
Function with two unitful arguments with the same dimension
General Usage
dispatch
,
function
,
unitful
1
430
February 25, 2021
How can I parse a `UnitfulQuantity` to return a unit describing only the `Time` dimension?
General Usage
question
,
unitful
1
336
April 7, 2021