commons-math3-3.6.1-org.apache.commons.math3.analysis.differentiation-包下的接口-中英对照文档及源码赏析

commons-math3-3.6.1-org.apache.commons.math3.analysis.differentiation-包下的接口-中英对照文档及源码赏析

摘要:中英对照文档、源码赏析、org.apache.commons.math3.analysis.differentiation、MultivariateDifferentiableFunction、MultivariateDifferentiableVectorFunction、UnivariateDifferentiableFunction、UnivariateDifferentiableMatrixFunction、UnivariateDifferentiableVectorFunction、UnivariateFunctionDifferentiator、UnivariateMatrixFunctionDifferentiator、UnivariateVectorFunctionDifferentiator

完整中文文档、中英对照文档下载请移步:commons-math3-中文文档、中英对照文档-CSDN下载

1. 开源组件说明

commonsmath.gif

commonslogo.png

jar包名称:commons-math3-3.6.1.jar

Maven 依赖:

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-math3</artifactId>
    <version>3.6.1</version>
</dependency>

完整中文文档、中英对照文档下载请移步:commons-math3-中文文档、中英对照文档-CSDN下载

本文介绍的接口:

MultivariateDifferentiableFunction

MultivariateDifferentiableVectorFunction

UnivariateDifferentiableFunction

UnivariateDifferentiableMatrixFunction

UnivariateDifferentiableVectorFunction

UnivariateFunctionDifferentiator

UnivariateMatrixFunctionDifferentiator

UnivariateVectorFunctionDifferentiator

接口概要  
接口说明
MultivariateDifferentiableFunction
Extension of MultivariateFunction representing a multivariate differentiable real function.

扩展多变量功能,代表多变量可分子实际功能。

MultivariateDifferentiableVectorFunction
Extension of MultivariateVectorFunction representing a multivariate differentiable vectorial function.

多元化函数的扩展代表多变量可分化界面函数。

UnivariateDifferentiableFunction
Interface for univariate functions derivatives.

单变量函数衍生物的界面。

UnivariateDifferentiableMatrixFunction
Extension of UnivariateMatrixFunction representing a univariate differentiable matrix function.

延伸UnivariateMatrixFunction代表单变量可分辨率矩阵函数。

UnivariateDifferentiableVectorFunction
Extension of UnivariateVectorFunction representing a univariate differentiable vectorial function.

延伸非凡驾驶员函数代表单变量可分化的矢量函数。

UnivariateFunctionDifferentiator
Interface defining the function differentiation operation.

接口定义功能差异化操作。

UnivariateMatrixFunctionDifferentiator
Interface defining the function differentiation operation.

接口定义功能差异化操作。

UnivariateVectorFunctionDifferentiator
Interface defining the function differentiation operation.

接口定义功能差异化操作。

2. org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableFunction

2.1. MultivariateDifferentiableFunction 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 MultivariateDifferentiableFunction
  • All Superinterfaces:
    MultivariateFunction

    多变量功能



    public interface MultivariateDifferentiableFunction
    extends MultivariateFunction
    Extension of MultivariateFunction representing a multivariate differentiable real function.

    扩展多变量功能,代表多变量可分子实际功能。

    从以下版本开始:
    3.1

    3.1

    • 方法概要
      Methods  
      限定符和类型方法和说明
      DerivativeStructure value(DerivativeStructure[] point)
      Compute the value for the function at the given point.

      计算给定点的函数的值。

    • 方法详细说明
      • value
        DerivativeStructure value(DerivativeStructure[] point)
                                  throws MathIllegalArgumentException
        Compute the value for the function at the given point.

        计算给定点的函数的值。

        参数:
        point - Point at which the function must be evaluated.

        点 - 必须评估功能的点。

        返回:
        the function value for the given point.

        给定点的函数值。

        抛出:
        MathIllegalArgumentException - if point does not satisfy the function's constraints (wrong dimension, argument out of bound, or unsupported derivative order for example)

        MathilleGalargumentException - 如果点不满足函数的约束(错误的维度,参数超出界限或不受支持的衍生顺序)

2.2. MultivariateDifferentiableFunction 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.MultivariateFunction;
import org.apache.commons.math3.exception.MathIllegalArgumentException;

/**
 * Extension of {@link MultivariateFunction} representing a
 * multivariate differentiable real function.
 * @since 3.1
 */
public interface MultivariateDifferentiableFunction extends MultivariateFunction {

    /**
     * Compute the value for the function at the given point.
     *
     * @param point Point at which the function must be evaluated.
     * @return the function value for the given point.
     * @exception MathIllegalArgumentException if {@code point} does not
     * satisfy the function's constraints (wrong dimension, argument out of bound,
     * or unsupported derivative order for example)
     */
    DerivativeStructure value(DerivativeStructure[] point)
        throws MathIllegalArgumentException;

}

3. org.apache.commons.math3.analysis.differentiation.MultivariateDifferentiableVectorFunction

3.1. MultivariateDifferentiableVectorFunction 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 MultivariateDifferentiableVectorFunction
    • 方法详细说明
      • value
        DerivativeStructure[] value(DerivativeStructure[] point)
                                    throws MathIllegalArgumentException
        Compute the value for the function at the given point.

        计算给定点的函数的值。

        参数:
        point - point at which the function must be evaluated

        点 - 必须评估功能的点

        返回:
        function value for the given point

        给定点的函数值

        抛出:
        MathIllegalArgumentException - if point does not satisfy the function's constraints (wrong dimension, argument out of bound, or unsupported derivative order for example)

        MathilleGalargumentException - 如果点不满足函数的约束(错误的维度,参数超出界限或不受支持的衍生顺序)

3.2. MultivariateDifferentiableVectorFunction 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.MultivariateVectorFunction;
import org.apache.commons.math3.exception.MathIllegalArgumentException;


/**
 * Extension of {@link MultivariateVectorFunction} representing a
 * multivariate differentiable vectorial function.
 * @since 3.1
 */
public interface MultivariateDifferentiableVectorFunction
    extends MultivariateVectorFunction {

    /**
     * Compute the value for the function at the given point.
     * @param point point at which the function must be evaluated
     * @return function value for the given point
     * @exception MathIllegalArgumentException if {@code point} does not
     * satisfy the function's constraints (wrong dimension, argument out of bound,
     * or unsupported derivative order for example)
     */
    DerivativeStructure[] value(DerivativeStructure[] point)
        throws MathIllegalArgumentException;

}

4. org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction

4.1. UnivariateDifferentiableFunction 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 UnivariateDifferentiableFunction

4.2. UnivariateDifferentiableFunction 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.UnivariateFunction;
import org.apache.commons.math3.exception.DimensionMismatchException;

/** Interface for univariate functions derivatives.
 * <p>This interface represents a simple function which computes
 * both the value and the first derivative of a mathematical function.
 * The derivative is computed with respect to the input variable.</p>
 * @see UnivariateDifferentiableFunction
 * @see UnivariateFunctionDifferentiator
 * @since 3.1
 */
public interface UnivariateDifferentiableFunction extends UnivariateFunction {

    /** Simple mathematical function.
     * <p>{@link UnivariateDifferentiableFunction} classes compute both the
     * value and the first derivative of the function.</p>
     * @param t function input value
     * @return function result
     * @exception DimensionMismatchException if t is inconsistent with the
     * function's free parameters or order
     */
    DerivativeStructure value(DerivativeStructure t)
        throws DimensionMismatchException;

}

5. org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableMatrixFunction

5.1. UnivariateDifferentiableMatrixFunction 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 UnivariateDifferentiableMatrixFunction
  • All Superinterfaces:
    UnivariateMatrixFunction

    UnivariateMatrixFunction.



    public interface UnivariateDifferentiableMatrixFunction
    extends UnivariateMatrixFunction
    Extension of UnivariateMatrixFunction representing a univariate differentiable matrix function.

    延伸UnivariateMatrixFunction代表单变量可分辨率矩阵函数。

    从以下版本开始:
    3.1

    3.1

    • 方法详细说明
      • value
        DerivativeStructure[][] value(DerivativeStructure x)
                                      throws MathIllegalArgumentException
        Compute the value for the function.

        计算函数的值。

        参数:
        x - the point for which the function value should be computed

        X - 应计算函数值的点

        返回:
        the value

        价值

        抛出:
        MathIllegalArgumentException - if x does not satisfy the function's constraints (argument out of bound, or unsupported derivative order for example)

        mathillegalargumentException - 如果x不满足函数的约束(例如绑定或不支持的衍生顺序的参数)

5.2. UnivariateDifferentiableMatrixFunction 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.UnivariateMatrixFunction;
import org.apache.commons.math3.exception.MathIllegalArgumentException;

/**
 * Extension of {@link UnivariateMatrixFunction} representing a univariate differentiable matrix function.
 *
 * @since 3.1
 */
public interface UnivariateDifferentiableMatrixFunction
    extends UnivariateMatrixFunction {

    /**
     * Compute the value for the function.
     * @param x the point for which the function value should be computed
     * @return the value
     * @exception MathIllegalArgumentException if {@code x} does not
     * satisfy the function's constraints (argument out of bound, or unsupported
     * derivative order for example)
     */
    DerivativeStructure[][] value(DerivativeStructure x) throws MathIllegalArgumentException;

}

6. org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableVectorFunction

6.1. UnivariateDifferentiableVectorFunction 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 UnivariateDifferentiableVectorFunction
    • 方法详细说明
      • value
        DerivativeStructure[] value(DerivativeStructure x)
                                    throws MathIllegalArgumentException
        Compute the value for the function.

        计算函数的值。

        参数:
        x - the point for which the function value should be computed

        X - 应计算函数值的点

        返回:
        the value

        价值

        抛出:
        MathIllegalArgumentException - if x does not satisfy the function's constraints (argument out of bound, or unsupported derivative order for example)

        mathillegalargumentException - 如果x不满足函数的约束(例如绑定或不支持的衍生顺序的参数)

6.2. UnivariateDifferentiableVectorFunction 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.UnivariateVectorFunction;
import org.apache.commons.math3.exception.MathIllegalArgumentException;

/**
 * Extension of {@link UnivariateVectorFunction} representing a univariate differentiable vectorial function.
 *
 * @since 3.1
 */
public interface UnivariateDifferentiableVectorFunction
    extends UnivariateVectorFunction {

    /**
     * Compute the value for the function.
     * @param x the point for which the function value should be computed
     * @return the value
     * @exception MathIllegalArgumentException if {@code x} does not
     * satisfy the function's constraints (argument out of bound, or unsupported
     * derivative order for example)
     */
    DerivativeStructure[] value(DerivativeStructure x) throws MathIllegalArgumentException;

}

7. org.apache.commons.math3.analysis.differentiation.UnivariateFunctionDifferentiator

7.1. UnivariateFunctionDifferentiator 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 UnivariateFunctionDifferentiator
  • All Known Implementing Classes:
    FiniteDifferencesDifferentiator

    finitedifferencesdifferentiator.



    public interface UnivariateFunctionDifferentiator
    Interface defining the function differentiation operation.

    接口定义功能差异化操作。

    从以下版本开始:
    3.1

    3.1

7.2. UnivariateFunctionDifferentiator 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.UnivariateFunction;

/** Interface defining the function differentiation operation.
 * @since 3.1
 */
public interface UnivariateFunctionDifferentiator {

    /** Create an implementation of a {@link UnivariateDifferentiableFunction
     * differential} from a regular {@link UnivariateFunction function}.
     * @param function function to differentiate
     * @return differential function
     */
    UnivariateDifferentiableFunction differentiate(UnivariateFunction function);

}

8. org.apache.commons.math3.analysis.differentiation.UnivariateMatrixFunctionDifferentiator

8.1. UnivariateMatrixFunctionDifferentiator 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 UnivariateMatrixFunctionDifferentiator
  • All Known Implementing Classes:
    FiniteDifferencesDifferentiator

    finitedifferencesdifferentiator.



    public interface UnivariateMatrixFunctionDifferentiator
    Interface defining the function differentiation operation.

    接口定义功能差异化操作。

    从以下版本开始:
    3.1

    3.1

8.2. UnivariateMatrixFunctionDifferentiator 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.UnivariateMatrixFunction;

/** Interface defining the function differentiation operation.
 * @since 3.1
 */
public interface UnivariateMatrixFunctionDifferentiator {

    /** Create an implementation of a {@link UnivariateDifferentiableMatrixFunction
     * differential} from a regular {@link UnivariateMatrixFunction matrix function}.
     * @param function function to differentiate
     * @return differential function
     */
    UnivariateDifferentiableMatrixFunction differentiate(UnivariateMatrixFunction function);

}

9. org.apache.commons.math3.analysis.differentiation.UnivariateVectorFunctionDifferentiator

9.1. UnivariateVectorFunctionDifferentiator 中英对照文档

org.apache.commons.math3.analysis.differentiation
接口 UnivariateVectorFunctionDifferentiator
  • All Known Implementing Classes:
    FiniteDifferencesDifferentiator

    finitedifferencesdifferentiator.



    public interface UnivariateVectorFunctionDifferentiator
    Interface defining the function differentiation operation.

    接口定义功能差异化操作。

    从以下版本开始:
    3.1

    3.1

9.2. UnivariateVectorFunctionDifferentiator 源码赏析

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.math3.analysis.differentiation;

import org.apache.commons.math3.analysis.UnivariateVectorFunction;

/** Interface defining the function differentiation operation.
 * @since 3.1
 */
public interface UnivariateVectorFunctionDifferentiator {

    /** Create an implementation of a {@link UnivariateDifferentiableVectorFunction
     * differential} from a regular {@link UnivariateVectorFunction vector function}.
     * @param function function to differentiate
     * @return differential function
     */
    UnivariateDifferentiableVectorFunction differentiate(UnivariateVectorFunction function);

}
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

寒水馨

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值