trueFalseStructure

Method of CPNTensor.

Split a signed structure matrix into the True / False / Continuous components.

Source: src/tensor/@CPNTensor/CPNTensor.m

Syntax

obj = obj.trueFalseStructure(M)

Description

trueFalseStructure decomposes a single signed structure matrix M (rows = signals, columns = monomials) into the tensor’s three structure components and stores them sparsely:

Because the False component is left empty, this route never produces complemented factors 1vl1-v_l; entries other than 11 (including any 1-1) 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.

Input arguments

Argument Description
obj CPNTensor to update.
M Signed structure matrix, rows = signals, columns = monomials (numeric or logical).

Output arguments

Output Description
obj CPNTensor with structureMatrixTrue, structureMatrixFalse and structureMatrixContinuous set.

See also

CPNTensor · trueFalseParameter · fromRawMatrices · fromSparseComponents


MyToolbox Documentation | Generated automatically by CI/CD pipeline