Right now the randomized methods index the random sample by the column position of the matricized tensor using Int64. When a tensor has a very large column space, greater than 10^20, the number of columns overflows Int64 and returns negative values. The system needs to be modified to index by the position in each mode of the tensor. This would then only overflow when the dimension of a single mode is greater than 10^20.
The solution is that all the pivot structures need to be modified to hold onto matrices of positions instead of vectors. Multi-index positions can easily be converted into other values.
Right now the randomized methods index the random sample by the column position of the matricized tensor using Int64. When a tensor has a very large column space, greater than 10^20, the number of columns overflows Int64 and returns negative values. The system needs to be modified to index by the position in each mode of the tensor. This would then only overflow when the dimension of a single mode is greater than 10^20.
The solution is that all the pivot structures need to be modified to hold onto matrices of positions instead of vectors. Multi-index positions can easily be converted into other values.