mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-11 23:39:03 +08:00
compile with gcc 4.5
This commit is contained in:
parent
04a4e22c58
commit
089bd89512
@ -160,10 +160,10 @@ DenseBase<Derived>::replicate(int rowFactor,int colFactor) const
|
|||||||
* \sa VectorwiseOp::replicate(), DenseBase::replicate(), class Replicate
|
* \sa VectorwiseOp::replicate(), DenseBase::replicate(), class Replicate
|
||||||
*/
|
*/
|
||||||
template<typename ExpressionType, int Direction>
|
template<typename ExpressionType, int Direction>
|
||||||
const Replicate<ExpressionType,(Direction==Vertical?Dynamic:1),(Direction==Horizontal?Dynamic:1)>
|
const typename VectorwiseOp<ExpressionType,Direction>::ReplicateReturnType
|
||||||
VectorwiseOp<ExpressionType,Direction>::replicate(int factor) const
|
VectorwiseOp<ExpressionType,Direction>::replicate(int factor) const
|
||||||
{
|
{
|
||||||
return Replicate<ExpressionType,Direction==Vertical?Dynamic:1,Direction==Horizontal?Dynamic:1>
|
return typename VectorwiseOp<ExpressionType,Direction>::ReplicateReturnType
|
||||||
(_expression(),Direction==Vertical?factor:1,Direction==Horizontal?factor:1);
|
(_expression(),Direction==Vertical?factor:1,Direction==Horizontal?factor:1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -384,8 +384,8 @@ template<typename ExpressionType, int Direction> class VectorwiseOp
|
|||||||
const Reverse<ExpressionType, Direction> reverse() const
|
const Reverse<ExpressionType, Direction> reverse() const
|
||||||
{ return Reverse<ExpressionType, Direction>( _expression() ); }
|
{ return Reverse<ExpressionType, Direction>( _expression() ); }
|
||||||
|
|
||||||
const Replicate<ExpressionType,(Direction==Vertical?Dynamic:1),(Direction==Horizontal?Dynamic:1)>
|
typedef Replicate<ExpressionType,Direction==Vertical?Dynamic:1,Direction==Horizontal?Dynamic:1> ReplicateReturnType;
|
||||||
replicate(int factor) const;
|
const ReplicateReturnType replicate(int factor) const;
|
||||||
|
|
||||||
/** \nonstableyet
|
/** \nonstableyet
|
||||||
* \return an expression of the replication of each column (or row) of \c *this
|
* \return an expression of the replication of each column (or row) of \c *this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user