Tensor[] toAddFactors = Permutations.permute(toAdd.factors, match); Mapping mapping = IndexMappings.createBijectiveProductPort(toAddFactors, base.factors).take();
mapping = createBijectiveProductPort(fromIndexless, extract(content.indexless, indexlessBijection)).take(); if (mapping != null) break; ProductsBijectionsPort dataPort = new ProductsBijectionsPort(fromContent, currentContent); while ((dataBijection = dataPort.take()) != null) { mapping = createBijectiveProductPort(fromData, extract(currentData, dataBijection)).take(); if (mapping != null) break;