Document how to reproduce matlab's rot90

(transplanted from 5d1291a4de
)
This commit is contained in:
Gael Guennebaud 2013-11-19 11:51:16 +01:00
parent 11462c1a29
commit 20b0747bdb

View File

@ -91,6 +91,7 @@ R.adjoint() // R'
R.transpose() // R.' or conj(R') R.transpose() // R.' or conj(R')
R.diagonal() // diag(R) R.diagonal() // diag(R)
x.asDiagonal() // diag(x) x.asDiagonal() // diag(x)
R.transpose().colwise().reverse(); // rot90(R)
// All the same as Matlab, but matlab doesn't have *= style operators. // All the same as Matlab, but matlab doesn't have *= style operators.
// Matrix-vector. Matrix-matrix. Matrix-scalar. // Matrix-vector. Matrix-matrix. Matrix-scalar.