aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Array/Random.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Array/Random.h')
-rw-r--r--Eigen/src/Array/Random.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Array/Random.h b/Eigen/src/Array/Random.h
index 97a34433a..9f3a916cf 100644
--- a/Eigen/src/Array/Random.h
+++ b/Eigen/src/Array/Random.h
@@ -53,7 +53,7 @@ struct ei_functor_traits<ei_scalar_random_op<Scalar> >
*/
template<typename Derived>
inline const CwiseNullaryOp<ei_scalar_random_op<typename ei_traits<Derived>::Scalar>, Derived>
-MatrixBase<Derived>::random(int rows, int cols)
+MatrixBase<Derived>::Random(int rows, int cols)
{
return NullaryExpr(rows, cols, ei_scalar_random_op<Scalar>());
}
@@ -78,7 +78,7 @@ MatrixBase<Derived>::random(int rows, int cols)
*/
template<typename Derived>
inline const CwiseNullaryOp<ei_scalar_random_op<typename ei_traits<Derived>::Scalar>, Derived>
-MatrixBase<Derived>::random(int size)
+MatrixBase<Derived>::Random(int size)
{
return NullaryExpr(size, ei_scalar_random_op<Scalar>());
}
@@ -98,7 +98,7 @@ MatrixBase<Derived>::random(int size)
*/
template<typename Derived>
inline const CwiseNullaryOp<ei_scalar_random_op<typename ei_traits<Derived>::Scalar>, Derived>
-MatrixBase<Derived>::random()
+MatrixBase<Derived>::Random()
{
return NullaryExpr(RowsAtCompileTime, ColsAtCompileTime, ei_scalar_random_op<Scalar>());
}
@@ -115,7 +115,7 @@ MatrixBase<Derived>::random()
template<typename Derived>
inline Derived& MatrixBase<Derived>::setRandom()
{
- return *this = random(rows(), cols());
+ return *this = Random(rows(), cols());
}
#endif // EIGEN_RANDOM_H