Skip to content

Commit

Permalink
Some misisng paren and xrefs (#29351)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt authored and fredrikekre committed Sep 25, 2018
1 parent f2ad009 commit 0b5e21c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/src/manual/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from [`AbstractArray`](@ref). See the [manual section on the AbstractArray inter
on implementing a custom array type.

An array is a collection of objects stored in a multi-dimensional grid. In the most general case,
an array may contain objects of type `Any`. For most computational purposes, arrays should contain
an array may contain objects of type [`Any`](@ref). For most computational purposes, arrays should contain
objects of a more specific type, such as [`Float64`](@ref) or [`Int32`](@ref).

In general, unlike many other technical computing languages, Julia does not expect programs to
Expand All @@ -23,7 +23,7 @@ sharing](https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_sharing)
while this prevents accidental modification by callees of a value in the caller,
it makes avoiding unwanted copying of arrays difficult. By convention, a
function name ending with a `!` indicates that it will mutate or destroy the
value of one or more of its arguments (see, for example, [`sort`](@ref) and [`sort!`](@ref).
value of one or more of its arguments (see, for example, [`sort`](@ref) and [`sort!`](@ref)).
Callees must make explicit copies to ensure that they don't modify inputs that
they don't intend to change. Many non- mutating functions are implemented by
calling a function of the same name with an added `!` at the end on an explicit
Expand All @@ -38,8 +38,8 @@ copy of the input, and returning that copy.
| [`ndims(A)`](@ref) | the number of dimensions of `A` |
| [`size(A)`](@ref) | a tuple containing the dimensions of `A` |
| [`size(A,n)`](@ref) | the size of `A` along dimension `n` |
| [`axes(A)`](@ref) | a tuple containing the valid indices of `A` |
| [`axes(A,n)`](@ref) | a range expressing the valid indices along dimension `n` |
| [`axes(A)`](@ref) | a tuple containing the valid indices of `A` |
| [`axes(A,n)`](@ref) | a range expressing the valid indices along dimension `n` |
| [`eachindex(A)`](@ref) | an efficient iterator for visiting each position in `A` |
| [`stride(A,k)`](@ref) | the stride (linear index distance between adjacent elements) along dimension `k` |
| [`strides(A)`](@ref) | a tuple of the strides in each dimension |
Expand Down

0 comments on commit 0b5e21c

Please sign in to comment.