Skip to content

StarAlgebras bases #79

@blegat

Description

@blegat

We should have a feature that returns ConstraintBasis, GramBases and a structure that can be use to simplify examples/sos_problem.jl as well as SumOfSquares
Something like:

struct ConstraintBasis <: SA.ExplicitBasis
    invariant_vectors
    mstruct # gram_basis x gram_basis -> invariant_vector coefficients
end
struct GramBasis <: SA.ExplicitBasis
    U
    character_id
end

function mstructure(basis::ConstraintBasis, g1::GramBasis, g2::GramBasis)
    @assert g1 == g2
    return basis.mstruct[g1.character_id]
end

This will not assume that the gram basis is a subset of the constraint basis

Needs JuliaAlgebra/StarAlgebras.jl#55

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions