Beispiel #1
0
        public bool Equals(MosaArrayInfo info)
        {
            if (this == Vector && info == Vector)
            {
                return(true);
            }

            return(Rank == info.Rank &&
                   LowerBounds.SequenceEquals(info.LowerBounds) &&
                   Sizes.SequenceEqual(info.Sizes));
        }
Beispiel #2
0
        public bool Equals(MosaArrayInfo other)
        {
            if (this == Vector && other == Vector)
            {
                return(true);
            }

            return(Rank == other.Rank &&
                   LowerBounds.SequenceEquals(other.LowerBounds) &&
                   Sizes.SequenceEqual(other.Sizes));
        }