예제 #1
0
        public static MultiVector OuterProduct(MultiVector v1, MultiVector v2)
        {
            MultiVector result = new MultiVector();

            foreach (Blade b1 in v1.Blades)
            {
                foreach (Blade b2 in v2.Blades)
                {
                    result += Blade.OuterProduct(b1, b2);
                }
            }

            return(result);
        }
예제 #2
0
파일: Blade.cs 프로젝트: reloZid/algeosharp
 public static Blade operator ^(Blade b1, Blade b2)
 {
     return(Blade.OuterProduct(b1, b2));
 }