@@ -4132,17 +4132,17 @@ Constructors
4132
4132
4133
4133
.. function :: fill(x, dims)
4134
4134
4135
- Create an array filled with copies of the value ``x ``.
4136
- For e.g. , ``fill(1.0, (10,10)) `` returns a 10x10 array of floats, with each
4137
- element initialized to 1.0
4135
+ Create an array filled with the value ``x ``.
4136
+ For example , ``fill(1.0, (10,10)) `` returns a 10x10 array of floats, with each
4137
+ element initialized to 1.0.
4138
4138
4139
4139
If ``x `` is an object reference, all elements will refer to the same object.
4140
- For e.g., ``fill(Foo(), dims) ``, will return an array filled with the result of evaluating Foo() once.
4140
+ ``fill(Foo(), dims) `` will return an array filled with the result of evaluating `` Foo() `` once.
4141
4141
4142
4142
.. function :: fill!(A, x)
4143
4143
4144
- Fill the array ``A `` with copies of the value ``x ``. If ``x `` is an object reference, all elements will refer to the same object.
4145
- For e.g., ``fill!(A, Foo()) ``, will return ``A `` filled with the result of evaluating Foo() once.
4144
+ Fill array ``A `` with the value ``x ``. If ``x `` is an object reference, all elements will refer to the same object.
4145
+ ``fill!(A, Foo()) `` will return ``A `` filled with the result of evaluating `` Foo() `` once.
4146
4146
4147
4147
.. function :: reshape(A, dims)
4148
4148
0 commit comments