3
3
``` {r results='asis', echo=FALSE}
4
4
if (knitr::is_html_output()) {
5
5
cat(' * <a href="array-reductions.html">Reductions</a>\n')
6
- cat(' * <a href="array-size-and-dimension-function.html">Array Size and Dimension Function </a>\n')
7
- cat(' * <a href="array-broadcasting.html">Array Broadcasting </a>\n')
8
- cat(' * <a href="array-concatenation.html">Array Concatenation </a>\n')
6
+ cat(' * <a href="array-size-and-dimension-function.html">Array size and dimension function </a>\n')
7
+ cat(' * <a href="array-broadcasting.html">Array broadcasting </a>\n')
8
+ cat(' * <a href="array-concatenation.html">Array concatenation </a>\n')
9
9
cat(' * <a href="sorting-functions.html">Sorting functions</a>\n')
10
- cat(' * <a href="reversing-functions.html">Reversing Functions </a>\n')
10
+ cat(' * <a href="reversing-functions.html">Reversing functions </a>\n')
11
11
}
12
12
```
13
13
@@ -179,7 +179,7 @@ The squared Euclidean distance between x and y
179
179
` real ` ** ` squared_distance ` ** ` (row_vector x, row_vector[] y) ` <br >\newline
180
180
The Euclidean distance between x and y
181
181
182
- ## Array Size and Dimension Function
182
+ ## Array size and dimension function
183
183
184
184
The size of an array or matrix can be obtained using the ` dims() `
185
185
function. The ` dims() ` function is defined to take an argument
@@ -237,7 +237,7 @@ can be any type, but the size is just the size of the top level array,
237
237
not the total number of elements contained. For example, if ` x ` is of
238
238
type ` real[4,3] ` then ` size(x) ` is 4.
239
239
240
- ## Array Broadcasting {#array-broadcasting}
240
+ ## Array broadcasting {#array-broadcasting}
241
241
242
242
The following operations create arrays by repeating elements to fill
243
243
an array of a specified size. These operations work for all input
@@ -313,7 +313,7 @@ After the assignment to `b`, the value for `b[j,k,m,n]` is equal to
313
313
` a[m,n] ` where it is defined, for ` j ` in ` 1:3 ` , ` k ` in ` 1:4 ` , ` m ` in
314
314
` 1:5 ` , and ` n ` in ` 1:6 ` .
315
315
316
- ## Array Concatenation {#array-concatenation}
316
+ ## Array concatenation {#array-concatenation}
317
317
318
318
<!-- T; append_array; (T x, T y); -->
319
319
\index{{\tt \bfseries append\_ array }!{\tt (T x, T y): T}|hyperpage}
@@ -335,7 +335,7 @@ Any mismatches will cause an error to be thrown.
335
335
x3 = append_array(x1, x2);
336
336
```
337
337
338
- ## Sorting Functions {#sorting-functions}
338
+ ## Sorting functions {#sorting-functions}
339
339
340
340
Sorting can be used to sort values or the indices of those values in
341
341
either ascending or descending order. For example, if ` v ` is declared
@@ -410,7 +410,7 @@ Number of components of v less than v[s]
410
410
` int ` ** ` rank ` ** ` (int[] v, int s) ` <br >\newline
411
411
Number of components of v less than v[ s]
412
412
413
- ## Reversing Functions {#reversing-functions}
413
+ ## Reversing functions {#reversing-functions}
414
414
415
415
Stan provides functions to create a new array by reversing the order of
416
416
elements in an existing array. For example, if ` v ` is declared as a real
0 commit comments