Replaces all elements of this Array with given object.
(self, e, inplace=False)
| 786 | return self |
| 787 | |
| 788 | def fill(self, e, inplace=False): |
| 789 | """ Replaces all elements of this Array with given object. """ |
| 790 | if inplace: |
| 791 | return self.__setinplace(e, inplace) |
| 792 | return Array([e] * self.size) |
| 793 | |
| 794 | def fill_(self, e): |
| 795 | """ Replaces (in place) all elements of this Array with given object. """ |