FastQuant.Quant.Vector.Equals C# (CSharp) Method

Equals() public method

public Equals ( object vector ) : bool
vector object
return bool
        public override bool Equals(object vector)
        {
            var that = (Vector)vector;
            if (NRows != that.NRows)
                return false;
            return Enumerable.Range(0, NRows).All(i => this[i] == that[i]);
        }