75 lines
1.8 KiB
Java
75 lines
1.8 KiB
Java
package o;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class ktU {
|
|
public abstract void a(double d, double[] dArr);
|
|
|
|
public abstract void a(double d, float[] fArr);
|
|
|
|
public abstract void b(double d, double[] dArr);
|
|
|
|
public abstract double e(double d);
|
|
|
|
public abstract double[] e();
|
|
|
|
public static ktU b(int i, double[] dArr, double[][] dArr2) {
|
|
if (dArr.length == 1) {
|
|
i = 2;
|
|
}
|
|
if (i == 0) {
|
|
return new DBy(dArr, dArr2);
|
|
}
|
|
if (i == 2) {
|
|
return new IeS(dArr[0], dArr2[0]);
|
|
}
|
|
return new tUj(dArr, dArr2);
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class IeS extends ktU {
|
|
private double b;
|
|
private double[] c;
|
|
|
|
IeS(double d, double[] dArr) {
|
|
this.b = d;
|
|
this.c = dArr;
|
|
}
|
|
|
|
@Override // o.ktU
|
|
public final void a(double d, double[] dArr) {
|
|
double[] dArr2 = this.c;
|
|
System.arraycopy(dArr2, 0, dArr, 0, dArr2.length);
|
|
}
|
|
|
|
@Override // o.ktU
|
|
public final void a(double d, float[] fArr) {
|
|
int i = 0;
|
|
while (true) {
|
|
double[] dArr = this.c;
|
|
if (i >= dArr.length) {
|
|
return;
|
|
}
|
|
fArr[i] = (float) dArr[i];
|
|
i++;
|
|
}
|
|
}
|
|
|
|
@Override // o.ktU
|
|
public final double e(double d) {
|
|
return this.c[0];
|
|
}
|
|
|
|
@Override // o.ktU
|
|
public final void b(double d, double[] dArr) {
|
|
for (int i = 0; i < this.c.length; i++) {
|
|
dArr[i] = 0.0d;
|
|
}
|
|
}
|
|
|
|
@Override // o.ktU
|
|
public final double[] e() {
|
|
return new double[]{this.b};
|
|
}
|
|
}
|
|
}
|