Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
CTF_int::endomorphism Class Reference

untyped internal class for singly-typed single variable function (Endomorphism) More...

#include <sym_seq_scl.h>

Inheritance diagram for CTF_int::endomorphism:

Public Member Functions

virtual void apply_f (char *a) const
 apply function f to value stored at a More...
 
void operator() (Term const &A) const
 apply f to A More...
 
virtual ~endomorphism ()
 

Detailed Description

untyped internal class for singly-typed single variable function (Endomorphism)

Definition at line 12 of file sym_seq_scl.h.

Constructor & Destructor Documentation

virtual CTF_int::endomorphism::~endomorphism ( )
inlinevirtual

Member Function Documentation

virtual void CTF_int::endomorphism::apply_f ( char *  a) const
inlinevirtual

apply function f to value stored at a

Parameters
[in,out]apointer to operand that will be cast to type by extending class return result of applying f on value at a

Reimplemented in CTF::Endomorphism< dtype >, and CTF::Endomorphism< dtype_A >.

Definition at line 19 of file sym_seq_scl.h.

References operator()().

Referenced by CTF_int::sym_seq_scl_cust().

void CTF_int::endomorphism::operator() ( Term const &  A) const

apply f to A

Parameters
[in]Aoperand tensor with pre-defined indices

Definition at line 12 of file sym_seq_scl.cxx.

References CTF_int::Term::execute(), CTF_int::scaling::execute(), CTF_int::Term::get_uniq_inds(), CTF::Idx_Tensor::idx_map, CTF::Idx_Tensor::parent, and CTF_int::Term::scale.

Referenced by apply_f().


The documentation for this class was generated from the following files: