
25 Feb
2011
25 Feb
'11
4:21 p.m.
Hello all,
My use case is the following : I have a function that returns quantities
of different units depending on its input parameters (different
derivatives).
I could split the function in two parts that returns one unit only, but
that would move the problem to an other place in my code.
Is there any way to handle this, without breaking the dimensional analysis ?
I have been playing with things like :
quantity