Documentation fixes. Thanks to Rodney Sparapani for reporting these.

(transplanted from 5eefca637e
)
This commit is contained in:
Jitse Niesen
2012-08-17 14:49:18 +01:00
parent e2886d34ef
commit 0c078ca80a
3 changed files with 8 additions and 8 deletions

View File

@@ -43,8 +43,8 @@ x.head(n) // x(1:n)
x.head<n>() // x(1:n)
x.tail(n) // N = rows(x); x(N - n: N)
x.tail<n>() // N = rows(x); x(N - n: N)
x.segment(i, n) // x(i+1 : i+n)
x.segment<n>(i) // x(i+1 : i+n)
x.segment(i, n) // x(i+1 : i+n+1)
x.segment<n>(i) // x(i+1 : i+n+1)
P.block(i, j, rows, cols) // P(i+1 : i+rows, j+1 : j+cols)
P.block<rows, cols>(i, j) // P(i+1 : i+rows, j+1 : j+cols)
P.topLeftCorner(rows, cols) // P(1:rows, 1:cols)