Home Search Forums Register Forum Rules Man Pages FAQ Members Search Today's Posts Mark Forums Read

# RedHat 9 (Linux i386) - man page for pdl::polynomial (redhat section 3)

Linux & Unix Commands - Search Man Pages
 Man Page or Keyword Search: man All Sections 1 - General Commands 1m - System Admin 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface N - New Commands Select Man Page Set:       Linux 2.6 RedHat 9 (Linux i386) Debian 7.7 SuSE 11.3 CentOS 7.0 SunOS 5.10 OpenSolaris 2009.06 BSD 2.11 FreeBSD 11.0 NetBSD 6.1.5 OSX 10.6.2 OpenDarwin 7.2.1 ULTRIX 4.2 PHP 5.6 Minix 2.0 Plan 9 Unix Version 7 OSF1 5.1 (alpha) POSIX 1003.1 X11R7.4 XFree86 4.7.0 all unix.com man page sets apropos Keyword Search (sections above)

 ```Polynomial(3) User Contributed Perl Documentation Polynomial(3) NAME PDL::Fit::Polynomial - routines for fitting with polynomials DESCRIPTION This module contains routines for doing simple polynomial fits to data SYNOPSIS \$yfit = fitpoly1d \$data; FUNCTIONS fitpoly1d Fit 1D polynomials to data using min chi^2 (least squares) Usage: (\$yfit, [\$coeffs]) = fitpoly1d [\$xdata], \$data, \$order, [Options...] Signature: (x(n); y(n); [o]yfit(n); [o]coeffs(order)) Uses a standard matrix inversion method to do a least squares/min chi^2 polynomial fit to data. Order=2 is a linear fit (two parameters). Returns the fitted data and optionally the coefficients. One can thread over extra dimensions to do multiple fits (except the order can not be threaded over - i.e. it must be one fixed scalar number like "4"). The data is normalised internally to avoid overflows (using the mean of the abs value) which are common in large polynomial series but the returned fit, coeffs are in unnor- malised units. \$yfit = fitpoly1d \$data,2; # Least-squares line fit (\$yfit, \$coeffs) = fitpoly1d \$x, \$y, 4; # Fit a cubic \$fitimage = fitpoly1d \$image,2 # Fit a quadratic to each row of an image \$myfit = fitpoly1d \$line, 2, {Weights => \$w}; # Weighted fit Options: Weights Weights to use in fit, e.g. 1/\$sigma**2 (default=1) BUGS May not work too well for data with large dynamic range. SEE ALSO "polyfit" in PDL::Slatec AUTHOR This file copyright (C) 1999, Karl Glazebrook (kgb@aaoepp.aao.gov.au). All rights reserved. There is no warranty. You are allowed to redistribute this software documenta- tion under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file. perl v5.8.0 2001-07-13 Polynomial(3)```
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:31 PM.