public override GaNumMultivector BasisBladeSignature(int id) { if (id >= 0 && id < GaSpaceDimension) { return(GaNumMultivector.CreateScalar(GaSpaceDimension, 1.0d)); } throw new IndexOutOfRangeException(); }
public override GaNumMultivector BasisBladeSignature(int id) { if (id < 0 || id >= GaSpaceDimension) { throw new IndexOutOfRangeException(); } return(GaNumMultivector.CreateScalar( GaSpaceDimension, OrthonormalMetric[id] < 0 ? -1.0d : 1.0d )); }
public override GaNumMultivector BasisBladeSignature(int id) { return(GaNumMultivector.CreateScalar(GaSpaceDimension, OrthogonalMetric[id])); }