MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / _Index

Method _Index

include/Tensor.h:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 /** convert index for parameter pack*/
94 template<typename... IndicesTemplate>
95 int _Index(const int Index, IndicesTemplate... Indices) const
96 {
97 return Index + _Index(Indices...) * Size;
98 }
99 int _Index(const int Index) const
100 {
101 if(Index >= _Size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected