mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Document how to reproduce matlab's rot90
(transplanted from 5d1291a4de
)
This commit is contained in:
parent
11462c1a29
commit
20b0747bdb
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user