Package gov.nih.mipav.model.algorithms
Class curfit
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.curfit
-
public class curfit extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
c
private double[]
fp
private int[]
ier
private int
iopt
Copyright (c) 2001-2002 Enthought, Inc. 2003-2022, SciPy Developers.private int[]
iwrk
private int
k
private int
lwrk
private int
m
private int[]
n
private int
nest
private double
s
private double[]
t
private double[]
w
private double[][][]
wrk
private double[]
x
private double
xb
private double
xe
private double[]
y
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check_1()
private double
err_est(int k, int d, int N, double s)
private double[]
f1(double[] x, int d)
void
fpback(double[][] a, double[] z, int n, int k, double[] c, int nest)
void
fpbspl(double[] t, int n, int k, double x, int l, double[] h)
void
fpchec(double[] x, int m, double[] t, int n, int k, int[] ier)
void
fpcurf(int iopt, double[] x, double[] y, double[] w, int m, double xb, double xe, int k, double s, int nest, double tol, int maxit, int k1, int k2, int[] n, double[] t, double[] c, double[] fp, double[] fpint, double[] z, double[][] a, double[][] b, double[][] g, double[][] q, int[] nrdata, int[] ier)
void
fpdisc(double[] t, int n, int k2, double[][] b, int nest)
void
fpgivs(double piv, double[] ww, double[] cos, double[] sin)
void
fpknot(double[] x, int m, double[] t, int[] n, double[] fpint, int[] nrdata, int[] nrint, int nest, int istart)
double
fprati(double[] p1, double[] f1, double p2, double f2, double[] p3, double[] f3)
void
fprota(double cos, double sin, double[] a, double[] b)
private double
norm2(double[] x)
void
run()
-
-
-
Field Detail
-
iopt
private int iopt
Copyright (c) 2001-2002 Enthought, Inc. 2003-2022, SciPy Developers. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
m
private int m
-
x
private double[] x
-
y
private double[] y
-
w
private double[] w
-
xb
private double xb
-
xe
private double xe
-
k
private int k
-
s
private double s
-
nest
private int nest
-
n
private int[] n
-
t
private double[] t
-
c
private double[] c
-
fp
private double[] fp
-
lwrk
private int lwrk
-
iwrk
private int[] iwrk
-
ier
private int[] ier
-
wrk
private double[][][] wrk
-
-
Method Detail
-
run
public void run()
-
fpchec
public void fpchec(double[] x, int m, double[] t, int n, int k, int[] ier)
-
fpcurf
public void fpcurf(int iopt, double[] x, double[] y, double[] w, int m, double xb, double xe, int k, double s, int nest, double tol, int maxit, int k1, int k2, int[] n, double[] t, double[] c, double[] fp, double[] fpint, double[] z, double[][] a, double[][] b, double[][] g, double[][] q, int[] nrdata, int[] ier)
-
fpbspl
public void fpbspl(double[] t, int n, int k, double x, int l, double[] h)
-
fpgivs
public void fpgivs(double piv, double[] ww, double[] cos, double[] sin)
-
fprota
public void fprota(double cos, double sin, double[] a, double[] b)
-
fpback
public void fpback(double[][] a, double[] z, int n, int k, double[] c, int nest)
-
fpknot
public void fpknot(double[] x, int m, double[] t, int[] n, double[] fpint, int[] nrdata, int[] nrint, int nest, int istart)
-
fpdisc
public void fpdisc(double[] t, int n, int k2, double[][] b, int nest)
-
fprati
public double fprati(double[] p1, double[] f1, double p2, double f2, double[] p3, double[] f3)
-
check_1
public void check_1()
-
f1
private double[] f1(double[] x, int d)
-
err_est
private double err_est(int k, int d, int N, double s)
-
norm2
private double norm2(double[] x)
-
-