Example #1
0
	bool operator>=(const GenericVector& _arg) const
	{
		if (Base::rows() != _arg.rows())
			return false;
		for (unsigned el = 0; el < Base::rows(); ++el)
			if (Base::data()[ el ] < _arg.data()[ el ])
				return false;
		return true;
	}
Example #2
0
	/** Equality operator. */
	bool operator==(const GenericVector& _arg) const
	{
		if (Base::rows() != _arg.rows())
			return false;
		return Base::isApprox(_arg, EQUALITY_EPS);
	}