mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Big renaming:
start ---> head end ---> tail Much frustration with sed syntax. Need to learn perl some day.
This commit is contained in:
@@ -41,8 +41,8 @@ A.setIdentity(); // Fill A with the identity.
|
||||
// Eigen // Matlab
|
||||
x.start(n) // x(1:n)
|
||||
x.start<n>() // x(1:n)
|
||||
x.end(n) // N = rows(x); x(N - n: N)
|
||||
x.end<n>() // N = rows(x); x(N - n: 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)
|
||||
P.block(i, j, rows, cols) // P(i+1 : i+rows, j+1 : j+cols)
|
||||
|
||||
Reference in New Issue
Block a user