Minsky
|
Public Member Functions | |
void | setArguments (const TensorPtr &a1, const TensorPtr &a2, const ITensor::Args &args) override |
template<class F > | |
void | performSum (F f, size_t idx) const |
Timestamp | timestamp () const override |
timestamp indicating how old the dependendent data might be. Used in CachedTensorOp to determine when to invalidate the cache More... | |
![]() | |
CLASSDESC_ACCESS (ITensor) | |
ITensor () | |
ITensor (const Hypercube &hc) | |
ITensor (Hypercube &&hc) | |
ITensor (const std::vector< unsigned > &dims) | |
ITensor (const ITensor &)=default | |
ITensor (ITensor &&)=default | |
ITensor & | operator= (const ITensor &)=default |
ITensor & | operator= (ITensor &&)=default |
virtual | ~ITensor () |
virtual const Hypercube & | hypercube () const |
information describing the axes, types and labels of this tensor More... | |
virtual const Hypercube & | hypercube (const Hypercube &hc) |
virtual const Hypercube & | hypercube (Hypercube &&hc) |
std::size_t | rank () const |
std::vector< unsigned > | shape () const |
void | imposeDimensions (const Dimensions &dimensions) |
impose dimensions according to dimension map dimensions More... | |
virtual const Index & | index () const |
the index vector - assumed to be ordered and unique More... | |
virtual double | operator[] (std::size_t) const =0 |
return or compute data at a location More... | |
virtual std::size_t | size () const |
return number of elements in tensor - maybe less than hypercube.numElements if sparse More... | |
double | atHCIndex (std::size_t hcIdx) const |
returns the data value at hypercube index hcIdx, or NaN if More... | |
template<class T > | |
std::size_t | hcIndex (const std::initializer_list< T > &indices) const |
template<class T > | |
double | operator() (const std::initializer_list< T > &indices) const |
virtual void | setArgument (const TensorPtr &, const ITensor::Args &args={"", 0}) |
virtual void | setArguments (const std::vector< TensorPtr > &a, const ITensor::Args &args={"", 0}) |
virtual void | setArguments (const std::vector< TensorPtr > &a1, const std::vector< TensorPtr > &a2, const ITensor::Args &args={"", 0}) |
![]() | |
void | setState (const OperationPtr &s) override |
void | throw_error (const std::string &msg) const |
![]() | |
virtual | ~SetState () |
Public Attributes | |
int | dimension1 |
int | dimension2 |
TensorPtr | arg1 |
TensorPtr | arg2 |
string | errorMsg |
![]() | |
OperationPtr | state |
Additional Inherited Members | |
![]() | |
using | Timestamp = std::chrono::time_point< std::chrono::high_resolution_clock > |
![]() | |
void | notImpl () const |
![]() | |
Hypercube | m_hypercube |
Index | m_index |
Definition at line 929 of file minskyTensorOps.cc.
|
inline |
Definition at line 1002 of file minskyTensorOps.cc.
References f, and minsky::anonymous_namespace{userFunction.cc}::isfinite().
|
inlineoverridevirtual |
Reimplemented from civita::ITensor.
Definition at line 934 of file minskyTensorOps.cc.
References civita::ITensor::Args::dimension.
|
inlineoverridevirtual |
timestamp indicating how old the dependendent data might be. Used in CachedTensorOp to determine when to invalidate the cache
Implements civita::ITensor.
Definition at line 1029 of file minskyTensorOps.cc.
TensorPtr minsky::Correlation::arg1 |
Definition at line 932 of file minskyTensorOps.cc.
TensorPtr minsky::Correlation::arg2 |
Definition at line 932 of file minskyTensorOps.cc.
int minsky::Correlation::dimension1 |
Definition at line 931 of file minskyTensorOps.cc.
int minsky::Correlation::dimension2 |
Definition at line 931 of file minskyTensorOps.cc.
string minsky::Correlation::errorMsg |
Definition at line 933 of file minskyTensorOps.cc.