示例#1
0
 /// <summary>
 /// Full definition of another unit.
 /// This can handle for instance:
 /// - newton: N ≡ 1 kg⋅m/s2 that is a direct alias to a
 ///   normalized unit.
 ///   var newton = O( "N", 1.0, ExprFactor.Empty, MeasureUnit.Kilogram * MeasureUnit.Metre / MeasaureUnit.Second.Power(2) )
 /// - 1 dyn	= 10−5 N
 ///   var dyn = O( "dyn", 1.0, new ExprFactor(0,-5), newton.Normalized )
 /// - 1 kp	= 9.80665 N
 ///   var kp = O( "kp", 9.80665, ExprFactor.Empty, newton.Normalized )
 /// </summary>
 /// <param name="name"></param>
 /// <param name="factor"></param>
 /// <param name="e"></param>
 /// <param name="normalized"></param>
 public O(string name, double factor, ExpFactor e, N <F> normalized) : base(name)
 {
     Factor     = factor;
     ExpFactor  = e;
     Normalized = normalized;
 }
示例#2
0
 public D(string name, double factor, ExpFactor e, N normalized) : base(name)
 {
 }