All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.accelad.math.nilgiri.autodiff.AbstractUnaryFunction Maven / Gradle / Ivy

There is a newer version: 1.16
Show newest version
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