Skip to content

Generation of multivariate polynomial basis with given degree #162

@JinraeKim

Description

@JinraeKim

Notes

  • The original post can be found here.

Questions

  • I would like to make a multivariate polynomial with given degree.
    For example, the bivariate polynomial basis of a vector x = [x1, y2] with degree of 2 would be
    [1, x1, x1^2, x2, x2^2, x1*x2].

It seems that there are some nice packages for handling multivariate polynomials such as MultivariatePolynomials.jl but I don’t know how to create a polynomial basis functions easily.

Is there any method for this? Or, an example code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions