changeset 2580:211c0aebba29 octave-forge

Start fixing the main INDEX file and making a clearer split with the octave core functions
author adb014
date Wed, 04 Oct 2006 20:51:44 +0000
parents d5e4041e6a75
children 4f687ef2db5f
files admin/make_index main/INDEX main/statistics/INDEX main/strings/INDEX main/symbolic/DESCRIPTION main/symbolic/src/symbols.cc nonfree/gpc/INDEX www/Makefile
diffstat 8 files changed, 371 insertions(+), 205 deletions(-) [+]
line wrap: on
line diff
--- a/admin/make_index	Wed Oct 04 17:55:02 2006 +0000
+++ b/admin/make_index	Wed Oct 04 20:51:44 2006 +0000
@@ -513,7 +513,8 @@
 	my $entry = $file;
 	$entry = "$file: $function" if $file !~ /[.]m$/;
 	if ($function =~ /__/ || $file =~ /test/ 
-	    || $function =~ /^[Cc]ontents?$/) {
+	    || $function =~ /^[Cc]ontents?$/
+	    || $function =~ /pre_install/ || $function =~ /post_install/) {
 	    push @skipped, $entry;
 	} else {
 	    push @uncategorized, $entry;
--- a/main/INDEX	Wed Oct 04 17:55:02 2006 +0000
+++ b/main/INDEX	Wed Oct 04 20:51:44 2006 +0000
@@ -59,7 +59,8 @@
 
 interpreter >> Interpreter
 Help
- help 
+ help
+ doc 
  demo 
  ver
  version 
@@ -141,6 +142,8 @@
  debug_on_interrupt
  debug_on_warning
  debug_symtab_lookups
+Installation
+ mkoctfile mex tar untar unzip pkg
 Profiling
  profile 
  flops 
@@ -214,8 +217,7 @@
  O_APPEND O_ASYNC O_CREAT O_EXCL O_NONBLOCK O_RDONLY
  O_RDWR O_SYNC O_TRUNC O_WRONLY
  SEEK_CUR SEEK_END SEEK_SET
- OCTAVE_HOME OCTAVE_VERSION OCTAVE_FORGE_VERSION
- DEFAULT_LOADPATH DEFAULT_EXEC_PATH
+ OCTAVE_HOME OCTAVE_VERSION
  octave_config_info
  program_name argv
  program_invocation_name
@@ -359,6 +361,7 @@
  argn = string names of the input parameters
 User I/O
  disp printf puts
+ print_usage
  error 
  warning 
  lasterr 
@@ -387,6 +390,7 @@
  cell2mat 
  cell2struct 
  struct2cell 
+ mat2cell
 Structures
  struct 
  fieldnames 
@@ -412,6 +416,9 @@
  int8 int16 int32 int64
  uint8 uint16 uint32 uint64
  sizeof
+Deprecated
+  is_bool is_complex is_list is_stream is_struct
+
 
 matrix >> Linear Algebra
 Generating matrices
@@ -433,7 +440,7 @@
  islogical isdefinite
  logical 
  isscalar isvector ismatrix issquare 
- issymmetric is_duplicate_entry
+ issymmetric is_duplicate_entry isequalwithequalnans
 Rearranging matrices
  reshape 
  tril 
@@ -492,9 +499,7 @@
  eig(A,B)= use <f>qz</f>
  polyeig 
  condeig 
- trisolve
  syl
- pcg
 Matrix factorization
  chol 
  lu 
@@ -524,6 +529,165 @@
  logm 
  sqrtm 
  funm thfm
+Deprecated
+ is_scalar is_matrix is_square is_symmetric is_vector
+
+sparse >> Sparse matrix support
+Generate sparse matrix
+ speye 
+ sprand 
+ sprandn 
+ sprandsym 
+ spdiags 
+ spconvert 
+ spvcat sphcat
+Manipulate sparse matrices
+ sparse issparse 
+ full
+ issparse
+ spy 
+ nnz 
+ spfind spdump
+ nonzeros 
+ nzmax 
+ spones 
+ spfun 
+ spalloc 
+ spkron
+ matrix_type
+Graph Theory
+ etree
+ etreeplot
+ gplot
+ treelayout
+ treeplot
+Sparse matrix reordering
+ ccolamd
+ colamd
+ colperm
+ csymamd
+ dmperm
+ randperm
+ symamd
+ symrcm
+Linear algebra
+ condest
+ eigs
+ normest
+ spchol
+ spchol2inv
+ spcholinv
+ spdet
+ spinv 
+ splchol
+ splu
+ sprank
+ svds= create an interface to <a href="http://www.caam.rice.edu/software/ARPACK/">ARPACK</a> and add it to octave-forge
+Iterative techniques
+ bicg
+ bicgstab
+ cgs
+ cholinc
+ gmres
+ lsqr
+ luinc
+ minres
+ pcg
+ pcr
+ qmr
+ symmlq
+Miscellaneous
+ spaugment
+ spparms 
+ symbfact
+ spstats
+ spprod
+ spcumprod
+ spcumsum
+ spsum
+ spsumsq
+ spmin
+ spmax
+ spatan2
+ spdiag
+
+strings >> Strings
+Creation
+ char 
+ double 
+ cellstr 
+ blanks 
+ single
+Tests
+ ischar= use <f>isstr</f> 
+ iscellstr 
+ isletter 
+ isspace 
+ isalnum
+ isalpha
+ isascii
+ iscntrl
+ isdigit
+ isgraph
+ islower
+ isprint
+ ispunct
+ isstr
+ isupper
+ isxdigit
+Search and replace
+ strmatch 
+ fnmatch
+ regexp
+ regexpi
+ strcmp
+ strncmp 
+ strcmpi 
+ strncmpi 
+ findstr strfind
+ index rindex
+ strrep
+ substr
+ cellidx
+Operations
+ deblank split 
+ strcat 
+ strvcat 
+ strcmp 
+ strjust 
+ strtok 
+ upper 
+ lower 
+ tolower
+ toupper
+ do_string_escapes
+ undo_string_escapes
+ strappend
+ strsort
+Conversion
+ toascii setstr
+ num2str com2str str2mat
+ str2num strftime
+ mat2str 
+ int2str 
+ str2double 
+ sprintf 
+ sscanf 
+ hex2num 
+ hex2dec 
+ bin2dec 
+ base2dec 
+ dec2hex 
+ dec2bin 
+ dec2base 
+ strptime
+ base64encode
+ csvexplode csvconcat
+Flags
+ warn_num_to_str
+ warn_str_to_num
+ warn_single_quote_string
+ string_fill_char
 
 math >> Mathematics
 Trigonometry
@@ -642,7 +806,7 @@
  ifftn 
  fftshift 
  ifftshift
- FFTW_WISDOM_PROGRAM
+ fftw_wisdom_program
 Interpolation
  bicubic
  interp1 
@@ -855,6 +1019,7 @@
  gnuplot_command_axes gnuplot_command_end gnuplot_command_plot
  gnuplot_command_replot gnuplot_command_splot gnuplot_command_title
  gnuplot_command_using gnuplot_command_with purge_tmp_files
+ gnuplot_use_title_option
  __gnuplot_raw__ __gnuplot_set__ __gnuplot_show__ __gnuplot_plot__
  __gnuplot_splot__ __gnuplot_replot__
 
@@ -932,3 +1097,133 @@
 Server
  listen send senderror
 
+statistics >> Statistics
+Depreciated
+ beta_cdf beta_inv beta_pdf beta_rnd
+ binomial_cdf binomial_inv binomial_pdf binomial_rnd
+ chisquare_cdf chisquare_inv chisquare_pdf chisquare_rnd
+ exponential_cdf exponential_inv exponential_pdf exponential_rnd
+ f_cdf f_inv f_pdf f_rnd
+ gamma_cdf gamma_inv gamma_pdf gamma_rnd
+ geometric_cdf geometric_inv geometric_pdf geometric_rnd
+ hypergeometric_cdf hypergeometric_inv hypergeometric_pdf hypergeometric_rnd
+ lognormal_cdf lognormal_inv lognormal_pdf lognormal_rnd
+ normal_cdf normal_inv normal_pdf normal_rnd
+ poisson_cdf poisson_inv poisson_pdf poisson_rnd
+ t_cdf t_inv t_pdf t_rnd
+ uniform_cdf uniform_inv uniform_pdf uniform_rnd
+ wblcdf wblinv wblpdf wblrnd
+ weibull_cdf weibull_inv weibull_pdf weibull_rnd
+ wiener_rnd 
+Distributions
+ betacdf betainv betapdf betarnd
+ binocdf binoinv binopdf binornd
+ cauchy_cdf cauchy_inv cauchy_pdf cauchy_rnd
+ chi2cdf chi2inv chi2pdf chi2rnd
+ discrete_cdf discrete_inv discrete_pdf discrete_rnd
+ empirical_cdf empirical_inv empirical_pdf empirical_rnd
+ expcdf expinv exppdf exprnd
+ fcdf finv fpdf frnd
+ gamcdf gaminv gampdf gamrnd
+ geocdf geoinv geopdf geornd
+ hygecdf hygeinv hygepdf hygernd
+ kolmogorov_smirnov_cdf
+ laplace_cdf laplace_inv laplace_pdf laplace_rnd
+ logistic_cdf logistic_inv logistic_pdf logistic_rnd
+ logncdf logninv lognpdf lognrnd
+ normcdf norminv normpdf normrnd
+ pascal_cdf pascal_inv pascal_pdf pascal_rnd
+ poisscdf poissinv poisspdf poissrnd
+ stdnormal_cdf stdnormal_inv stdnormal_pdf stdnormal_rnd
+ tcdf tinv tpdf trnd
+ unidrnd
+ unifcdf unifinv unifpdf unifrnd
+ weibcdf weibinv weibpdf weibrnd
+ wienrnd
+Descriptive statistics
+ max 
+ min 
+ mean meansq
+ median 
+ std 
+ var 
+ cut hist
+ histc 
+ corrcoef 
+ cov cor
+ sum sumsq 
+ prod 
+ trapz 
+ cumsum 
+ cumprod 
+ cumtrapz 
+ nanfunc
+ iqr		
+ kurtosis	
+ moment	
+ range	
+ skewness	
+ spearman
+ run_count
+ statistics
+ studentize
+ table
+ values mahalanobis
+ ranks
+ probit logit kendall cloglog
+Experimental design
+ fullfact ff2n hadamard
+Linear regression
+ anova anovan
+ polyfit wpolyfit	
+ polyval polyconf	
+ gls ols wsolve
+ princomp
+Plots
+ qqplot ppplot boxplot scatter normplot 
+ pareto 
+ histfit
+Nonlinear regression
+ leasqr	
+Models
+ hmmdecode
+ logistic_regression logistic_regression_derivatives 
+ logistic_regression_likelihood
+Hypothesis testing
+ u_test	
+ wilcoxon_test	
+ sign_test	
+ t_test	
+ t_test_2	
+ t_test_regression
+ z_test	
+ z_test_2
+ bartlett_test
+ chisquare_test_homogeneity
+ chisquare_test_independence
+ cor_test
+ f_test_regression
+ hotelling_test
+ hotelling_test_2
+ kolmogorov_smirnov_test
+ kolmogorov_smirnov_test_2
+ kruskal_wallis_test
+ manova
+ mcnemar_test
+ prop_test_2
+ run_test
+ var_test
+ welch_test
+Compatibility
+ nbin*= use <code>pascal_*</code>
+ unid*= use <code>discrete_*</code>
+ anova1= use <f>anova</f>
+ nlinfit= use <f>leasqr</f>
+ barttest= use <f>bartlett_test</f>
+ ranksum= use <f>u_test</f>
+ signrank= use <f>wilcoxon_test</f>
+ signtest= use <f>sign_test</f>
+ ttest= use <f>t_test</f>
+ ttest2= use <f>t_test_2</f>
+ ztest= use <f>z_test</f>
+
--- a/main/statistics/INDEX	Wed Oct 04 17:55:02 2006 +0000
+++ b/main/statistics/INDEX	Wed Oct 04 20:51:44 2006 +0000
@@ -1,141 +1,58 @@
 statistics >> Statistics
-Depreciated
- beta_cdf beta_inv beta_pdf beta_rnd
- binomial_cdf binomial_inv binomial_pdf binomial_rnd
- chisquare_cdf chisquare_inv chisquare_pdf chisquare_rnd
- exponential_cdf exponential_inv exponential_pdf exponential_rnd
- f_cdf f_inv f_pdf f_rnd
- gamma_cdf gamma_inv gamma_pdf gamma_rnd
- geometric_cdf geometric_inv geometric_pdf geometric_rnd
- hypergeometric_cdf hypergeometric_inv hypergeometric_pdf hypergeometric_rnd
- lognormal_cdf lognormal_inv lognormal_pdf lognormal_rnd
- normal_cdf normal_inv normal_pdf normal_rnd
- poisson_cdf poisson_inv poisson_pdf poisson_rnd
- t_cdf t_inv t_pdf t_rnd
- uniform_cdf uniform_inv uniform_pdf uniform_rnd
- weibull_cdf weibull_inv weibull_pdf weibull_rnd
- wiener_rnd 
 Distributions
  anderson_darling_cdf
- betacdf betainv betapdf betarnd betastat
- binocdf binoinv binopdf binornd binostat
- cauchy_cdf cauchy_inv cauchy_pdf cauchy_rnd
- chi2cdf chi2inv chi2pdf chi2rnd chi2stat
- discrete_cdf discrete_inv discrete_pdf discrete_rnd
- empirical_cdf empirical_inv empirical_pdf empirical_rnd
- expcdf expinv exppdf exprnd expstat
- fcdf finv fpdf frnd fstat
- gamcdf gaminv gampdf gamrnd gamstat
- geocdf geoinv geopdf geornd geostat
- hygecdf hygeinv hygepdf hygernd hygestat
- kolmogorov_smirnov_cdf
- laplace_cdf laplace_inv laplace_pdf laplace_rnd
- logistic_cdf logistic_inv logistic_pdf logistic_rnd
- logncdf logninv lognpdf lognrnd lognstat
+ betastat
+ binostat
+ chi2stat
+ expstat
+ fstat
+ gamstat
+ geostat
+ hygestat
+ lognstat
  mvnpdf mvnrnd
- normcdf norminv normpdf normrnd normstat
- pascal_cdf pascal_inv pascal_pdf pascal_rnd pascal_stat
- poisscdf poissinv poisspdf poissrnd poisstat
+ normstat
+ pascal_stat
+ poisstat
  raylcdf raylinv raylpdf raylrnd raylstat
- stdnormal_cdf stdnormal_inv stdnormal_pdf stdnormal_rnd
- tcdf tinv tpdf trnd tstat
- unidrnd unidstat
- unifcdf unifinv unifpdf unifrnd unifstat
- weibcdf weibinv weibpdf weibrnd weibstat
- wienrnd
+ tstat
+ unidstat
+ unifstat
+ weibstat
 Descriptive statistics
- max 
- min 
- mean meansq
- median 
- std 
- var 
- cut hist
- histc 
- corrcoef 
- cov cor
- sum sumsq 
- prod 
- trapz 
- cumsum 
- cumprod 
- cumtrapz 
- nansum	
- nanmax	
- nanmean	
- nanmedian	
- nanmin	
- nanstd	
- nanfunc
+ nansum
+ nanmax
+ nanmean
+ nanmedian
+ nanmin
+ nanstd
  geomean	
  harmmean	
- iqr		
- kurtosis	
  mad		
- moment	
  prctile	
- range	
- skewness	
  trimmean	
  zscore	
- spearman
- run_count
- statistics
- studentize
- table
  tabulate
- values mahalanobis
- ranks
- probit logit kendall cloglog
 Experimental design
- fullfact ff2n hadamard
+ fullfact ff2n
 Linear regression
- anova anovan
- polyfit wpolyfit	
- polyval polyconf	
- gls ols wsolve
+ anovan
  princomp
+ regress
 Plots
- qqplot ppplot boxplot scatter normplot 
- pareto 
+ boxplot 
+ scatter
+ normplot
+ pareto
  histfit
-Nonlinear regression
- leasqr	
 Models
- hmmdecode hmmestimate hmmgenerate
- logistic_regression logistic_regression_derivatives 
- logistic_regression_likelihood
+ hmmestimate hmmgenerate hmmviterbi
 Hypothesis testing
- u_test	
- wilcoxon_test	
- sign_test	
- t_test	
- t_test_2	
- t_test_regression
- z_test	
- z_test_2
- bartlett_test
- chisquare_test_homogeneity
- chisquare_test_independence
- cor_test
- f_test_regression
- hotelling_test
- hotelling_test_2
- kolmogorov_smirnov_test
- kolmogorov_smirnov_test_2
- kruskal_wallis_test
- manova
- mcnemar_test
- prop_test_2
- run_test
- var_test
- welch_test
  anderson_darling_test
 Compatibility
  nbin*= use <code>pascal_*</code>
  unid*= use <code>discrete_*</code>
  anova1= use <f>anova</f>
- regress= use <f>gls</f>
  nlinfit= use <f>leasqr</f>
  barttest= use <f>bartlett_test</f>
  ranksum= use <f>u_test</f>
--- a/main/strings/INDEX	Wed Oct 04 17:55:02 2006 +0000
+++ b/main/strings/INDEX	Wed Oct 04 20:51:44 2006 +0000
@@ -1,78 +1,8 @@
 strings >> Strings
-Creation
- char 
- double 
- cellstr 
- blanks 
- single
-Tests
- ischar= use <f>isstr</f> 
- iscellstr 
- isletter 
- isspace 
- isalnum
- isalpha
- isascii
- iscntrl
- isdigit
- isgraph
- islower
- isprint
- ispunct
- isstr
- isupper
- isxdigit
 Search and replace
- strmatch 
- fnmatch
- regexp
- regexpi
- strcmp
- strncmp 
- strcmpi 
- strncmpi 
- findstr strfind
- index rindex
- strrep
- substr
- cellidx
+ pcregexp
 Operations
- deblank split 
- strcat 
- strvcat 
- strcmp 
- strjust 
- strtok 
- upper 
- lower 
- tolower
- toupper
- do_string_escapes
- undo_string_escapes
- strappend
  strsort
+ strtrim
 Conversion
- toascii setstr
- num2str com2str str2mat
- str2num strftime
- mat2str 
- int2str 
- str2double 
- sprintf 
- sscanf 
- hex2num 
- hex2dec 
- bin2dec 
- base2dec 
- dec2hex 
- dec2bin 
- dec2base 
- strptime
  base64encode
- csvexplode csvconcat
-Flags
- warn_num_to_str
- warn_str_to_num
- warn_single_quote_string
- string_fill_char
-
--- a/main/symbolic/DESCRIPTION	Wed Oct 04 17:55:02 2006 +0000
+++ b/main/symbolic/DESCRIPTION	Wed Oct 04 20:51:44 2006 +0000
@@ -1,6 +1,6 @@
 Name: Symbolic
-Version: 1.0.0
-Date: 2006-08-05
+Version: 1.0.1
+Date: 2006-10-03
 Author: Various Authors
 Maintainer: The Octave Community
 Title: Symbolic Computations.
--- a/main/symbolic/src/symbols.cc	Wed Oct 04 17:55:02 2006 +0000
+++ b/main/symbolic/src/symbols.cc	Wed Oct 04 20:51:44 2006 +0000
@@ -31,6 +31,7 @@
 #include <octave/oct-obj.h>
 #include <octave/pager.h>
 #include <octave/quit.h>
+#include <octave/variables.h>
 
 #include <ginac/ginac.h>
 #include "ov-vpa.h"
@@ -119,17 +120,39 @@
 	return true;
 }
 
+static bool symbolic_type_loaded = false;
+
+void
+load_symbolic_type (void)
+{
+  if (! symbolic_type_loaded)
+    {
+      octave_vpa::register_type ();
+      octave_ex::register_type (); 
+      octave_ex_matrix::register_type ();
+      octave_relational::register_type (); 
+
+      install_ex_matrix_ops();
+      install_ex_ops();
+      install_vpa_ops();
+      symbolic_type_loaded = true;
+
+      // We should lock the constructor functions of this type in place,
+      // otherwise something like
+      // "symbols(); a=sym('V_max'); clear functions; a" generates
+      // a seg-fault. Note this relies on the fact that Fsym, Fex_matrix
+      // and Fvpa are linked into the symbols.oct file. If th
+      // moved to this locking needs to be rethought.
+      mlock ("sym");
+      mlock ("ex_matrix");
+      mlock ("vpa");
+    }
+}
+
 DEFUN_DLD(symbols,args,,"Initialize symbolic manipulation")
 {
   octave_value retval;
-  octave_vpa::register_type ();
-  octave_ex::register_type (); 
-  octave_ex_matrix::register_type ();
-  octave_relational::register_type (); 
-
-  install_ex_matrix_ops();
-  install_ex_ops();
-  install_vpa_ops();
+  load_symbolic_type ();
   return retval;
 }
 
--- a/nonfree/gpc/INDEX	Wed Oct 04 17:55:02 2006 +0000
+++ b/nonfree/gpc/INDEX	Wed Oct 04 20:51:44 2006 +0000
@@ -1,4 +1,4 @@
 gpc >> General polygon clipper
 General polygon clipping
  gpc_clip gpc_create gpc_get gpc_is_polygon gpc_plot gpc_read
- gpc_tristrip gpc_write gpc_test
+ gpc_tristrip gpc_write
--- a/www/Makefile	Wed Oct 04 17:55:02 2006 +0000
+++ b/www/Makefile	Wed Oct 04 20:51:44 2006 +0000
@@ -1,4 +1,4 @@
-M4 := m4
+M4 := m4 --prefix-builtins
 MACRO_FILE := macros.m4
 M4_OPTIONS := --prefix-builtins
 HTML_SRC = $(shell find . | grep "\.in")