public GaSymMapBilinearHash SetBasisBladesMap(int id1, int id2, IGaSymMultivector value) { Debug.Assert(ReferenceEquals(value, null) || value.VSpaceDimension == TargetVSpaceDimension); _basisBladesMaps[id1, id2] = value.Compactify(true); return(this); }
public GaSymMapBilinearArray SetBasisBladesMap(int basisBladeId1, int basisBladeId2, IGaSymMultivector targetMv) { Debug.Assert(ReferenceEquals(targetMv, null) || targetMv.VSpaceDimension == TargetVSpaceDimension); _basisBladesMaps[basisBladeId1, basisBladeId2] = targetMv.Compactify(true); return(this); }
public GaSymMapUnilinearTree SetBasisBladeMap(int basisBladeId, IGaSymMultivector targetMv) { Debug.Assert(ReferenceEquals(targetMv, null) || targetMv.VSpaceDimension == TargetVSpaceDimension); targetMv = targetMv.Compactify(true); if (ReferenceEquals(targetMv, null)) { return(this); } _basisBladeMaps.SetLeafValue((ulong)basisBladeId, targetMv); return(this); }