Constraints
GCPDecompositions.GCPConstraints
— ModuleConstraints for Generalized CP Decomposition.
GCPDecompositions.GCPConstraints.AbstractConstraint
— TypeAbstractConstraint
Abstract type for GCP constraints on the factor matrices U = (U[1],...,U[N])
.
Concrete types ConcreteConstraint <: AbstractConstraint
should implement:
satisfies(M::CPD, constraint::ConcreteConstraint)
that checks ifM
satisfies the constraintproject!(M::CPD, constraint::ConcreteConstraint)
that projectsM
onto the constraint set
GCPDecompositions.GCPConstraints.satisfies
— Functionsatisfies(M::CPD, constraint::ConcreteConstraint)
Return whether M
satisfies the constraint defined by constraint
.
GCPDecompositions.GCPConstraints.project!
— Functionproject!(M::CPD, constraint::ConcreteConstraint)
Project M
in-place onto the constraint set defined by constraint
.
GCPDecompositions.GCPConstraints.LowerBound
— TypeLowerBound(value::Real)
Lower-bound constraint on the entries of the factor matrices U = (U[1],...,U[N])
, i.e., U[i][j,k] >= value
.