Uses of Class
io.bhagat.math.Function
-
Packages that use Function Package Description io.bhagat.ai.supervised A package that holds AI algorithms that fall under supervised learningio.bhagat.math A package containing many of the necessary math tools for a neural networkio.bhagat.math.calculus A package for calculusio.bhagat.math.linearalgebra A package for storing linear algebraio.bhagat.math.statistics A package for storing statistics related mathio.bhagat.server A package for java servers to serve the contents of this libraryio.bhagat.util A package containing utility classes -
-
Uses of Function in io.bhagat.ai.supervised
Fields in io.bhagat.ai.supervised declared as Function Modifier and Type Field Description private Function<java.lang.Double,java.lang.Integer>Perceptron. activationFunctionThe activation function that is run on the output data to constrain the data to known limitsstatic Function<java.lang.Double,java.lang.Integer>Perceptron. defaultActivationFunctiondefault activation function to use if something is positive or negative to 1 or 0Methods in io.bhagat.ai.supervised that return Function Modifier and Type Method Description Function<java.lang.Double,java.lang.Integer>Perceptron. getActivationFunction()Methods in io.bhagat.ai.supervised with parameters of type Function Modifier and Type Method Description voidPerceptron. setActivationFunction(Function<java.lang.Double,java.lang.Integer> activationFunction)Constructors in io.bhagat.ai.supervised with parameters of type Function Constructor Description Perceptron(int n, double learningRate, double learningRateFactor, double biasLearningRateFactor, Function<java.lang.Double,java.lang.Integer> activationFunction)constructs the Perceptron with custom parameters -
Uses of Function in io.bhagat.math
Subclasses of Function in io.bhagat.math Modifier and Type Class Description classSerializableFunction<E,T>A wrapper class for Function that is Serializable -
Uses of Function in io.bhagat.math.calculus
Methods in io.bhagat.math.calculus that return Function Modifier and Type Method Description static Function<java.lang.Double,java.lang.Double>Calculus. derivative(Function<java.lang.Double,java.lang.Double> function)Takes the derivative of a function using a default dxstatic Function<java.lang.Double,java.lang.Double>Calculus. derivative(Function<java.lang.Double,java.lang.Double> function, double limitNumber)Takes the derivative of a double function using a non default dxstatic Function<java.lang.Float,java.lang.Float>Calculus. derivative(Function<java.lang.Float,java.lang.Float> function, float limitNumber)Takes the derivative of a float function using a non default dxstatic Function<java.lang.Double,java.lang.Double>Calculus. higherOrderDerivative(Function<java.lang.Double,java.lang.Double> function, int order)takes multiple derivatives on a double functionstatic Function<java.lang.Double[],java.lang.Double>Calculus. integral(Function<java.lang.Double,java.lang.Double> function)takes the integral on a functionstatic Function<java.lang.Double[],java.lang.Double>Calculus. integral(Function<java.lang.Double,java.lang.Double> function, int n)takes the integral on a functionstatic Function<Interval,java.lang.Double>Calculus. integralWithInterval(Function<java.lang.Double,java.lang.Double> function)takes the integral on a functionstatic Function<Interval,java.lang.Double>Calculus. integralWithInterval(Function<java.lang.Double,java.lang.Double> function, int n)takes the integral on a functionMethods in io.bhagat.math.calculus with parameters of type Function Modifier and Type Method Description static doubleCalculus. averageValue(Function<java.lang.Double,java.lang.Double> function, double lowerBound, double upperBound)finds the average value of a function in an interval using the mean value theorem for integralsstatic doubleCalculus. averageValue(Function<java.lang.Double,java.lang.Double> function, Interval interval)finds the average value of a function in an interval using the mean value theorem for integralsstatic Function<java.lang.Double,java.lang.Double>Calculus. derivative(Function<java.lang.Double,java.lang.Double> function)Takes the derivative of a function using a default dxstatic Function<java.lang.Double,java.lang.Double>Calculus. derivative(Function<java.lang.Double,java.lang.Double> function, double limitNumber)Takes the derivative of a double function using a non default dxstatic Function<java.lang.Float,java.lang.Float>Calculus. derivative(Function<java.lang.Float,java.lang.Float> function, float limitNumber)Takes the derivative of a float function using a non default dxstatic Function<java.lang.Double,java.lang.Double>Calculus. higherOrderDerivative(Function<java.lang.Double,java.lang.Double> function, int order)takes multiple derivatives on a double functionstatic Function<java.lang.Double[],java.lang.Double>Calculus. integral(Function<java.lang.Double,java.lang.Double> function)takes the integral on a functionstatic Function<java.lang.Double[],java.lang.Double>Calculus. integral(Function<java.lang.Double,java.lang.Double> function, int n)takes the integral on a functionstatic Function<Interval,java.lang.Double>Calculus. integralWithInterval(Function<java.lang.Double,java.lang.Double> function)takes the integral on a functionstatic Function<Interval,java.lang.Double>Calculus. integralWithInterval(Function<java.lang.Double,java.lang.Double> function, int n)takes the integral on a function -
Uses of Function in io.bhagat.math.linearalgebra
Methods in io.bhagat.math.linearalgebra with parameters of type Function Modifier and Type Method Description MatrixMatrix. map(Function<java.lang.Double,java.lang.Double> function)maps a function onto each element in the matrixVectorVector. map(Function<java.lang.Double,java.lang.Double> function)maps a function onto each element in the vectorMatrixMatrix. mapWithIndex(Function<Matrix.MatrixIndex,java.lang.Double> function)maps a function onto each element in the matrixVectorVector. mapWithIndex(Function<Vector.VectorIndex,java.lang.Double> function)maps a function onto each element in the vector -
Uses of Function in io.bhagat.math.statistics
Fields in io.bhagat.math.statistics declared as Function Modifier and Type Field Description private Function<java.lang.Double,java.lang.Double>NormalDistribution. distributionFunctionthe function for the normal distributionMethods in io.bhagat.math.statistics that return Function Modifier and Type Method Description Function<java.lang.Double,java.lang.Double>NormalDistribution. getDistribution()Methods in io.bhagat.math.statistics with parameters of type Function Modifier and Type Method Description QuantitativeDataListQuantitativeDataList. map(Function<java.lang.Double,java.lang.Double> function)maps a function onto each value in the list -
Uses of Function in io.bhagat.server
Fields in io.bhagat.server declared as Function Modifier and Type Field Description private Function<Client,java.lang.Object>Client. callbackprivate Function<Server.ConnectionIndex,java.lang.Object>Server. callbackMethods in io.bhagat.server that return Function Modifier and Type Method Description Function<Client,java.lang.Object>Client. getCallback()Function<Server.ConnectionIndex,java.lang.Object>Server. getCallback()Methods in io.bhagat.server with parameters of type Function Modifier and Type Method Description voidClient. setCallback(Function<Client,java.lang.Object> callback)voidServer. setCallback(Function<Server.ConnectionIndex,java.lang.Object> callback) -
Uses of Function in io.bhagat.util
Methods in io.bhagat.util with parameters of type Function Modifier and Type Method Description static <E> E[]ArrayUtil. map(E[] arr, Function<E,E> function)maps a function to each element in an arraystatic <E,T>
T[]ArrayUtil. map(E[] arr, Function<E,T> function, T[] writeTo)Maps an array of type E to an array of type T using a functionstatic longTimer. time(Function<java.lang.Void,java.lang.Void> function)times a function
-