com.accelad.math.nilgiri.autodiff.AbstractUnaryFunction Maven / Gradle / Ivy
package com.accelad.math.nilgiri.autodiff;
import com.accelad.math.nilgiri.Field;
public abstract class AbstractUnaryFunction> extends DifferentialFunction {
private DifferentialFunction m_x;
public AbstractUnaryFunction(DifferentialFunction i_v) {
if (i_v != null) {
m_x = i_v;
} else {
throw new IllegalArgumentException("Input not null variable.");
}
}
public DifferentialFunction arg() {
return m_x;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy