public static MultiVector GeometricProduct(MultiVector v1, MultiVector v2) { MultiVector result = new MultiVector(); foreach (Blade b1 in v1.Blades) { foreach (Blade b2 in v2.Blades) { result += Blade.GeometricProduct(b1, b2); } } return(result); }
public static MultiVector operator *(Blade b1, Blade b2) { return(Blade.GeometricProduct(b1, b2)); }