STK++ 0.9.13
STK::hidden::Copycat< Lhs, Rhs, Arrays::point_, Arrays::diagonal_ > Struct Template Reference

#include <STK_AssignSelector.h>

Static Public Member Functions

static void runByCol (Lhs &lhs, Rhs const &rhs)
 
static void runByRow (Lhs &lhs, Rhs const &rhs)
 

Detailed Description

template<typename Lhs, typename Rhs>
struct STK::hidden::Copycat< Lhs, Rhs, Arrays::point_, Arrays::diagonal_ >

Definition at line 748 of file STK_AssignSelector.h.

Member Function Documentation

◆ runByCol()

template<typename Lhs , typename Rhs >
static void STK::hidden::Copycat< Lhs, Rhs, Arrays::point_, Arrays::diagonal_ >::runByCol ( Lhs lhs,
Rhs const rhs 
)
inlinestatic

Definition at line 750 of file STK_AssignSelector.h.

751 { for (int i = rhs.begin(); i< rhs.end(); ++i) { lhs.setValue(i, rhs.elt(i));}}

◆ runByRow()

template<typename Lhs , typename Rhs >
static void STK::hidden::Copycat< Lhs, Rhs, Arrays::point_, Arrays::diagonal_ >::runByRow ( Lhs lhs,
Rhs const rhs 
)
inlinestatic

Definition at line 752 of file STK_AssignSelector.h.

753 { for (int i = rhs.begin(); i< rhs.end(); ++i) { lhs.setValue(i, rhs.elt(i));}}

The documentation for this struct was generated from the following file: