public IFunArray Slice(int?startIndex, int?endIndex, int?step) { var array = _origin.ToArray(); return(ArrayTools.SliceToImmutable(array, ElementType, startIndex, endIndex, step)); }