/// <summary> /// Creates a new 4-dimensional canonical product. /// </summary> public static IProduct4 <T1, T2, T3, T4> Create <T1, T2, T3, T4>(IProduct4 <T1, T2, T3, T4> p) { if (Equals(p.GetType(), typeof(Product4 <T1, T2, T3, T4>))) { return(p); } return(Create(p.ProductValue1, p.ProductValue2, p.ProductValue3, p.ProductValue4)); }
/// <summary> /// Creates a new 4-dimensional canonical product. /// </summary> public static Position4 <P1, P2, P3, P4> Create <P1, P2, P3, P4>(IProduct4 <P1, P2, P3, P4> p) { return(Create(p.ProductValue1, p.ProductValue2, p.ProductValue3, p.ProductValue4)); }