class Polynomial implements IReadDataBlock {

    public Polynomial mirror() {
        if (degree == 0) {
            return this;
        }
        double[] result = Doubles.fromDegree(degree);
        for (int i = 0; i <= degree; ++i) {
            result[i] = get(degree - i);
        }
        return new Polynomial(result, Doubles.getUsedDegree(result));
    }

    private  Polynomial(final double[] coefficients, final int degree);

}