coeffsΒΆ

Coefficients and coefficient vectors.

Coefficients are scalar values that can be square roots of unity (implemented by Sign), fourth roots of unity (implemented by ComplexSign), or a built-in numeric type (e.g. int, float, or complex). Coefficients can also be symbolic expressions (of type Expr).

Coefficient vectors (Coeffs and subclasses) store contiguous collections of the coefficients in underlying Rust-bound data objects. They can either own the data they reference, or reference a slice of the data in another vector.

Classes

Coeffs([data, indexer])

A collection of coefficients.

Sign([source])

A real sign, i.e. a square root of unity (either +1 or -1).

SignCoeffs([data, indexer])

A collection of Sign.

ComplexSign([source])

A complex sign, i.e. a fourth root of unity (1, i, -1, or -i).

ComplexSignCoeffs([data, indexer])

A collection of ComplexSign.

SymbolicCoeffs([data, indexer])

A collection of Expr.

RealCoeffs([data, indexer])

A collection of float.

ComplexCoeffs([data, indexer])

A collection of complex.