当前位置: 首页>>代码示例>>Java>>正文


Java ExpandableStatefulODE类代码示例

本文整理汇总了Java中org.apache.commons.math3.ode.ExpandableStatefulODE的典型用法代码示例。如果您正苦于以下问题:Java ExpandableStatefulODE类的具体用法?Java ExpandableStatefulODE怎么用?Java ExpandableStatefulODE使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ExpandableStatefulODE类属于org.apache.commons.math3.ode包,在下文中一共展示了ExpandableStatefulODE类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: sanityChecks

import org.apache.commons.math3.ode.ExpandableStatefulODE; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
protected void sanityChecks(final ExpandableStatefulODE equations, final double t)
    throws DimensionMismatchException, NumberIsTooSmallException {

    super.sanityChecks(equations, t);

    mainSetDimension = equations.getPrimaryMapper().getDimension();

    if ((vecAbsoluteTolerance != null) && (vecAbsoluteTolerance.length != mainSetDimension)) {
        throw new DimensionMismatchException(mainSetDimension, vecAbsoluteTolerance.length);
    }

    if ((vecRelativeTolerance != null) && (vecRelativeTolerance.length != mainSetDimension)) {
        throw new DimensionMismatchException(mainSetDimension, vecRelativeTolerance.length);
    }

}
 
开发者ID:biocompibens,项目名称:SME,代码行数:19,代码来源:AdaptiveStepsizeIntegrator.java

示例2: integrate

import org.apache.commons.math3.ode.ExpandableStatefulODE; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public abstract void integrate (ExpandableStatefulODE equations, double t)
    throws NumberIsTooSmallException, DimensionMismatchException,
           MaxCountExceededException, NoBracketingException;
 
开发者ID:biocompibens,项目名称:SME,代码行数:6,代码来源:AdaptiveStepsizeIntegrator.java

示例3: integrate

import org.apache.commons.math3.ode.ExpandableStatefulODE; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public abstract void integrate(final ExpandableStatefulODE equations, final double t)
    throws NumberIsTooSmallException, DimensionMismatchException,
           MaxCountExceededException, NoBracketingException;
 
开发者ID:biocompibens,项目名称:SME,代码行数:6,代码来源:AdamsIntegrator.java

示例4: setExpandable

import org.apache.commons.math3.ode.ExpandableStatefulODE; //导入依赖的package包/类
/** Set the equation.
 * @param expandable equation being integrated
 */
public void setExpandable(final ExpandableStatefulODE expandable) {
    this.expandable = expandable;
}
 
开发者ID:biocompibens,项目名称:SME,代码行数:7,代码来源:EventState.java


注:本文中的org.apache.commons.math3.ode.ExpandableStatefulODE类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。