public static Array AllTrue(Array arr, int dim = -1)
        {
            IntPtr ptr;

            Internal.VERIFY(AFAlgorithm.af_all_true(out ptr, arr._ptr, getFNSD(dim, arr.Dimensions)));
            return(new Array(ptr));
        }