Skip to content
Snippets Groups Projects

Refactoring Tensor

Closed laurent soulier requested to merge fix/TensorPIMPL into main
3 files
+ 22
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -488,6 +488,15 @@ public:
/// @return Linear index of the first Byte_t of the data at given coordinates
NbElts_t getIdx(std::vector<Coord_t> const &coordIdx) const noexcept;
/// @brief Get the logical coordinates of the data at given index, to be used only for
/// Python binding
/// @param coordIdx coordinates of the desired data
/// @note The index is expressed in number of elements
/// @return Logical coordinates of the data at given index
std::vector<Coord_t>
getCoordOnlyForPythonIfYoureUsingItYoureProbablyDoingSomethingWrong(
NbElts_t const flatIdx) const noexcept;
private:
/// @brief Getting the address of the very first data in memory (lexicographic
/// order), read only access to data
Loading