Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
untyped internal class for singly-typed single variable function (Endomorphism) More...
#include <sym_seq_scl.h>
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 () |
untyped internal class for singly-typed single variable function (Endomorphism)
Definition at line 12 of file sym_seq_scl.h.
|
inlinevirtual |
Definition at line 27 of file sym_seq_scl.h.
References CTF_int::inv_idx(), CTF_int::sym_seq_scl_cust(), and CTF_int::sym_seq_scl_ref().
|
inlinevirtual |
apply function f to value stored at a
[in,out] | a | pointer 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
[in] | A | operand 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().