Skip to main content Module monomials Copy item path Source use crate::prime ; ๐ use crate::utils::compute_indices_nested_loop ; ๐ use crate::utils::naive_prime_factors ; ๐ use crate::MVPoly ; ๐ use ark_ff::One ; ๐ use ark_ff::PrimeField; ๐ use ark_ff::Zero ; ๐ use kimchi::circuits::expr::Variable ; ๐ use kimchi::circuits::gate::CurrOrNext ; ๐ use num_integer::binomial ; ๐ use rand::Rng ; ๐ use rand::RngCore ; ๐ use std::collections::HashMap ; ๐ use std::fmt::Debug ; ๐ use std::fmt::Debug ; ๐ use std::ops::Add ; ๐ use std::ops::Mul ; ๐ use std::ops::Neg ; ๐ use std::ops::Sub ; ๐ Sparse Represents a multivariate polynomial in N variables with coefficients in
F. The polynomial is represented as a sparse polynomial, where each
monomial is represented by a vector of N exponents.