[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Parameters
- A
- Type: ILNumericsBaseArray
First input array. - B
- Type: ILNumericsBaseArray
Second input array.
Return Value
Type: BooleanTrue, if all elements and sizes of both arrays match; false otherwise.
Binary comparison is used on the elements. For floating point elements slight round-off errors will cause the comparison to fail! Use 'allall(abs(A - B) < tol)' or similar for floating point arrays instead. The same is recommended when performance is a critical factor: isequal(BaseArray, BaseArray) (just like the underlying function Equals(Object)) does not parallelize automatically and is recommended for simple, non-performance critical comparisons only.
If both arrays differ only in singleton dimensions but the types and (binary) values of all corresponding elements are equal the comparison can still succeed. Consider using IsSameShape(Size) additionally for a stricter comparisons including singleton dimensions.
This function is an alias for Equals(Object) which overrides Equals(Object). In difference to latter the function does not perform reference comparison but the type and value of the elements are compared too.
[ILNumerics Computing Engine]