Method of CPNTensor.
Convert a CPNTensor into an
equivalent TTTensor.
Currently relevant only for monomial bases.
Source: src/tensor/@CPNTensor/CPN2TT.m
ttObj = obj.CPN2TT(cp, mtiBase)The function performs an exact conversion from the explicit Canonical Polyadic (CP) representation to the Tensor Train (TT) representation without altering the represented multilinear model.
The Tensor Train cores are constructed directly from the CPN structure and parameter matrices, avoiding intermediate tensor reconstruction or approximation.
This utility is primarily intended for converting existing CP-based MTI models into the Tensor Train representation while preserving their exact mathematical formulation.
| Argument | Description |
|---|---|
obj |
CPNTensor
object. |
cp |
CPNTensor. |
mtiBase |
optional, default 0 (monomial). The conversion is defined for the monomial base only, passing 1 raises an error. |
| Output | Description |
|---|---|
ttObj |
Equivalent TTTensor object. |
MyToolbox Documentation | Generated automatically by CI/CD pipeline