package x0;

/* JADX INFO: loaded from: classes.dex */
public abstract class g extends m {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    c[] f6793c;

    public g(int i2, String str, double d2) {
        super(str);
        n(i2, d2);
    }

    public void i() {
        j(0);
    }

    public void j(int i2) {
        this.f6793c[i2].h();
    }

    public double k(int i2) {
        return this.f6793c[i2].n();
    }

    public double[] l() {
        return this.f6793c[0].o();
    }

    public double[] m(int i2) {
        return this.f6793c[i2].o();
    }

    protected void n(int i2, double d2) {
        this.f6793c = new c[i2];
        for (int i3 = 0; i3 < i2; i3++) {
            this.f6793c[i3] = new c(this, d2);
        }
    }

    public void o(double d2) {
        p(0, d2);
    }

    protected void p(int i2, double d2) {
        this.f6793c[i2].q(d2);
    }
}
