Uses of Class
org.ddogleg.chainrule.CRArray
Packages that use CRArray
-
Uses of CRArray in org.ddogleg.chainrule
Methods in org.ddogleg.chainrule that return CRArrayModifier and TypeMethodDescriptionstatic CRArray<double[]> CRArray.arrayD(double... values) CRArray.copy()Creates a copy of the original array and this wrapper.static <T> CRArray<T> MathCRMatrix.createArray(int length) Allocates a new array with the specified lengthCRArray<double[]> MathCRMatrixD.createArray(int length) static <T> CRArray<T> Creates a random arrayCRArray<double[]> CRArray.reserve(int length) Ensure that the array has at least this many elements in itCRArray.setOffset(int offset) Assigns a new value to the offset and returns a reference to 'this' allowing operations to be chained.Methods in org.ddogleg.chainrule with parameters of type CRArrayModifier and TypeMethodDescriptionvoidJacobianSerialChain.backwardsF(int chainID, CRArray<T> input) Same asJacobianSerialChain.backwards(int), except that it runs a forward pass to get the inputs then runs the backwards pass to compute Jacobians.voidGradientNumerical_F64.differentiate(CRArray<double[]> dout, List<CRArray<double[]>> gradInput) voidPerforms numerical differentiation to compute the gradients of input and parameters.voidPerforms forward pass of the function.voidCalls the forward function and handles bookkeepingvoidPerforms the chain in the forward directly while saving all the intermediate inputs inJacobianSerialChain.savedInputsarrayvoidComputes the derivatives of all the inputs and parameters to this function .Provides an input for the specified chain.booleanChecks to see if the two arrays are equals to each other to within the specified tolerance and over the specified number of elementsdefault voidCROperatorForward.normalizeAfterStep(int which, CRArray<T> params) This function is called after an iteration and will normalize an input's values.voidRuns every block in the order worked out byJacobianChainGraph.GraphConstructor.fixate().voidSpecifies the value of an input's vector.voidFills all elements in the array with zerovoidMethod parameters in org.ddogleg.chainrule with type arguments of type CRArrayModifier and TypeMethodDescriptionvoidGradientNumerical_F64.differentiate(CRArray<double[]> dout, List<CRArray<double[]>> gradInput) voidPerforms numerical differentiation to compute the gradients of input and parameters.voidComputes the derivatives of all the inputs and parameters to this function .voidGradientNumerical_F64.setFunction(List<CRArray<double[]>> inputs, CROperatorForward<double[]> function) voidGradientNumerical.setFunction(List<CRArray<T>> inputs, CROperatorForward<T> function) Sets the function which will be differentiated and other parameters.voidJacobianNumerical_F64.setFunction(List<CRArray<double[]>> inputs, CROperatorForward<double[]> function) voidJacobianNumerical.setFunction(List<CRArray<T>> inputs, CROperatorForward<T> function) Specifies the function which will be differentiated. -
Uses of CRArray in org.ddogleg.chainrule.ops
Fields in org.ddogleg.chainrule.ops declared as CRArrayModifier and TypeFieldDescriptionprotected final CRArray<double[]>[]CROperatorBilinearND.knotsWhere each knot's polynomials live.Methods in org.ddogleg.chainrule.ops with parameters of type CRArrayModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid -
Uses of CRArray in org.ddogleg.chainrule.sym
Methods in org.ddogleg.chainrule.sym that return CRArrayModifier and TypeMethodDescriptionCRArray<double[]> Binds the terminal to a freshly allocated array of its declared size.CRArray<double[]> Binds the terminal to the caller's own storage.CRArray<double[]> The handle backing a terminal, creating it on first use.Methods in org.ddogleg.chainrule.sym with parameters of type CRArray