From c10f069b6b9f0dd4bb313341d1969bd7e1cf9338 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 21 Jul 2008 00:34:46 +0000 Subject: * Merge Extract and Part to the Part expression. Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random. --- doc/examples/class_CwiseUnaryOp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/class_CwiseUnaryOp.cpp') diff --git a/doc/examples/class_CwiseUnaryOp.cpp b/doc/examples/class_CwiseUnaryOp.cpp index c4d8fd4ce..3b94a17b4 100644 --- a/doc/examples/class_CwiseUnaryOp.cpp +++ b/doc/examples/class_CwiseUnaryOp.cpp @@ -13,7 +13,7 @@ struct CwiseClampOp { int main(int, char**) { - Matrix4d m1 = Matrix4d::random(); + Matrix4d m1 = Matrix4d::Random(); cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(CwiseClampOp(-0.5,0.5)) << endl; return 0; } -- cgit v1.2.3