Method of CPNTensor.
Split a signed structure matrix into the True / False / Continuous components.
Source: src/tensor/@CPNTensor/CPNTensor.m
obj = obj.trueFalseStructure(M)trueFalseStructure decomposes a single signed structure
matrix M (rows = signals, columns = monomials) into the
tensor’s three structure components and stores them sparsely:
structureMatrixTrue
— the entries equal to
,
giving factor
;structureMatrixFalse — an all-zero logical matrix the
size of M;structureMatrixContinuous
— every remaining entry, giving factor
.Because the False component is left empty, this route never produces
complemented factors
;
entries other than
(including any
)
are kept as continuous weights. To supply a
structureMatrixFalse, set the components directly through
fromSparseComponents
or the six-argument constructor.
This method backs the two-argument constructor and fromRawMatrices.
It sets the structure components but does not itself refresh the rank;
the constructor and factories update R afterwards.
| Argument | Description |
|---|---|
obj |
CPNTensor to update. |
M |
Signed structure matrix, rows = signals, columns = monomials (numeric or logical). |
| Output | Description |
|---|---|
obj |
CPNTensor with structureMatrixTrue,
structureMatrixFalse and
structureMatrixContinuous set. |
CPNTensor · trueFalseParameter
· fromRawMatrices
· fromSparseComponents
MyToolbox Documentation | Generated automatically by CI/CD pipeline