ma::maths::ReplicateOp

Replicate the rows vertically. More...

Header
#include <openma/maths/unaryop.h>

Module

Public Functions#

ReplicateOp(const XprBase< Xpr > &x, Index rows)

Index
rows() const noexcept

auto
values() const noexcept-> Eigen::Replicate< typename std::decay< decltype(OPENMA_MATHS_DECLVAL_NESTED(Xpr).values())>::type, Eigen::Dynamic, Eigen::Dynamic >

auto
residuals() const noexcept-> Eigen::Replicate< typename std::decay< decltype(OPENMA_MATHS_DECLVAL_NESTED(Xpr).residuals())>::type, Eigen::Dynamic, Eigen::Dynamic >

Detailed Description#

Member Function Documentation#

ma::maths::ReplicateOp::ReplicateOp ( const XprBase < Xpr > & x , Index rows ) [inline]

Constructor

auto ma::maths::ReplicateOp::residuals ( ) const noexcept [inline]

Returns the residuals associated with this operation. The residuals is generated based on the input one.

Index ma::maths::ReplicateOp::rows ( ) const noexcept [inline]

Returns the number of rows that shall have the result of this operation. Internaly, this method relies on the number of rows of the given expresion.

auto ma::maths::ReplicateOp::values ( ) const noexcept [inline]

Returns a template expression corresponding to the calculation of this operation.