Class VectorValuedFunction

java.lang.Object
org.bzdev.math.VectorValuedFunctionVA
org.bzdev.math.VectorValuedFunction
All Implemented Interfaces:
RealValuedDomainOps, VADomainOps
Direct Known Subclasses:
BSplineArray, NurbsArray

public abstract class VectorValuedFunction extends VectorValuedFunctionVA implements RealValuedDomainOps
Base class for vector-valued functions with one argument. The vectors have real components, as does the argument, all of which are a double-precision number (type "double").

Subclasses must implement the following method:

If the default behavior (throwing an UnsupportedOperationException) is not appropriate, subclasses should implement one or more of the following methods:

  • Field Summary

    Fields inherited from class org.bzdev.math.VectorValuedFunctionVA

    dim
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    final double[]
    derivAt(double u)
    Evaluate the function's first derivative.
    void
    derivAt(double[] array, int offset, double u)
    Evaluate the function's first derivative, storing the results.
    final void
    derivAt(int i, double[] array, int offset, double... args)
    Evaluate the first partial derivative, storing the results ∂f / ∂xi for a function f(x0,x1, ...).
    boolean
    Determine if the domain maximum is in the domain.
    boolean
    domainMaxClosed(int argIndex)
    Determine if the domain maximum for the ith argument, when the arguments are in the domain of the function, is in the function's domain.
    boolean
    Determine if the domain minimum is in the domain.
    final boolean
    domainMinClosed(int argIndex)
    Determine if the domain minimum for the ith argument, when the arguments are in the domain of the function, is in the function's domain.
    double
    Get the maximum value in the domain of the function.
    final double
    getDomainMax(int argIndex)
    Get the least upper bound of the ith argument when the arguments are in the domain of the function.
    double
    Get the minimum value in the domain of the function.
    final double
    getDomainMin(int argIndex)
    Get the greatest lower bound of the ith argument when the arguments are in the domain of the function implementing this interface.
    boolean
    isInDomain(double x)
    Determine if an argument is within the domain of a function.
    boolean
    isInDomain(double... args)
    Determine if a sequence of arguments represents arguments that are in the domain of the function implementing this interface.
    final double[]
    secondDerivAt(double u)
    Evaluate the function's second derivative.
    void
    secondDerivAt(double[] array, int offset, double u)
    Evaluate the function's second derivative, storing the results.
    final void
    secondDerivAt(int i, int j, double[] array, int offset, double... args)
    Evaluate the second partial derivative ∂2f / ∂x1∂x1 for a function f(x1x2), storing the results in an array.
    final double[]
    valueAt(double u)
    Call the function.
    abstract void
    valueAt(double[] array, int offset, double u)
    Call the function, storing the value in an array.
    final void
    valueAt(double[] array, int offset, double... args)
    Call the function, storing the results in an array.

    Methods inherited from class org.bzdev.math.VectorValuedFunctionVA

    derivAt, getDimension, maxArgLength, minArgLength, secondDerivAt, valueAt

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait