<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1900</id>
	<title>Nabble - Octave - Maintainers</title>
	<updated>2009-11-30T13:15:39Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Octave---Maintainers-f1900.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Octave---Maintainers-f1900.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26582040</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-30T13:15:39Z</published>
	<updated>2009-11-30T13:15:39Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">On 11/30/09 7:34 PM, John W. Eaton wrote:
&lt;br&gt;&amp;gt; I checked in the following change. &amp;nbsp;Does it fix the problem for you?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;I will try whatever I find in the repository as soon as I can, but right
&lt;br&gt;now the repository is down. &amp;nbsp;Soon, I have to get ready for more travel...
&lt;br&gt;&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26582040.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26581849</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-30T13:00:21Z</published>
	<updated>2009-11-30T13:00:21Z</updated>
	<author>
		<name>Rik-3</name>
	</author>
	<content type="html">John W. Eaton wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 30-Nov-2009, Rik wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; | &amp;gt; I checked in the following change. &amp;nbsp;Does it fix the problem for you?
&lt;br&gt;&amp;gt; | &amp;gt;
&lt;br&gt;&amp;gt; | &amp;gt; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&lt;/a&gt;&lt;br&gt;&amp;gt; | &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; | May I substitute my patch for yours later today?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Would you please post your proposed change first?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Attached is my proposed Makefile.am. &amp;nbsp;It is easier to understand than
&lt;/div&gt;just seeing the diffs.
&lt;br&gt;&amp;gt; | Mine handles the
&lt;br&gt;&amp;gt; | missing *.texi files and in addition gets the distribution and cleanfile
&lt;br&gt;&amp;gt; | targets correct.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Doesn't mine also do that? &amp;nbsp;When I tested it, it generated the .texi
&lt;br&gt;&amp;gt; files. &amp;nbsp;If there is a problem, what part is missing?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;It generates the .texi files, but also distributes them. &amp;nbsp;We don't want
&lt;br&gt;to distribute them because they are not really primary sources and they
&lt;br&gt;*do* require rebuilding on each host. &amp;nbsp;I agree with your paragraph below.
&lt;br&gt;&amp;gt; If we don't distribute conf.texi, but expect it to always be created
&lt;br&gt;&amp;gt; at build time, then I don't see the point of distributing the
&lt;br&gt;&amp;gt; generated .texi files. &amp;nbsp;We might as well expect those to be generated
&lt;br&gt;&amp;gt; at build time.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;We don't distribute conf.texi because certain variables depend on the
&lt;br&gt;libraries installed on the host. &amp;nbsp;(See HAVE_QHULL for example)
&lt;br&gt;&amp;gt; Yes, this goes against the coding standard that says it should not be
&lt;br&gt;&amp;gt; necessary to have makeinfo/texinfo installed to build a package, but
&lt;br&gt;&amp;gt; if we require that conf.texi to be generated, then I don't see any
&lt;br&gt;&amp;gt; alternative.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OTOH, if we decide that we don't need to build conf.texi, then we can
&lt;br&gt;&amp;gt; just distribute all the .txi and generated .texi files.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Yes, that sums up the decision. &amp;nbsp;Currently, we require texinfo to be
&lt;br&gt;installed on the build host which isn't terrifically onerous, but we
&lt;br&gt;could get rid of the requirement altogether if we choose to rewrite the
&lt;br&gt;few texi files which actually depend on conf.texi.
&lt;br&gt;&lt;br&gt;--Rik
&lt;br&gt;&lt;br /&gt;# Makefile for octave's doc/interpreter directory
&lt;br&gt;#
&lt;br&gt;# Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
&lt;br&gt;# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2002, 2003, 2005, 2006, 2007, 2008, 2009 John W. Eaton
&lt;br&gt;#
&lt;br&gt;# This file is part of Octave.
&lt;br&gt;# 
&lt;br&gt;# Octave is free software; you can redistribute it and/or modify it
&lt;br&gt;# under the terms of the GNU General Public License as published by the
&lt;br&gt;# Free Software Foundation; either version 3 of the License, or (at
&lt;br&gt;# your option) any later version.
&lt;br&gt;# 
&lt;br&gt;# Octave is distributed in the hope that it will be useful, but WITHOUT
&lt;br&gt;# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
&lt;br&gt;# FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU General Public License
&lt;br&gt;# for more details.
&lt;br&gt;# 
&lt;br&gt;# You should have received a copy of the GNU General Public License
&lt;br&gt;# along with Octave; see the file COPYING. &amp;nbsp;If not, see
&lt;br&gt;# &amp;lt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;TOPDIR = ../..
&lt;br&gt;&lt;br&gt;include ../../common.mk
&lt;br&gt;&lt;br&gt;AM_MAKEINFOFLAGS = -I.. -I$(srcdir) -I$(srcdir)/..
&lt;br&gt;AM_MAKEINFOHTMLFLAGS = -I.. -I$(srcdir) -I$(srcdir)/..
&lt;br&gt;&lt;br&gt;TEXINFO_TEX = ../texinfo.tex
&lt;br&gt;&lt;br&gt;TEXINPUTS := &amp;quot;..$(PATH_SEPARATOR)$(srcdir)$(PATH_SEPARATOR)$(srcdir)/..$(PATH_SEPARATOR)$(TEXINPUTS)$(PATH_SEPARATOR)&amp;quot;
&lt;br&gt;export TEXINPUTS
&lt;br&gt;&lt;br&gt;TEXMFCNF := &amp;quot;..$(PATH_SEPARATOR)$(srcdir)$(PATH_SEPARATOR)$(srcdir)/..$(PATH_SEPARATOR)$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR)&amp;quot;
&lt;br&gt;export TEXMFCNF
&lt;br&gt;&lt;br&gt;dist_man1_MANS = \
&lt;br&gt;&amp;nbsp; mkoctfile.1 \
&lt;br&gt;&amp;nbsp; octave-bug.1 \
&lt;br&gt;&amp;nbsp; octave-config.1 \
&lt;br&gt;&amp;nbsp; octave.1
&lt;br&gt;&lt;br&gt;## The following example files are listed for dependencies.
&lt;br&gt;## They should not be distributed from this directory.
&lt;br&gt;EXAMPLE_FILES = \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/display.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/double.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/end.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/get.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/mtimes.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/plot.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/polynomial.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/polynomial_superiorto.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/polyval.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/set.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/subsasgn.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/@polynomial/subsref.m \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/addtwomatrices.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/celldemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/firstmexdemo.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/fortdemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/fortsub.f \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/funcdemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/globaldemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/helloworld.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/mycell.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/myfeval.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/myfunc.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/mypow2.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/mysparse.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/mystring.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/mystruct.c \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/paramdemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/stringdemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/structdemo.cc \
&lt;br&gt;&amp;nbsp; $(top_srcdir)/examples/unwinddemo.cc
&lt;br&gt;&lt;br&gt;include images.mk
&lt;br&gt;&lt;br&gt;.eps.pdf:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if [ -f $&amp;lt; ] ; then $(GHOSTSCRIPT) -dBATCH -dEPSCrop -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$@ $&amp;lt; ; fi
&lt;br&gt;&lt;br&gt;IMAGES = $(IMAGES_EPS) $(IMAGES_PDF) $(IMAGES_PNG) $(IMAGES_TXT)
&lt;br&gt;&lt;br&gt;TXI_SRC = \
&lt;br&gt;&amp;nbsp; arith.txi \
&lt;br&gt;&amp;nbsp; audio.txi \
&lt;br&gt;&amp;nbsp; basics.txi \
&lt;br&gt;&amp;nbsp; bugs.txi \
&lt;br&gt;&amp;nbsp; container.txi \
&lt;br&gt;&amp;nbsp; contrib.txi \
&lt;br&gt;&amp;nbsp; cp-idx.txi \
&lt;br&gt;&amp;nbsp; data.txi \
&lt;br&gt;&amp;nbsp; debug.txi \
&lt;br&gt;&amp;nbsp; diffeq.txi \
&lt;br&gt;&amp;nbsp; diagperm.txi \
&lt;br&gt;&amp;nbsp; dynamic.txi \
&lt;br&gt;&amp;nbsp; emacs.txi \
&lt;br&gt;&amp;nbsp; errors.txi \
&lt;br&gt;&amp;nbsp; eval.txi \
&lt;br&gt;&amp;nbsp; expr.txi \
&lt;br&gt;&amp;nbsp; fn-idx.txi \
&lt;br&gt;&amp;nbsp; func.txi \
&lt;br&gt;&amp;nbsp; geometry.txi \
&lt;br&gt;&amp;nbsp; gpl.txi \
&lt;br&gt;&amp;nbsp; grammar.txi \
&lt;br&gt;&amp;nbsp; image.txi \
&lt;br&gt;&amp;nbsp; install.txi \
&lt;br&gt;&amp;nbsp; interp.txi \
&lt;br&gt;&amp;nbsp; intro.txi \
&lt;br&gt;&amp;nbsp; io.txi \
&lt;br&gt;&amp;nbsp; linalg.txi \
&lt;br&gt;&amp;nbsp; matrix.txi \
&lt;br&gt;&amp;nbsp; nonlin.txi \
&lt;br&gt;&amp;nbsp; numbers.txi \
&lt;br&gt;&amp;nbsp; oop.txi \
&lt;br&gt;&amp;nbsp; op-idx.txi \
&lt;br&gt;&amp;nbsp; optim.txi \
&lt;br&gt;&amp;nbsp; package.txi \
&lt;br&gt;&amp;nbsp; plot.txi \
&lt;br&gt;&amp;nbsp; poly.txi \
&lt;br&gt;&amp;nbsp; preface.txi \
&lt;br&gt;&amp;nbsp; quad.txi \
&lt;br&gt;&amp;nbsp; set.txi \
&lt;br&gt;&amp;nbsp; signal.txi \
&lt;br&gt;&amp;nbsp; sparse.txi \
&lt;br&gt;&amp;nbsp; stats.txi \
&lt;br&gt;&amp;nbsp; stmt.txi \
&lt;br&gt;&amp;nbsp; strings.txi \
&lt;br&gt;&amp;nbsp; system.txi \
&lt;br&gt;&amp;nbsp; testfun.txi \
&lt;br&gt;&amp;nbsp; tips.txi \
&lt;br&gt;&amp;nbsp; var.txi
&lt;br&gt;&lt;br&gt;MUNGED_TEXI_SRC = $(TXI_SRC:.txi=.texi)
&lt;br&gt;&lt;br&gt;info_TEXINFOS = octave.texi
&lt;br&gt;&lt;br&gt;nodist_octave_TEXINFOS = \
&lt;br&gt;&amp;nbsp; ../conf.texi
&lt;br&gt;&lt;br&gt;octave_TEXINFOS = \
&lt;br&gt;&amp;nbsp; contributors.texi \
&lt;br&gt;&amp;nbsp; $(MUNGED_TEXI_SRC)
&lt;br&gt;&lt;br&gt;../conf.texi:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) -C .. conf.texi
&lt;br&gt;&lt;br&gt;octave.info octave.dvi octave.pdf octave.html: $(nodist_octave_TEXINFOS) $(octave_TEXINFOS) $(EXAMPLE_FILES)
&lt;br&gt;&lt;br&gt;octave.info: $(IMAGES_TXT)
&lt;br&gt;&lt;br&gt;octave.dvi octave.ps: $(IMAGES_EPS)
&lt;br&gt;&lt;br&gt;octave.pdf: $(IMAGES_PDF)
&lt;br&gt;&lt;br&gt;octave.html: $(IMAGES_PNG)
&lt;br&gt;&lt;br&gt;&lt;br&gt;all-local: dvi html pdf ps doc-cache
&lt;br&gt;&lt;br&gt;# Install doc-cache of help files
&lt;br&gt;install-data-local:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(MKDIR_P) $(DESTDIR)$(octetcdir)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(INSTALL_DATA) doc-cache $(DESTDIR)$(octetcdir)/doc-cache
&lt;br&gt;&lt;br&gt;uninstall-local:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rm -f $(DESTDIR)$(octetcdir)/doc-cache
&lt;br&gt;&lt;br&gt;DOCSTRING_FILES = $(TOPDIR)/src/DOCSTRINGS $(TOPDIR)/scripts/DOCSTRINGS
&lt;br&gt;&lt;br&gt;$(TOPDIR)/src/DOCSTRINGS:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) -C $(TOPDIR)/src DOCSTRINGS
&lt;br&gt;&lt;br&gt;$(TOPDIR)/scripts/DOCSTRINGS:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(MAKE) -C $(TOPDIR)/scripts DOCSTRINGS
&lt;br&gt;&lt;br&gt;doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; }
&lt;br&gt;&lt;br&gt;$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT)
&lt;br&gt;&lt;br&gt;munge-texi$(BUILD_EXEEXT): munge-texi.cc
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS)
&lt;br&gt;&lt;br&gt;.txi.texi:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./munge-texi $(DOCSTRING_FILES) &amp;lt; $&amp;lt; &amp;gt; $@-t
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv $@-t $@
&lt;br&gt;&lt;br&gt;contributors.texi: contributors.in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(AWK) -f $(srcdir)/mkcontrib.awk $(srcdir)/contributors.in &amp;gt; $@-t
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv $@-t $@
&lt;br&gt;&lt;br&gt;../../INSTALL.OCTAVE: install.texi
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rm -f INSTALL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -$(MAKEINFO) -D INSTALLONLY \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --no-validate --no-headers --no-split --output INSTALL \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I.. -I$(srcdir) -I$(srcdir)/.. $&amp;lt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv INSTALL ../../INSTALL.OCTAVE
&lt;br&gt;&lt;br&gt;../../BUGS: bugs.texi
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rm -f BUGS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -$(MAKEINFO) -D BUGSONLY \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --no-validate --no-headers --no-split --output BUGS \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I.. -I$(srcdir) -I$(srcdir)/.. $&amp;lt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mv BUGS ../../BUGS
&lt;br&gt;&lt;br&gt;EXTRA_DIST = \
&lt;br&gt;&amp;nbsp; config-images.sh \
&lt;br&gt;&amp;nbsp; contributors.in \
&lt;br&gt;&amp;nbsp; images \
&lt;br&gt;&amp;nbsp; images.mk \
&lt;br&gt;&amp;nbsp; mk_doc_cache.m \
&lt;br&gt;&amp;nbsp; mkcontrib.awk \
&lt;br&gt;&amp;nbsp; munge-texi.cc \
&lt;br&gt;&amp;nbsp; $(IMAGES) \
&lt;br&gt;&amp;nbsp; $(IMAGES_SRC) \
&lt;br&gt;&amp;nbsp; $(TXI_SRC)
&lt;br&gt;&lt;br&gt;DISTCLEANFILES = $(octave_TEXINFOS) doc-cache munge-texi$(BUILD_EXEEXT)
&lt;br&gt;&lt;br&gt;MAINTAINERCLEANFILES = $(IMAGES)
&lt;br&gt;&lt;br&gt;## .texi files are generated files, not primary sources, and should not 
&lt;br&gt;## be distributed. &amp;nbsp;Automake, however, does not create rules to generate
&lt;br&gt;## pdf and html documentation unless the info and texi files will be
&lt;br&gt;## distributed. &amp;nbsp;Various hacks, including using the nodist_ prefix and 
&lt;br&gt;## DISTCLEANFILES, do not work. &amp;nbsp;The current solution is to build the texi
&lt;br&gt;## files and create the correct Makefile rules and then use the dist-hook
&lt;br&gt;## feature to remove the .texi files from the distribution just before it 
&lt;br&gt;## is archived in a tar file.
&lt;br&gt;dist-hook:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ( cd $(distdir) ; rm -f $(octave_TEXINFOS) ; ) 
&lt;br&gt;&lt;br&gt;.NOTPARALLEL:
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26581849.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26581447</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-30T12:37:47Z</published>
	<updated>2009-11-30T12:37:47Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 30-Nov-2009, Rik wrote:
&lt;br&gt;&lt;br&gt;| &amp;gt; I checked in the following change. &amp;nbsp;Does it fix the problem for you?
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&lt;/a&gt;&lt;br&gt;| &amp;gt; &amp;nbsp; 
&lt;br&gt;| May I substitute my patch for yours later today?
&lt;br&gt;&lt;br&gt;Would you please post your proposed change first?
&lt;br&gt;&lt;br&gt;| Mine handles the
&lt;br&gt;| missing *.texi files and in addition gets the distribution and cleanfile
&lt;br&gt;| targets correct.
&lt;br&gt;&lt;br&gt;Doesn't mine also do that? &amp;nbsp;When I tested it, it generated the .texi
&lt;br&gt;files. &amp;nbsp;If there is a problem, what part is missing?
&lt;br&gt;&lt;br&gt;If we don't distribute conf.texi, but expect it to always be created
&lt;br&gt;at build time, then I don't see the point of distributing the
&lt;br&gt;generated .texi files. &amp;nbsp;We might as well expect those to be generated
&lt;br&gt;at build time.
&lt;br&gt;&lt;br&gt;Yes, this goes against the coding standard that says it should not be
&lt;br&gt;necessary to have makeinfo/texinfo installed to build a package, but
&lt;br&gt;if we require that conf.texi to be generated, then I don't see any
&lt;br&gt;alternative.
&lt;br&gt;&lt;br&gt;OTOH, if we decide that we don't need to build conf.texi, then we can
&lt;br&gt;just distribute all the .txi and generated .texi files.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26581447.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26581362</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-30T12:28:32Z</published>
	<updated>2009-11-30T12:28:32Z</updated>
	<author>
		<name>Rik-3</name>
	</author>
	<content type="html">John W. Eaton wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 28-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; | On 11/28/09 5:19 PM, Rik wrote:
&lt;br&gt;&amp;gt; | &amp;gt; The procedure I follow to verify my patches
&lt;br&gt;&amp;gt; | &amp;gt; has been to clone a new tree from savannah, run autogen.sh, run
&lt;br&gt;&amp;gt; | &amp;gt; configure, and then run make. &amp;nbsp;This avoids any cruft that may have built
&lt;br&gt;&amp;gt; | &amp;gt; up in the source tree.
&lt;br&gt;&amp;gt; | &amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; | This is what I did, and none of the .texi files got generated. &amp;nbsp;but,
&lt;br&gt;&amp;gt; | cd doc/interpreter; make &amp;nbsp;xxx.texi would create the .txi. &amp;nbsp;Also, I
&lt;br&gt;&amp;gt; | found that if &amp;quot;old&amp;quot; .texi files were present the make updated them.
&lt;br&gt;&amp;gt; | So, now my builds run fine -- until I do a new clone. &amp;nbsp;For now,
&lt;br&gt;&amp;gt; | I will save the old .texi files and copy them into a new clone.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Michael &amp; John,
&lt;br&gt;&lt;br&gt;SHORT VERSION
&lt;br&gt;&lt;br&gt;I have been testing a patch since this morning which fixes the missing
&lt;br&gt;.texi file problem. &amp;nbsp;I'm a bit paranoid now so I'm testing it in
&lt;br&gt;different build configurations to make sure it is rock solid. &amp;nbsp;I will
&lt;br&gt;check it in today.
&lt;br&gt;&lt;br&gt;LONG VERSION
&lt;br&gt;&lt;br&gt;We should think carefully about moving the documentation away from
&lt;br&gt;dynamic sources to static sources. &amp;nbsp;Autotools is geared towards
&lt;br&gt;distributing .info and .texi files. &amp;nbsp;Our .texi files are not static but
&lt;br&gt;are generated at build time from .txi pre-cursors and conf.texi. &amp;nbsp;Most
&lt;br&gt;of the files are, in fact, static but there are a few decisions made
&lt;br&gt;using @ifset and variables set in conf.texi by configure.
&lt;br&gt;&lt;br&gt;The idea behind distributing .info files is reasonably sensible because
&lt;br&gt;it removes the requirement to have texinfo installed. &amp;nbsp;A side effect of
&lt;br&gt;the dependence on conf.texi is that all the .texi files and all the
&lt;br&gt;documentation have to be re-made for every build host. &amp;nbsp;Since texinfo is
&lt;br&gt;now a requirement for building Octave we should at least not bother to
&lt;br&gt;distribute the .texi files. 
&lt;br&gt;&lt;br&gt;Unfortunately, this pattern is not common and autotools doesn't support
&lt;br&gt;it well. &amp;nbsp;The usual syntactic sugar, such as nodist_, does not work. 
&lt;br&gt;Also, globally turning off distribution of .info files turns off the
&lt;br&gt;creation of build rules for pdf and html versions of the documentation.
&lt;br&gt;&lt;br&gt;The closest thing I have found to an explanation is a response in an
&lt;br&gt;e-mail thread here:
&lt;br&gt;&lt;a href=&quot;http://www.mail-archive.com/bug-texinfo@gnu.org/msg04033.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/bug-texinfo@.../msg04033.html&lt;/a&gt;. &amp;nbsp;The
&lt;br&gt;Automake developers are at least aware of the problem but the _TEXINFO
&lt;br&gt;primary isn't as frequently used as the _SOURCES primary and I don't
&lt;br&gt;expect resolution anytime soon.
&lt;br&gt;&lt;br&gt;My solution was to use as much of autotools as possible. &amp;nbsp;I want
&lt;br&gt;autoconfigure to choose a command to make pdfs, etc., rather than coding
&lt;br&gt;it directly into Makefile.am. &amp;nbsp;I then used a dist-hook clause to remove
&lt;br&gt;.texi files before they are wrapped up in a tar archive for distribution.
&lt;br&gt;&amp;gt; I checked in the following change. &amp;nbsp;Does it fix the problem for you?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;May I substitute my patch for yours later today? &amp;nbsp;Mine handles the
&lt;br&gt;missing *.texi files and in addition gets the distribution and cleanfile
&lt;br&gt;targets correct.
&lt;br&gt;&lt;br&gt;--Rik
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26581362.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580710</id>
	<title>FTP objects</title>
	<published>2009-11-30T11:43:53Z</published>
	<updated>2009-11-30T11:43:53Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 20-Nov-2009, David Bateman wrote:
&lt;br&gt;&lt;br&gt;| I have a fairly complete 
&lt;br&gt;| implementation of the FTP object type in the attached, though have 
&lt;br&gt;| several problems.
&lt;br&gt;&lt;br&gt;OK, I'm sorry I wasn't able to respond earlier.
&lt;br&gt;&lt;br&gt;| The first issue is that Octave currently doesn't have any code in the 
&lt;br&gt;| core using OOP and the matlab versions use OOP and so this is needed for 
&lt;br&gt;| compatibility. It appears that the new build process doesn't mind a 
&lt;br&gt;| scripts/@ftp. Is this the right place for it?
&lt;br&gt;&lt;br&gt;That seems OK to me.
&lt;br&gt;&lt;br&gt;| The next problem is that as this type wraps libcurl it has to be 
&lt;br&gt;| implemented at least partially in an oct-file. So the oct-files should 
&lt;br&gt;| live in the @ftp directory as well. One way should probably be like
&lt;br&gt;| 
&lt;br&gt;| @ftp/{ftp.m, display.m, ...}
&lt;br&gt;| @ftp/private/__ftp__.oct
&lt;br&gt;| @ftp/private/PKG_ADD &amp;nbsp; ## contains autoloads for the DEFUN_DLD functions 
&lt;br&gt;| in __ftp__.oct
&lt;br&gt;| 
&lt;br&gt;| though this doesn't work as it appears that &amp;quot;autoload&amp;quot; doesn't work in 
&lt;br&gt;| either the private or class directories. In any case such a structure is 
&lt;br&gt;| against the separation of OS dependent and independent files, and I'm 
&lt;br&gt;| sure the debian packagers at least will complain as I remember well 
&lt;br&gt;| discussions about this when the pkg installation paths &amp;nbsp;were being 
&lt;br&gt;| discussed.
&lt;br&gt;&lt;br&gt;Right, I don't think they would accept having architecture dependent
&lt;br&gt;files in /usr/share.
&lt;br&gt;&lt;br&gt;| Then I suppose a better way to do it is to have two separate @ftp 
&lt;br&gt;| directories, one in
&lt;br&gt;| 
&lt;br&gt;| ${fcnfiledir}/@ftp/{ftp.m,display.m,...}
&lt;br&gt;| ${octfiledir}/@ftp/private/{__ftp__.oct,PKG_ADD}
&lt;br&gt;&lt;br&gt;If we do this, then maybe we should be doing some magic in the
&lt;br&gt;load-path searching code so that the correspondence between the
&lt;br&gt;${fcnfiledir}/@ftp and ${octfiledir}/@ftp is handled automatically?
&lt;br&gt;Maybe there should be a directive that could appear in the
&lt;br&gt;${fcnfiledir}/@ftp/PKG_ADD file that tells Octave to merge the
&lt;br&gt;contents of the ${octfiledir}/@ftp with ${fcnfiledir}/@ftp? &amp;nbsp;Or should
&lt;br&gt;both directories should appear in the load-path?
&lt;br&gt;&lt;br&gt;| Having two separate @ftp directories works, but the autoloads in the 
&lt;br&gt;| private directory doesn't yet again. I'd suggest that the autoload issue 
&lt;br&gt;| in class and private directories should be fixed before going further 
&lt;br&gt;| with this direction.
&lt;br&gt;&lt;br&gt;How should it be fixed? &amp;nbsp;Should we be searching for PKG_ADD files in
&lt;br&gt;private directories? &amp;nbsp;I guess that currently we are only looking for
&lt;br&gt;PKG_ADD files in directories that actually appear in the load-path and
&lt;br&gt;since private directories don't appear explicitly, we don't search for
&lt;br&gt;PKG_ADD files there.
&lt;br&gt;&lt;br&gt;| As the oct-file basically does all of the work an alternative might be 
&lt;br&gt;| to have the OOP code in the oct-file itself and get rid of the mfiles. 
&lt;br&gt;| The mfiles in this changeset basically pass off all of the work to the 
&lt;br&gt;| underlying oct-file. However, I don't see how to do this within the 
&lt;br&gt;| build process. Ideas?
&lt;br&gt;&lt;br&gt;Does it work to create
&lt;br&gt;&lt;br&gt;&amp;nbsp; ${octfiledir}/@ftp/{__ftp__.oct,PKG_ADD}
&lt;br&gt;&lt;br&gt;and have the PKG_ADD file provide the autoloads for the individual
&lt;br&gt;function names? &amp;nbsp;Then we would still be relying on the user to
&lt;br&gt;recognize that __ftp__ is an internal function instead of enforcing it
&lt;br&gt;with the private directory structure.
&lt;br&gt;&lt;br&gt;Or are you asking how should the ${octfiledir}/@ftp subdirectory be
&lt;br&gt;created within the current build scheme? &amp;nbsp;I could help with that if we
&lt;br&gt;decide that is needed.
&lt;br&gt;&lt;br&gt;| What I did in the attached package was to just make the oct-files 
&lt;br&gt;| callable anywhere even though they are only useful for the ftp objects 
&lt;br&gt;| and added the code to urlwrite.cc so that code might be shared with 
&lt;br&gt;| these functions. This avoids needing to fix the private directories with 
&lt;br&gt;| oct-files and autoloading, but adds yet more functions starting with __ 
&lt;br&gt;| to the global function name space. The advantage for this is that 
&lt;br&gt;| nothing special needs to be done for the oct-file installation to put 
&lt;br&gt;| them in a different directory than normal. This is what this changeset 
&lt;br&gt;| implements
&lt;br&gt;&lt;br&gt;I think this is OK for now, but I would like to move the __x__
&lt;br&gt;functions to private directories, so we need to discuss and decide how
&lt;br&gt;best to handle private .oct files and also whether the .oct files
&lt;br&gt;should be somehow grouped together with corresponding .m files (i.e.,
&lt;br&gt;should we implement some kind of merged directories for the load-path
&lt;br&gt;searching code so that we can keep architecture dependent and
&lt;br&gt;independent files separate but have the load-path searching code see
&lt;br&gt;certain directories as belonging together?).
&lt;br&gt;&lt;br&gt;| The next issue &amp;nbsp;I have is how do I document an OOP class in the octave 
&lt;br&gt;| manual that overloads existing functions like cd, delete, close, mkdir, 
&lt;br&gt;| rmdir, etc? I can't use DOCSTRING on the OOP methods so basically all I 
&lt;br&gt;| can do is include the non overloaded functions and write a bit of text 
&lt;br&gt;| around those the explain the rest. Is there a better way? In any case 
&lt;br&gt;| there are a number of duplication errors signaled in the creation of the 
&lt;br&gt;| DOCSTRING file, but these don't stop the build itself.
&lt;br&gt;&lt;br&gt;How about the following change?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/1506a17832c9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/1506a17832c9&lt;/a&gt;&lt;br&gt;&lt;br&gt;With it, you can use
&lt;br&gt;&lt;br&gt;&amp;nbsp; @DOCSTRING(@ftp/ascii)
&lt;br&gt;&lt;br&gt;to reference the docstrings in the .txi files.
&lt;br&gt;&lt;br&gt;| Another question is should I store the password in the FTP object? If I 
&lt;br&gt;| want to be able to save the FTP objects to a file and have them work 
&lt;br&gt;| when reloaded, then this is needed. However, it can represent a security 
&lt;br&gt;| risk, though not much of a one as the password is stored in the octave 
&lt;br&gt;| history when the handle was first created. Should I care?
&lt;br&gt;&lt;br&gt;What does Matlab do? &amp;nbsp;Should we try to make it possible for someone to
&lt;br&gt;load an ftp object in Octave that was saved in a Matlab session?
&lt;br&gt;&lt;br&gt;| PS: I create the curl_handle class in __ftp__.cc such that it might be 
&lt;br&gt;| reused for urlread and urlwrite and reduce the code duplication between 
&lt;br&gt;| this existing code and the ftp objects and used this in the urlread and 
&lt;br&gt;| urlwrite functions.
&lt;br&gt;&lt;br&gt;OK. &amp;nbsp;You know I am almost always in favor of eliminating duplicate
&lt;br&gt;code...
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FTP-objects-tp26436949p26580710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26579638</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-30T10:34:01Z</published>
	<updated>2009-11-30T10:34:01Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 28-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&lt;br&gt;| On 11/28/09 5:19 PM, Rik wrote:
&lt;br&gt;| &amp;gt; The procedure I follow to verify my patches
&lt;br&gt;| &amp;gt; has been to clone a new tree from savannah, run autogen.sh, run
&lt;br&gt;| &amp;gt; configure, and then run make. &amp;nbsp;This avoids any cruft that may have built
&lt;br&gt;| &amp;gt; up in the source tree.
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;| This is what I did, and none of the .texi files got generated. &amp;nbsp;but,
&lt;br&gt;| cd doc/interpreter; make &amp;nbsp;xxx.texi would create the .txi. &amp;nbsp;Also, I
&lt;br&gt;| found that if &amp;quot;old&amp;quot; .texi files were present the make updated them.
&lt;br&gt;| So, now my builds run fine -- until I do a new clone. &amp;nbsp;For now,
&lt;br&gt;| I will save the old .texi files and copy them into a new clone.
&lt;br&gt;&lt;br&gt;I checked in the following change. &amp;nbsp;Does it fix the problem for you?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/81c5ea6ddf81&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26579638.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26579653</id>
	<title>Little documentation bug</title>
	<published>2009-11-30T10:33:05Z</published>
	<updated>2009-11-30T10:33:05Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 29-Nov-2009, Eus wrote:
&lt;br&gt;&lt;br&gt;| Mind to check in the attached patch regarding a typo in inverse 2D FFT?
&lt;br&gt;&lt;br&gt;I fixed the ifft2 docstring.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Little-documentation-bug-tp26561007p26579653.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26579632</id>
	<title>Additional item in build /doc/interpreter problems</title>
	<published>2009-11-30T10:31:11Z</published>
	<updated>2009-11-30T10:31:11Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 30-Nov-2009, Michael Godfrey wrote:
&lt;br&gt;&lt;br&gt;| I have made the build run through, but there
&lt;br&gt;| is a remaining error which I think is not part of
&lt;br&gt;| the problem of building the *.texi files. The error
&lt;br&gt;| message is:
&lt;br&gt;| /home/godfrey/mdg/software/octave/devel/hg/octave/doc/interpreter//arith.texi:838:
&lt;br&gt;| Cross reference to nonexistent node `doc-dot' (perhaps incorrect
&lt;br&gt;| sectioning?).
&lt;br&gt;| makeinfo: Removing output file
&lt;br&gt;| `/home/godfrey/mdg/software/octave/devel/hg/octave/doc/interpreter/octave.htp/index.html'
&lt;br&gt;| due to errors; use --force to preserve.
&lt;br&gt;| make[3]: [octave.html] Error 1 (ignored)
&lt;br&gt;&lt;br&gt;The docstring for dot should be in the src/DOCSTRINGS file. &amp;nbsp;Is it
&lt;br&gt;there?
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Additional-item-in-build--doc-interpreter-problems-tp26572958p26579632.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26578906</id>
	<title>Add image support for fltk printing</title>
	<published>2009-11-30T09:45:07Z</published>
	<updated>2009-11-30T09:45:07Z</updated>
	<author>
		<name>shaiay</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;The attached changeset implements image printing using the fltk
&lt;br&gt;backend (and as a bonus fixes a bug in the gl-renderer image support
&lt;br&gt;that prevented display of images with width and/or height of 1). There
&lt;br&gt;is some problem with how the gl2ps library decides if something
&lt;br&gt;obscures an image so sometimes the axis background will obsecure the
&lt;br&gt;image in ps file (i.e. the image won't be shown ...).
&lt;br&gt;I do not know of an easy fix.
&lt;br&gt;&lt;br&gt;Also, images are stored in the ps file as uncompressed 24 bit per
&lt;br&gt;pixel hex strings, so beware of printing large images (e.g. each image
&lt;br&gt;megapixel will take 6MB in the ps file)
&lt;br&gt;&lt;br&gt;Shai
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;gl2ps_images.changeset&lt;/strong&gt; (8K) &lt;a href=&quot;http://old.nabble.com/attachment/26578906/0/gl2ps_images.changeset&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Add-image-support-for-fltk-printing-tp26578906p26578906.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572958</id>
	<title>Additional item in build /doc/interpreter problems</title>
	<published>2009-11-30T03:07:52Z</published>
	<updated>2009-11-30T03:07:52Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">I have made the build run through, but there
&lt;br&gt;is a remaining error which I think is not part of
&lt;br&gt;the problem of building the *.texi files. The error
&lt;br&gt;message is:
&lt;br&gt;/home/godfrey/mdg/software/octave/devel/hg/octave/doc/interpreter//arith.texi:838:
&lt;br&gt;Cross reference to nonexistent node `doc-dot' (perhaps incorrect
&lt;br&gt;sectioning?).
&lt;br&gt;makeinfo: Removing output file
&lt;br&gt;`/home/godfrey/mdg/software/octave/devel/hg/octave/doc/interpreter/octave.htp/index.html'
&lt;br&gt;due to errors; use --force to preserve.
&lt;br&gt;make[3]: [octave.html] Error 1 (ignored)
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Additional-item-in-build--doc-interpreter-problems-tp26572958p26572958.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565514</id>
	<title>Re: small graphics fixes</title>
	<published>2009-11-29T12:06:46Z</published>
	<updated>2009-11-29T12:06:46Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">On 11/29/09 8:22 PM, Shai Ayal wrote:
&lt;br&gt;&amp;gt; Maybe it's the nx server? I don't have a clue.
&lt;br&gt;&amp;gt; You say that previous builds work. Do they work now or did they work before?
&lt;br&gt;&amp;gt; can you try glxgears to see if opengl is working?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;glxgears works. &amp;nbsp; And, the &amp;quot;old&amp;quot; build from 24 November works now and it 
&lt;br&gt;worked
&lt;br&gt;when the current build was failing (See below!!). &amp;nbsp;Also,
&lt;br&gt;what I meant by &amp;quot;no plot&amp;quot; &amp;nbsp;the frame came up (with A &amp;nbsp;G along the 
&lt;br&gt;bottom), but the
&lt;br&gt;data and axes were not drawn.
&lt;br&gt;&lt;br&gt;However, I have real news. &amp;nbsp;Now it works. &amp;nbsp;I really have no idea what fixed
&lt;br&gt;it. &amp;nbsp;I am running in the same NX session as before: I just disconnected and
&lt;br&gt;reconnected -- &amp;nbsp;this brings back exactly the state when I disconnected.
&lt;br&gt;The only thing I did was run glxgears!!!
&lt;br&gt;&lt;br&gt;My experience with openGL is that it does lots of neat stuff, but it has 
&lt;br&gt;some
&lt;br&gt;deep mysteries. &amp;nbsp; Also, I have an application which causes openGL to 
&lt;br&gt;cause X11
&lt;br&gt;to segfault -- end of X11. &amp;nbsp; I documented this fully and sent it in, but 
&lt;br&gt;they just
&lt;br&gt;decided it was too hard, or not worth fixing.
&lt;br&gt;&lt;br&gt;Back to Octave. &amp;nbsp;If it fails again I will try to figure something out before
&lt;br&gt;it starts working again. &amp;nbsp;As I think of what could have gone wrong, I 
&lt;br&gt;suspect
&lt;br&gt;X11 as much as openGL or Octave...
&lt;br&gt;I looked around my server system: nothing obvious in system logs, etc.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Michael
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26565514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565439</id>
	<title>Re: Scale change for Plot Figures in the Manual</title>
	<published>2009-11-29T11:56:00Z</published>
	<updated>2009-11-29T11:56:00Z</updated>
	<author>
		<name>Ben Abbott</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 28, 2009, at 5:05 PM, Ben Abbott wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Nov 28, 2009, at 4:27 PM, John W. Eaton wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On 27-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; | I looked at the current octave.pdf to see if my method
&lt;br&gt;&amp;gt;&amp;gt; | of recovering from the doc/interpreter build problem had
&lt;br&gt;&amp;gt;&amp;gt; | worked. &amp;nbsp;This caused me to notice that the Figures in the
&lt;br&gt;&amp;gt;&amp;gt; | Plotting Chapter are now about 1/5 intended size. &amp;nbsp;I looked
&lt;br&gt;&amp;gt;&amp;gt; | back at a Manual generated on 23 November. &amp;nbsp;(Before the
&lt;br&gt;&amp;gt;&amp;gt; | build problem.) &amp;nbsp;It shows the same scale problem.
&lt;br&gt;&amp;gt;&amp;gt; | 
&lt;br&gt;&amp;gt;&amp;gt; | I believe that the build script always uses octave -f, so
&lt;br&gt;&amp;gt;&amp;gt; | the problem is probably not due to my having backend(&amp;quot;fltk&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; | in my .octaverc file.
&lt;br&gt;&amp;gt;&amp;gt; | 
&lt;br&gt;&amp;gt;&amp;gt; | Is this problem happening to others?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Yes, it seems that we are now using
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; print -dpdf
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; to create the PDF files and the resulting output is not cropped
&lt;br&gt;&amp;gt;&amp;gt; tightly around teh bounding box of the figure.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; If that is what the -dpdf option is supposed to do, then I guess we
&lt;br&gt;&amp;gt;&amp;gt; should probably just have the &amp;nbsp;Makefile produce .eps files and then
&lt;br&gt;&amp;gt;&amp;gt; convert them to formats we need instead of using Octave's print
&lt;br&gt;&amp;gt;&amp;gt; function to generate the various formats.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; jwe
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;print -dpdf&amp;quot; should output the size of which is defined by the &amp;quot;pagesize&amp;quot; property.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Seeing this reminded me that we'd discussed this some months ago. See the thread below.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://old.nabble.com/printing-figures-with-development-version-td22746152.html#a22835985&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/printing-figures-with-development-version-td22746152.html#a22835985&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem can be resolved by switching to eps. However, it is possible that the axes labels may be clipped. In that case, the pdf size may be specified by changing the defualtpapersize and defaultpaperposition prior to generating the pdfs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;image_size = [6.4, 4.8]; % in inches 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;border = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set (0, &amp;quot;defaultfigurepapertype&amp;quot;, &amp;quot;&amp;lt;custom&amp;gt;&amp;quot;) 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set (0, &amp;quot;defaultfigurepapersize&amp;quot;, image_size + 2*border) 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set (0, &amp;quot;defaultfigurepaperposition&amp;quot;, [border, border, image_size]) 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If the axes labels for the pdf get cut off, the &amp;quot;border&amp;quot; may be increased.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ben
&lt;/div&gt;&lt;/div&gt;The changeset below looks like it was the result of the thread above.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/diff/77e71f3da3d6/doc/interpreter/plotimages.m&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/diff/77e71f3da3d6/doc/interpreter/plotimages.m&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'm unfamiliar with how the documentation is created, but It appears to me that the files below need to have similar changes.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/log/cddd5c3d5f04/doc/interpreter/geometryimages.m&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/log/cddd5c3d5f04/doc/interpreter/geometryimages.m&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/log/cddd5c3d5f04/doc/interpreter/interpimages.m&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/log/cddd5c3d5f04/doc/interpreter/interpimages.m&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/log/cddd5c3d5f04/doc/interpreter/sparseimages.m&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/log/cddd5c3d5f04/doc/interpreter/sparseimages.m&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'm presently unable to build the developers version of octave. &amp;nbsp;Can someone tell me if the attached works?
&lt;br&gt;&lt;br&gt;Ben
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;changeset.patch&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26565439/0/changeset.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scale-change-for-Plot-Figures-in-the-Manual-tp26547929p26565439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562840</id>
	<title>Re: small graphics fixes</title>
	<published>2009-11-29T07:10:33Z</published>
	<updated>2009-11-29T07:10:33Z</updated>
	<author>
		<name>shaiay</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 5:08 PM, Michael D. Godfrey
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562840&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;godfrey@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 11/27/09 9:21 PM, Shai Ayal wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I attach a changeset with 3 small changes:
&lt;br&gt;&amp;gt;&amp;gt; 1. typo fix
&lt;br&gt;&amp;gt;&amp;gt; 2. change rendering order in gl-renderer so that the list of children
&lt;br&gt;&amp;gt;&amp;gt; is drawn from end to start -- the first child in the list should  be
&lt;br&gt;&amp;gt;&amp;gt; on top of the others
&lt;br&gt;&amp;gt;&amp;gt; 3. change colorbar from an image to a surface. while using an image is
&lt;br&gt;&amp;gt;&amp;gt; more concise, using a surface has the advantage of working with the
&lt;br&gt;&amp;gt;&amp;gt; current gl-renderer, and with gl2ps, so that it will appear in the
&lt;br&gt;&amp;gt;&amp;gt; postscript output.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In my previous email I meant to make clear that the above is the changeset
&lt;br&gt;&amp;gt; that is
&lt;br&gt;&amp;gt; suspicious for me.
&lt;/div&gt;It works fine for me.
&lt;br&gt;what's your graphics setup? what is the output of
&lt;br&gt;glxinfo | grep renderer
&lt;br&gt;&lt;br&gt;I have it working with both nvidia and Mesa X11
&lt;br&gt;Shai
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26562840.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562828</id>
	<title>Re: small graphics fixes</title>
	<published>2009-11-29T07:08:38Z</published>
	<updated>2009-11-29T07:08:38Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">On 11/27/09 9:21 PM, Shai Ayal wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I attach a changeset with 3 small changes:
&lt;br&gt;&amp;gt; 1. typo fix
&lt;br&gt;&amp;gt; 2. change rendering order in gl-renderer so that the list of children
&lt;br&gt;&amp;gt; is drawn from end to start -- the first child in the list should &amp;nbsp;be
&lt;br&gt;&amp;gt; on top of the others
&lt;br&gt;&amp;gt; 3. change colorbar from an image to a surface. while using an image is
&lt;br&gt;&amp;gt; more concise, using a surface has the advantage of working with the
&lt;br&gt;&amp;gt; current gl-renderer, and with gl2ps, so that it will appear in the
&lt;br&gt;&amp;gt; postscript output.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;In my previous email I meant to make clear that the above is the 
&lt;br&gt;changeset that is
&lt;br&gt;suspicious for me.
&lt;br&gt;&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26562828.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562585</id>
	<title>Re: small graphics fixes</title>
	<published>2009-11-29T06:36:23Z</published>
	<updated>2009-11-29T06:36:23Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">Shai,
&lt;br&gt;&lt;br&gt;I am pretty sure that this is the changeset that has the effect,
&lt;br&gt;for me, of producing a blank plot for:
&lt;br&gt;plot([1:200])
&lt;br&gt;xlabel(&amp;quot;xxx label&amp;quot;)
&lt;br&gt;&lt;br&gt;No contents appear. &amp;nbsp; A build from 24 November works fine.
&lt;br&gt;&lt;br&gt;Sorry,
&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26562585.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26561007</id>
	<title>Little documentation bug</title>
	<published>2009-11-29T03:01:33Z</published>
	<updated>2009-11-29T03:01:33Z</updated>
	<author>
		<name>Eus-2</name>
	</author>
	<content type="html">HiHo!
&lt;br&gt;&lt;br&gt;Mind to check in the attached patch regarding a typo in inverse 2D FFT?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;PS: Please put me in the CC when replying since I am not subscribed to
&lt;br&gt;the mailing list.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Eus (FSF member #4445)
&lt;br&gt;&lt;br&gt;In this digital era, where computing technology is pervasive, your
&lt;br&gt;freedom depends on the software controlling those computing devices.
&lt;br&gt;&lt;br&gt;Join free software movement today! It is free as in freedom, not as in
&lt;br&gt;free beer!
&lt;br&gt;&lt;br&gt;Join: &lt;a href=&quot;http://www.fsf.org/jf?referrer=4445&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fsf.org/jf?referrer=4445&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -r cddd5c3d5f04 src/DLD-FUNCTIONS/fft2.cc
&lt;br&gt;--- a/src/DLD-FUNCTIONS/fft2.cc	Sun Nov 29 07:51:15 2009 +0100
&lt;br&gt;+++ b/src/DLD-FUNCTIONS/fft2.cc	Sun Nov 29 11:53:26 2009 +0100
&lt;br&gt;@@ -189,7 +189,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DEFUN_DLD (ifft2, args, ,
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;quot;-*- texinfo -*-\n\
&lt;br&gt;-@deftypefn {Loadable Function} {} fft2 (@var{a}, @var{n}, @var{m})\n\
&lt;br&gt;+@deftypefn {Loadable Function} {} ifft2 (@var{a}, @var{n}, @var{m})\n\
&lt;br&gt;&amp;nbsp;Compute the inverse two-dimensional FFT of @var{a} using subroutines from\n&amp;quot;
&lt;br&gt;&amp;nbsp;FFTSRC
&lt;br&gt;&amp;nbsp;&amp;quot;. &amp;nbsp;The optional arguments @var{n} and @var{m} may be used specify the\n\
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Little-documentation-bug-tp26561007p26561007.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557374</id>
	<title>Re: Scale change for Plot Figures in the Manual</title>
	<published>2009-11-28T14:05:45Z</published>
	<updated>2009-11-28T14:05:45Z</updated>
	<author>
		<name>Ben Abbott</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 28, 2009, at 4:27 PM, John W. Eaton wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 27-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; | I looked at the current octave.pdf to see if my method
&lt;br&gt;&amp;gt; | of recovering from the doc/interpreter build problem had
&lt;br&gt;&amp;gt; | worked. &amp;nbsp;This caused me to notice that the Figures in the
&lt;br&gt;&amp;gt; | Plotting Chapter are now about 1/5 intended size. &amp;nbsp;I looked
&lt;br&gt;&amp;gt; | back at a Manual generated on 23 November. &amp;nbsp;(Before the
&lt;br&gt;&amp;gt; | build problem.) &amp;nbsp;It shows the same scale problem.
&lt;br&gt;&amp;gt; | 
&lt;br&gt;&amp;gt; | I believe that the build script always uses octave -f, so
&lt;br&gt;&amp;gt; | the problem is probably not due to my having backend(&amp;quot;fltk&amp;quot;)
&lt;br&gt;&amp;gt; | in my .octaverc file.
&lt;br&gt;&amp;gt; | 
&lt;br&gt;&amp;gt; | Is this problem happening to others?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, it seems that we are now using
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;print -dpdf
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; to create the PDF files and the resulting output is not cropped
&lt;br&gt;&amp;gt; tightly around teh bounding box of the figure.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If that is what the -dpdf option is supposed to do, then I guess we
&lt;br&gt;&amp;gt; should probably just have the &amp;nbsp;Makefile produce .eps files and then
&lt;br&gt;&amp;gt; convert them to formats we need instead of using Octave's print
&lt;br&gt;&amp;gt; function to generate the various formats.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jwe
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;quot;print -dpdf&amp;quot; should output the size of which is defined by the &amp;quot;pagesize&amp;quot; property.
&lt;br&gt;&lt;br&gt;Seeing this reminded me that we'd discussed this some months ago. See the thread below.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/printing-figures-with-development-version-td22746152.html#a22835985&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/printing-figures-with-development-version-td22746152.html#a22835985&lt;/a&gt;&lt;br&gt;&lt;br&gt;The problem can be resolved by switching to eps. However, it is possible that the axes labels may be clipped. In that case, the pdf size may be specified by changing the defualtpapersize and defaultpaperposition prior to generating the pdfs.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; image_size = [6.4, 4.8]; % in inches 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; border = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set (0, &amp;quot;defaultfigurepapertype&amp;quot;, &amp;quot;&amp;lt;custom&amp;gt;&amp;quot;) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set (0, &amp;quot;defaultfigurepapersize&amp;quot;, image_size + 2*border) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set (0, &amp;quot;defaultfigurepaperposition&amp;quot;, [border, border, image_size]) 
&lt;br&gt;&lt;br&gt;If the axes labels for the pdf get cut off, the &amp;quot;border&amp;quot; may be increased.
&lt;br&gt;&lt;br&gt;Ben
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scale-change-for-Plot-Figures-in-the-Manual-tp26547929p26557374.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557118</id>
	<title>Scale change for Plot Figures in the Manual</title>
	<published>2009-11-28T13:27:51Z</published>
	<updated>2009-11-28T13:27:51Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 27-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&lt;br&gt;| I looked at the current octave.pdf to see if my method
&lt;br&gt;| of recovering from the doc/interpreter build problem had
&lt;br&gt;| worked. &amp;nbsp;This caused me to notice that the Figures in the
&lt;br&gt;| Plotting Chapter are now about 1/5 intended size. &amp;nbsp;I looked
&lt;br&gt;| back at a Manual generated on 23 November. &amp;nbsp;(Before the
&lt;br&gt;| build problem.) &amp;nbsp;It shows the same scale problem.
&lt;br&gt;| 
&lt;br&gt;| I believe that the build script always uses octave -f, so
&lt;br&gt;| the problem is probably not due to my having backend(&amp;quot;fltk&amp;quot;)
&lt;br&gt;| in my .octaverc file.
&lt;br&gt;| 
&lt;br&gt;| Is this problem happening to others?
&lt;br&gt;&lt;br&gt;Yes, it seems that we are now using
&lt;br&gt;&lt;br&gt;&amp;nbsp; print -dpdf
&lt;br&gt;&lt;br&gt;to create the PDF files and the resulting output is not cropped
&lt;br&gt;tightly around teh bounding box of the figure.
&lt;br&gt;&lt;br&gt;If that is what the -dpdf option is supposed to do, then I guess we
&lt;br&gt;should probably just have the &amp;nbsp;Makefile produce .eps files and then
&lt;br&gt;convert them to formats we need instead of using Octave's print
&lt;br&gt;function to generate the various formats.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scale-change-for-Plot-Figures-in-the-Manual-tp26547929p26557118.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557048</id>
	<title>Re: new major release? (was: Re: 3.2.4 call for patches)</title>
	<published>2009-11-28T13:16:20Z</published>
	<updated>2009-11-28T13:16:20Z</updated>
	<author>
		<name>Ben Abbott</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 28, 2009, at 2:51 PM, John W. Eaton wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 28-Nov-2009, Shai Ayal wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; | On Wed, Nov 25, 2009 at 11:11 PM, John W. Eaton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557048&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; | &amp;gt; There is also the
&lt;br&gt;&amp;gt; | &amp;gt;
&lt;br&gt;&amp;gt; | &amp;gt; &amp;nbsp;addproperty: a `textlist' property already exists in the graphics object
&lt;br&gt;&amp;gt; | &amp;gt;
&lt;br&gt;&amp;gt; | &amp;gt; bug.
&lt;br&gt;&amp;gt; | &amp;gt;
&lt;br&gt;&amp;gt; | How do you reproduce this bug?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Running
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;demo clabel
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; does it for me:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;octave:1&amp;gt; demo clabel
&lt;br&gt;&amp;gt; &amp;nbsp;clabel example 1:
&lt;br&gt;&amp;gt; &amp;nbsp; clf
&lt;br&gt;&amp;gt; &amp;nbsp; [c, h] = contour (peaks(), -4 : 6);
&lt;br&gt;&amp;gt; &amp;nbsp; clabel (c, h, -4 : 2 : 6, 'fontsize', 12);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;Press &amp;lt;enter&amp;gt; to continue: 
&lt;br&gt;&amp;gt; &amp;nbsp;clabel example 2:
&lt;br&gt;&amp;gt; &amp;nbsp; clf
&lt;br&gt;&amp;gt; &amp;nbsp; [c, h] = contourf (peaks(), -7 : 6);
&lt;br&gt;&amp;gt; &amp;nbsp; clabel (c, h, -6 : 2 : 6, 'fontsize', 12);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;clabel example 2: failed
&lt;br&gt;&amp;gt; &amp;nbsp;addproperty: a `textlist' property already exists in the graphics object
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is independent of which graphics backend is used.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jwe
&lt;/div&gt;&lt;br&gt;Soren noticed a similar (same?) bug some weeks ago.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/%60__pixels_per_inch__%27-property-already-exists-p26049817.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/%60__pixels_per_inch__%27-property-already-exists-p26049817.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Ben
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26557048.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556926</id>
	<title>Re: small graphics fixes</title>
	<published>2009-11-28T12:56:28Z</published>
	<updated>2009-11-28T12:56:28Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 28-Nov-2009, Shai Ayal wrote:
&lt;br&gt;&lt;br&gt;| I attach another small changeset which implements indexed images. Like
&lt;br&gt;| many other changes I submitted, this actually consisted of much
&lt;br&gt;| planning, followed by a lot of browsing through code to see how to do
&lt;br&gt;| it, and then finding out that Michael Goffioul already though of it
&lt;br&gt;| and I just have to use his functions :)
&lt;br&gt;| In this case, adding indexed image suppoert consisting of changing
&lt;br&gt;| just one line (actually just one word: cdata -&amp;gt; color_data)
&lt;br&gt;&lt;br&gt;I applied this change.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26556926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556923</id>
	<title>small graphics fixes</title>
	<published>2009-11-28T12:55:54Z</published>
	<updated>2009-11-28T12:55:54Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 27-Nov-2009, Shai Ayal wrote:
&lt;br&gt;&lt;br&gt;| I attach a changeset with 3 small changes:
&lt;br&gt;| 1. typo fix
&lt;br&gt;| 2. change rendering order in gl-renderer so that the list of children
&lt;br&gt;| is drawn from end to start -- the first child in the list should &amp;nbsp;be
&lt;br&gt;| on top of the others
&lt;br&gt;| 3. change colorbar from an image to a surface. while using an image is
&lt;br&gt;| more concise, using a surface has the advantage of working with the
&lt;br&gt;| current gl-renderer, and with gl2ps, so that it will appear in the
&lt;br&gt;| postscript output.
&lt;br&gt;| 
&lt;br&gt;| I plan to begin indexed image support in the gl-renderer (but I'm
&lt;br&gt;| afraid it will still have problems converting to postscript).
&lt;br&gt;| Also, a lot of graphics scripts are not backend-agnostic and contain
&lt;br&gt;| many gnuplot specifics -- most notably. print.m I think they should be
&lt;br&gt;| seperated into backend specific and backend agnostic parts. I will try
&lt;br&gt;| to do this myself, but any help would be appreciated.
&lt;br&gt;&lt;br&gt;I applied the patch to gl-render.h and graphics.cc, but not the change
&lt;br&gt;to the colorbar function.
&lt;br&gt;&lt;br&gt;Switching the colorbar to a surface doesn't work for the gnuplot
&lt;br&gt;backend (see the attached images). &amp;nbsp;This may be a bug in the gnuplot
&lt;br&gt;backend, but since the colorbar should be an image object for
&lt;br&gt;compatibility with Matlab, I don't think we should change it to a
&lt;br&gt;surface object in Octave.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;before.png&lt;/strong&gt; (14K) &lt;a href=&quot;http://old.nabble.com/attachment/26556923/0/before.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;after.png&lt;/strong&gt; (14K) &lt;a href=&quot;http://old.nabble.com/attachment/26556923/1/after.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26556923.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556427</id>
	<title>Re: FYI: smarter indexing by logical masks</title>
	<published>2009-11-28T11:55:51Z</published>
	<updated>2009-11-28T11:55:51Z</updated>
	<author>
		<name>Judd Storrs</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 1:23 AM, Jaroslav Hajek &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26556427&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;highegg@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Not really. Let me explain how this works (not in 3.2.x though). When a
&lt;br&gt;&amp;gt; matrix is first used in index expression, the internal conversion to
&lt;br&gt;&amp;gt; index_vector is, if successful, cached for subsequent uses.
&lt;br&gt;&lt;br&gt;That is even better. I didn't pick up on octave caching the result in
&lt;br&gt;your first email. Now I don't even have to do that manually anymore
&lt;br&gt;which is also a huge deal! :) When you were reporting the two times in
&lt;br&gt;your benchmark, I misunderstood and thought that was about filling the
&lt;br&gt;CPU cache/conditioning along the lines of timeit.m
&lt;br&gt;&lt;a href=&quot;http://blogs.mathworks.com/steve/2008/02/29/timing-code-in-matlab/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.mathworks.com/steve/2008/02/29/timing-code-in-matlab/&lt;/a&gt;&lt;br&gt;&lt;br&gt;find() returning doubles is yet another case of WWMWT that I hadn't
&lt;br&gt;noticed. In a sane world index vectors would map immediately to one of
&lt;br&gt;the integer array types based on the architecture. At least that's how
&lt;br&gt;it works in IDL. But you're right, Matlab returns doubles. WITWWMWT D:
&lt;br&gt;&lt;br&gt;Great work!
&lt;br&gt;&lt;br&gt;&lt;br&gt;--judd
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FYI%3A-smarter-indexing-by-logical-masks-tp26547559p26556427.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556410</id>
	<title>Re: new major release? (was: Re: 3.2.4 call for patches)</title>
	<published>2009-11-28T11:51:54Z</published>
	<updated>2009-11-28T11:51:54Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 28-Nov-2009, Shai Ayal wrote:
&lt;br&gt;&lt;br&gt;| On Wed, Nov 25, 2009 at 11:11 PM, John W. Eaton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26556410&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;| &amp;gt; There is also the
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; &amp;nbsp;addproperty: a `textlist' property already exists in the graphics object
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; bug.
&lt;br&gt;| &amp;gt;
&lt;br&gt;| How do you reproduce this bug?
&lt;br&gt;&lt;br&gt;Running
&lt;br&gt;&lt;br&gt;&amp;nbsp; demo clabel
&lt;br&gt;&lt;br&gt;does it for me:
&lt;br&gt;&lt;br&gt;&amp;nbsp; octave:1&amp;gt; demo clabel
&lt;br&gt;&amp;nbsp; clabel example 1:
&lt;br&gt;&amp;nbsp; &amp;nbsp;clf
&lt;br&gt;&amp;nbsp; &amp;nbsp;[c, h] = contour (peaks(), -4 : 6);
&lt;br&gt;&amp;nbsp; &amp;nbsp;clabel (c, h, -4 : 2 : 6, 'fontsize', 12);
&lt;br&gt;&lt;br&gt;&amp;nbsp; Press &amp;lt;enter&amp;gt; to continue: 
&lt;br&gt;&amp;nbsp; clabel example 2:
&lt;br&gt;&amp;nbsp; &amp;nbsp;clf
&lt;br&gt;&amp;nbsp; &amp;nbsp;[c, h] = contourf (peaks(), -7 : 6);
&lt;br&gt;&amp;nbsp; &amp;nbsp;clabel (c, h, -6 : 2 : 6, 'fontsize', 12);
&lt;br&gt;&lt;br&gt;&amp;nbsp; clabel example 2: failed
&lt;br&gt;&amp;nbsp; addproperty: a `textlist' property already exists in the graphics object
&lt;br&gt;&lt;br&gt;This is independent of which graphics backend is used.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26556410.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556031</id>
	<title>Re: new major release? (was: Re: 3.2.4 call for patches)</title>
	<published>2009-11-28T11:06:04Z</published>
	<updated>2009-11-28T11:06:04Z</updated>
	<author>
		<name>shaiay</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 11:11 PM, John W. Eaton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26556031&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; There is also the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  addproperty: a `textlist' property already exists in the graphics object
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; bug.
&lt;br&gt;&amp;gt;
&lt;br&gt;How do you reproduce this bug?
&lt;br&gt;&lt;br&gt;Shai
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26556031.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555027</id>
	<title>Re: small graphics fixes</title>
	<published>2009-11-28T09:18:49Z</published>
	<updated>2009-11-28T09:18:49Z</updated>
	<author>
		<name>shaiay</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 10:21 PM, Shai Ayal &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555027&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shaiay@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I attach a changeset with 3 small changes:
&lt;br&gt;&amp;gt; 1. typo fix
&lt;br&gt;&amp;gt; 2. change rendering order in gl-renderer so that the list of children
&lt;br&gt;&amp;gt; is drawn from end to start -- the first child in the list should  be
&lt;br&gt;&amp;gt; on top of the others
&lt;br&gt;&amp;gt; 3. change colorbar from an image to a surface. while using an image is
&lt;br&gt;&amp;gt; more concise, using a surface has the advantage of working with the
&lt;br&gt;&amp;gt; current gl-renderer, and with gl2ps, so that it will appear in the
&lt;br&gt;&amp;gt; postscript output.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I plan to begin indexed image support in the gl-renderer (but I'm
&lt;br&gt;&amp;gt; afraid it will still have problems converting to postscript).
&lt;br&gt;&amp;gt; Also, a lot of graphics scripts are not backend-agnostic and contain
&lt;br&gt;&amp;gt; many gnuplot specifics -- most notably. print.m I think they should be
&lt;br&gt;&amp;gt; seperated into backend specific and backend agnostic parts. I will try
&lt;br&gt;&amp;gt; to do this myself, but any help would be appreciated.
&lt;br&gt;&amp;gt;
&lt;/div&gt;I attach another small changeset which implements indexed images. Like
&lt;/div&gt;many other changes I submitted, this actually consisted of much
&lt;br&gt;planning, followed by a lot of browsing through code to see how to do
&lt;br&gt;it, and then finding out that Michael Goffioul already though of it
&lt;br&gt;and I just have to use his functions :)
&lt;br&gt;In this case, adding indexed image suppoert consisting of changing
&lt;br&gt;just one line (actually just one word: cdata -&amp;gt; color_data)
&lt;br&gt;&lt;br&gt;Together with my previous changeset to colorbar, the colorbar demos
&lt;br&gt;now work under fltk on-screen.
&lt;br&gt;&lt;br&gt;Shai
&lt;br&gt;&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;various_graphics.changeset&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26555027/0/various_graphics.changeset&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;indexed_images.changeset&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26555027/1/indexed_images.changeset&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/small-graphics-fixes-tp26547361p26555027.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26554711</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-28T08:42:06Z</published>
	<updated>2009-11-28T08:42:06Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">On 11/28/09 5:19 PM, Rik wrote:
&lt;br&gt;&amp;gt; The procedure I follow to verify my patches
&lt;br&gt;&amp;gt; has been to clone a new tree from savannah, run autogen.sh, run
&lt;br&gt;&amp;gt; configure, and then run make. &amp;nbsp;This avoids any cruft that may have built
&lt;br&gt;&amp;gt; up in the source tree.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;This is what I did, and none of the .texi files got generated. &amp;nbsp;but,
&lt;br&gt;cd doc/interpreter; make &amp;nbsp;xxx.texi would create the .txi. &amp;nbsp;Also, I
&lt;br&gt;found that if &amp;quot;old&amp;quot; .texi files were present the make updated them.
&lt;br&gt;So, now my builds run fine -- until I do a new clone. &amp;nbsp;For now,
&lt;br&gt;I will save the old .texi files and copy them into a new clone.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26554711.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26554542</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-28T08:19:31Z</published>
	<updated>2009-11-28T08:19:31Z</updated>
	<author>
		<name>Rik-3</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject:
&lt;br&gt;&amp;gt; Re: *.texi files not generated
&lt;br&gt;&amp;gt; From:
&lt;br&gt;&amp;gt; &amp;quot;John W. Eaton&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554542&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date:
&lt;br&gt;&amp;gt; Fri, 27 Nov 2009 18:44:07 -0500
&lt;br&gt;&amp;gt; To:
&lt;br&gt;&amp;gt; &amp;quot;Michael D. Godfrey&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554542&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;godfrey@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To:
&lt;br&gt;&amp;gt; &amp;quot;Michael D. Godfrey&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554542&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;godfrey@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; CC:
&lt;br&gt;&amp;gt; Rik &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554542&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rdrider0-list@...&lt;/a&gt;&amp;gt;, octave maintainers mailing list
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554542&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maintainers@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 27-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; | On 11/27/09 5:29 PM, Ben Abbott wrote:
&lt;br&gt;&amp;gt; | &amp;gt; &amp;quot;make -i&amp;quot; doesn't generate the texi files though,
&lt;br&gt;&amp;gt; | True. &amp;nbsp;I generated them by cd doc/interpreter, then &amp;quot;make xxx.texi&amp;quot;
&lt;br&gt;&amp;gt; | would correctly generate a xxx.texi file. &amp;nbsp;I just did this in order
&lt;br&gt;&amp;gt; | to establish where to problem was.
&lt;br&gt;&amp;gt; | 
&lt;br&gt;&amp;gt; | I hope we hear from Rik fairly soon.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;My apologies. &amp;nbsp;It was the Thanksgiving holiday here in the U.S. and I
&lt;br&gt;have been away from my computer.
&lt;br&gt;&lt;br&gt;I'm hoping that this is merely a cruft issue. &amp;nbsp;A number of the changes I
&lt;br&gt;checked in touch the autotool files directly, such as Makefile.am. 
&lt;br&gt;There is a dependency mechanism that is supposed to recognize when a
&lt;br&gt;configuration file has been changed and rebuild the Makefiles, but I
&lt;br&gt;have found it to be weak. &amp;nbsp;The procedure I follow to verify my patches
&lt;br&gt;has been to clone a new tree from savannah, run autogen.sh, run
&lt;br&gt;configure, and then run make. &amp;nbsp;This avoids any cruft that may have built
&lt;br&gt;up in the source tree.
&lt;br&gt;&lt;br&gt;Eventually, changes to the build environment will settle down and we can
&lt;br&gt;stop using such extremely time-consuming build check procedures. 
&lt;br&gt;However, If you have a spare 45 minutes, I would ask you to try the
&lt;br&gt;procedure above.
&lt;br&gt;&lt;br&gt;I'm currently trying a fresh compilation with a tip downloaded today of
&lt;br&gt;9ed5f64e3959. &amp;nbsp;I'll let you know.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The problem is this change:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/02d59b67632f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/02d59b67632f&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; which split the octave_TEXINFOS variable into nodist_octave_TEXINFOS
&lt;br&gt;&amp;gt; and dist_octave_TEXINFOS. &amp;nbsp;If I understand correctly, autoconf is
&lt;br&gt;&amp;gt; supposed to recognize the dist and nodist prefixes and do some magic.
&lt;br&gt;&amp;gt; But it is not working, because no overal octave_TEXINFOS variable is
&lt;br&gt;&amp;gt; created, so in the lines
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; $(srcdir)/octave.info: $(octave_TEXINFOS) $(IMAGES_TXT) $(EXAMPLE_FILES)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; octave.dvi octave.ps: $(octave_TEXINFOS) $(IMAGES_EPS) $(EXAMPLE_FILES)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; octave.pdf: $(octave_TEXINFOS) $(IMAGES_PDF) $(EXAMPLE_FILES)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; octave.html: $(octave_TEXINFOS) $(IMAGES_PNG) $(EXAMPLE_FILES)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; which are intended to add extra dependencies for these targets,
&lt;br&gt;&amp;gt; $(octave_TEXINFOS) is empty, so there is no chain of dependencies that
&lt;br&gt;&amp;gt; forces the .texi files to be created.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe this is not the right way to specify the extra dependencies when
&lt;br&gt;&amp;gt; using autoconf. &amp;nbsp;But if there is a proper way to do it, I don't see
&lt;br&gt;&amp;gt; how. &amp;nbsp;My guess is that I just don't understand the proper way to use
&lt;br&gt;&amp;gt; autoconf, but it may also be a bug. &amp;nbsp;Either way, I guess we probably
&lt;br&gt;&amp;gt; need the help of an autoconf guru.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;The issue is conf.texi which is a derived file and should not be
&lt;br&gt;distributed. &amp;nbsp;However, by listing it as a prerequisite for octave.info
&lt;br&gt;file it looks like a source file to autotools and source files need to
&lt;br&gt;be distributed. &amp;nbsp;I worked around this by using the autotool specified
&lt;br&gt;magic of dist_ and no_dist_. &amp;nbsp;Perhaps there is not enough magic in these
&lt;br&gt;constructs, but I'm still waiting on the results of my compilation this
&lt;br&gt;morning.
&lt;br&gt;&lt;br&gt;--Rik
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26554542.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26552000</id>
	<title>Re: FTP objects</title>
	<published>2009-11-28T02:46:33Z</published>
	<updated>2009-11-28T02:46:33Z</updated>
	<author>
		<name>dbateman</name>
	</author>
	<content type="html">Ok, given no response to my questions of the way to have OOP code, I 
&lt;br&gt;merged this changeset
&lt;br&gt;&lt;br&gt;D.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FTP-objects-tp26436949p26552000.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550812</id>
	<title>Re: FYI: smarter indexing by logical masks</title>
	<published>2009-11-27T22:23:58Z</published>
	<updated>2009-11-27T22:23:58Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 28, 2009 at 6:26 AM, Judd Storrs &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;storrsjm@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
This is pretty cool!&lt;br&gt;
&lt;br&gt;
Is it possible to somehow pre-compute/convert the mask? I&amp;#39;ve often&lt;br&gt;
used find() to pre-convert a mask into index form because I think that&lt;br&gt;
improves performance when the mask is used multiple times (but it may&lt;br&gt;
have been a habit that I picked up when I was working primarily in IDL&lt;br&gt;
where this is part of the collective folk wisdom). e.g. things along&lt;br&gt;
these lines:&lt;br&gt;
&lt;br&gt;
mask = find(a &amp;gt; 0) ;&lt;br&gt;
a(mask) = b(mask) ;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Not really. Let me explain how this works (not in 3.2.x though). When a matrix is first used in index expression, the internal conversion to index_vector is, if successful, cached for subsequent uses. This optimizes usages like&lt;br&gt;
c(mask) = a(mask) + b(mask)&lt;br&gt;because the conversion of mask has only to be done once. But beware that this is still evaluated by pieces, i.e. &lt;br&gt;&lt;br&gt;aa = a(mask);&lt;br&gt;bb = b(mask);&lt;br&gt;cc = aa + bb;&lt;br&gt;c(mask) = cc;&lt;br&gt;&lt;br&gt;
This explains why find is *apparently* faster in your benchmark, because find creates the result with the index vector *already cached*. Try putting the first tic; prior to &lt;br&gt;mask = , and you will see. Also, in the last (full) section you&amp;#39;ve missed an assignment to mask:&lt;br&gt;
&amp;quot;a &amp;gt; 0.0;&amp;quot;  should be &amp;quot;mask = a &amp;gt; 0.0;&amp;quot;&lt;br&gt;&lt;br&gt;Here&amp;#39;s what I get with a corrected benchmark (the 4e7 case is too much for my home laptop):&lt;br&gt;&lt;br&gt;n = 100000&lt;br&gt;sparse mask:        1st: 0.001931, 2nd: 0.000562&lt;br&gt;
sparse mask(find):  1st: 0.001640, 2nd: 0.000611&lt;br&gt;sparse mask(where): 1st: 0.002379, 2nd: 0.000562&lt;br&gt;dense mask:         1st: 0.004646, 2nd: 0.003817&lt;br&gt;dense mask(find):   1st: 0.005676, 2nd: 0.003681&lt;br&gt;dense mask(where):  1st: 0.005042, 2nd: 0.003642&lt;br&gt;
full mask:          1st: 0.002669, 2nd: 0.001587&lt;br&gt;full mask(find):    1st: 0.006236, 2nd: 0.004371&lt;br&gt;full mask(where):   1st: 0.005657, 2nd: 0.003588&lt;br&gt;n = 1000000&lt;br&gt;sparse mask:        1st: 0.017749, 2nd: 0.009287&lt;br&gt;
sparse mask(find):  1st: 0.018799, 2nd: 0.008243&lt;br&gt;sparse mask(where): 1st: 0.016918, 2nd: 0.007967&lt;br&gt;dense mask:         1st: 0.044704, 2nd: 0.038776&lt;br&gt;dense mask(find):   1st: 0.058628, 2nd: 0.039231&lt;br&gt;dense mask(where):  1st: 0.054648, 2nd: 0.035887&lt;br&gt;
full mask:          1st: 0.028402, 2nd: 0.017976&lt;br&gt;full mask(find):    1st: 0.057978, 2nd: 0.042992&lt;br&gt;full mask(where):   1st: 0.057311, 2nd: 0.038398&lt;br&gt;n = 10000000&lt;br&gt;sparse mask:        1st: 0.178092, 2nd: 0.092343&lt;br&gt;
sparse mask(find):  1st: 0.182628, 2nd: 0.079860&lt;br&gt;sparse mask(where): 1st: 0.165752, 2nd: 0.079588&lt;br&gt;dense mask:         1st: 0.442568, 2nd: 0.392207&lt;br&gt;dense mask(find):   1st: 0.587378, 2nd: 0.398332&lt;br&gt;dense mask(where):  1st: 0.601536, 2nd: 0.397812&lt;br&gt;
full mask:          1st: 0.256911, 2nd: 0.192204&lt;br&gt;full mask(find):    1st: 0.625493, 2nd: 0.435221&lt;br&gt;full mask(where):   1st: 0.639314, 2nd: 0.434564&lt;br&gt;&lt;br&gt;so you can see find is actually slower. Not by much because the time is drowned in the other work; there&amp;#39;s the mask creation, two index expressions, one addition and one indexed assignment. It&amp;#39;s mainly visible in the dense and full mask cases. In fact, &amp;quot;find&amp;quot; not only *always* converts to index vector, it also creates a *double* array corresponding to the result (to form a valid octave_value). Hence, in development version, using raw logical masks is more efficient in (almost?) all cases.&lt;br&gt;
 &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I&amp;#39;ve been playing with the new code a bit and I think the find() trick&lt;br&gt;
defeats the new optimization? I tried to create a simple where.oct&lt;br&gt;
that converts its input into the new smart mask but I think I&amp;#39;ve&lt;br&gt;
missed something&lt;br&gt;
&lt;br&gt;
#include &amp;lt;octave/oct.h&amp;gt;&lt;br&gt;
&lt;br&gt;
DEFUN_DLD(where, args, ,&lt;br&gt;
          &amp;quot;Convert mask to index&amp;quot;)&lt;br&gt;
{&lt;br&gt;
  idx_vector idx = args(0).index_vector() ;&lt;br&gt;
  return octave_value(idx);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
Spoiler alert: something&amp;#39;s wrong here because &amp;#39;where&amp;#39; is slower than&lt;br&gt;
using the raw boolean matrix. Here&amp;#39;s the modified benchmark code I&amp;#39;ve&lt;br&gt;
been using:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Yeah. Regarding this, I&amp;#39;m not yet fully sure. My rationale was that when you assign an index_vector to octave_value,&lt;br&gt;you expect to get a numeric array, not a logical one. So, if the idx_vector is actually a mask, it is converted to an index array. Hence, your where function actually simulates &amp;quot;find&amp;quot; (its simplest case). Giving it a second thought, maybe it should be possible to return a logical array with cached index; still, I believe one should never create a numeric array with a cached logical mask. That would be a bit weird. Hence, &amp;quot;find&amp;quot; will need to do the conversion.&lt;br&gt;
 &lt;/div&gt;&lt;/div&gt;here&amp;#39;s the corrected benchmark:&lt;br&gt;&lt;br&gt;for n = [1e5 1e6 1e7]&lt;br&gt; printf (&amp;quot;n = %d\n&amp;quot;, n);&lt;br&gt; a = rand(n,1);&lt;br&gt; b = rand(n,1);&lt;br&gt; c = zeros(n,1);&lt;br&gt;&lt;br&gt; tic; mask = a &amp;gt; 0.9;&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt;
 tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;sparse mask:        1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt; tic; mask = find(a &amp;gt; 0.9);&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt;
 fprintf (&amp;quot;sparse mask(find):  1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt; tic; mask = where(a &amp;gt; 0.9);&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;sparse mask(where): 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;
&lt;br&gt; tic; mask = a &amp;gt; 0.1;&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;dense mask:         1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt; tic; mask = find(a &amp;gt; 0.1);&lt;br&gt;
 c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;dense mask(find):   1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt; tic; mask = where(a &amp;gt; 0.1);&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt;
 tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;dense mask(where):  1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;&lt;br&gt; tic; mask = a &amp;gt; 0.0;&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt;
 fprintf (&amp;quot;full mask:          1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt; tic; mask = find(a &amp;gt; 0.0);&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;full mask(find):    1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;
 tic; mask = where(a &amp;gt; 0.0);&lt;br&gt; c(mask) = a(mask) + b(mask); t1 = toc;&lt;br&gt; tic; c(mask) = a(mask) + b(mask); t2 = toc;&lt;br&gt; fprintf (&amp;quot;full mask(where):   1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;&lt;br&gt;endfor&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;
best regards&lt;br&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FYI%3A-smarter-indexing-by-logical-masks-tp26547559p26550812.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550639</id>
	<title>Re: FYI: smarter indexing by logical masks</title>
	<published>2009-11-27T21:26:39Z</published>
	<updated>2009-11-27T21:26:39Z</updated>
	<author>
		<name>Judd Storrs</name>
	</author>
	<content type="html">This is pretty cool!
&lt;br&gt;&lt;br&gt;Is it possible to somehow pre-compute/convert the mask? I've often
&lt;br&gt;used find() to pre-convert a mask into index form because I think that
&lt;br&gt;improves performance when the mask is used multiple times (but it may
&lt;br&gt;have been a habit that I picked up when I was working primarily in IDL
&lt;br&gt;where this is part of the collective folk wisdom). e.g. things along
&lt;br&gt;these lines:
&lt;br&gt;&lt;br&gt;mask = find(a &amp;gt; 0) ;
&lt;br&gt;a(mask) = b(mask) ;
&lt;br&gt;&lt;br&gt;I've been playing with the new code a bit and I think the find() trick
&lt;br&gt;defeats the new optimization? I tried to create a simple where.oct
&lt;br&gt;that converts its input into the new smart mask but I think I've
&lt;br&gt;missed something
&lt;br&gt;&lt;br&gt;#include &amp;lt;octave/oct.h&amp;gt;
&lt;br&gt;&lt;br&gt;DEFUN_DLD(where, args, ,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;Convert mask to index&amp;quot;)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; idx_vector idx = args(0).index_vector() ;
&lt;br&gt;&amp;nbsp; return octave_value(idx);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Spoiler alert: something's wrong here because 'where' is slower than
&lt;br&gt;using the raw boolean matrix. Here's the modified benchmark code I've
&lt;br&gt;been using:
&lt;br&gt;&lt;br&gt;&lt;br&gt;for n = [1e5 1e6 1e7 4e7]
&lt;br&gt;&amp;nbsp; printf (&amp;quot;n = %d\n&amp;quot;, n);
&lt;br&gt;&amp;nbsp; a = rand(n,1);
&lt;br&gt;&amp;nbsp; b = rand(n,1);
&lt;br&gt;&amp;nbsp; c = zeros(n,1);
&lt;br&gt;&lt;br&gt;&amp;nbsp; mask = a &amp;gt; 0.9;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;sparse mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&amp;nbsp; mask = find(a &amp;gt; 0.9);
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;sparse mask(find): &amp;nbsp;1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&amp;nbsp; mask = where(a &amp;gt; 0.9);
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;sparse mask(where): 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&lt;br&gt;&amp;nbsp; mask = a &amp;gt; 0.1;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;dense mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&amp;nbsp; mask = find(a &amp;gt; 0.1);
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;dense mask(find): &amp;nbsp; 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&amp;nbsp; mask = where(a &amp;gt; 0.1);
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;dense mask(where): &amp;nbsp;1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&lt;br&gt;&amp;nbsp; a &amp;gt; 0.0;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;full mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&amp;nbsp; mask = find(a &amp;gt; 0.0);
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;full mask(find): &amp;nbsp; &amp;nbsp;1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&amp;nbsp; mask = where(a &amp;gt; 0.0);
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t1 = toc;
&lt;br&gt;&amp;nbsp; tic; c(mask) = a(mask) + b(mask); t2 = toc;
&lt;br&gt;&amp;nbsp; fprintf (&amp;quot;full mask(where): &amp;nbsp; 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);
&lt;br&gt;&lt;br&gt;endfor
&lt;br&gt;&lt;br&gt;&lt;br&gt;This is the output I get (core2 duo @ 1.80GHz).
&lt;br&gt;&lt;br&gt;&lt;br&gt;n = 100000
&lt;br&gt;sparse mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.000999, 2nd: 0.000244
&lt;br&gt;sparse mask(find): &amp;nbsp;1st: 0.000489, 2nd: 0.000264
&lt;br&gt;sparse mask(where): 1st: 0.000327, 2nd: 0.000222
&lt;br&gt;dense mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1st: 0.003210, 2nd: 0.004524
&lt;br&gt;dense mask(find): &amp;nbsp; 1st: 0.003246, 2nd: 0.002669
&lt;br&gt;dense mask(where): &amp;nbsp;1st: 0.002386, 2nd: 0.002292
&lt;br&gt;full mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.002051, 2nd: 0.004716
&lt;br&gt;full mask(find): &amp;nbsp; &amp;nbsp;1st: 0.004231, 2nd: 0.003856
&lt;br&gt;full mask(where): &amp;nbsp; 1st: 0.004140, 2nd: 0.003120
&lt;br&gt;n = 1000000
&lt;br&gt;sparse mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.012595, 2nd: 0.008671
&lt;br&gt;sparse mask(find): &amp;nbsp;1st: 0.008518, 2nd: 0.008409
&lt;br&gt;sparse mask(where): 1st: 0.007252, 2nd: 0.008931
&lt;br&gt;dense mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1st: 0.040465, 2nd: 0.035385
&lt;br&gt;dense mask(find): &amp;nbsp; 1st: 0.038676, 2nd: 0.037124
&lt;br&gt;dense mask(where): &amp;nbsp;1st: 0.036798, 2nd: 0.032833
&lt;br&gt;full mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.033531, 2nd: 0.035070
&lt;br&gt;full mask(find): &amp;nbsp; &amp;nbsp;1st: 0.041958, 2nd: 0.039313
&lt;br&gt;full mask(where): &amp;nbsp; 1st: 0.041469, 2nd: 0.038953
&lt;br&gt;n = 10000000
&lt;br&gt;sparse mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.132680, 2nd: 0.086522
&lt;br&gt;sparse mask(find): &amp;nbsp;1st: 0.087629, 2nd: 0.086389
&lt;br&gt;sparse mask(where): 1st: 0.077222, 2nd: 0.074444
&lt;br&gt;dense mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1st: 0.369931, 2nd: 0.350971
&lt;br&gt;dense mask(find): &amp;nbsp; 1st: 0.355203, 2nd: 0.367536
&lt;br&gt;dense mask(where): &amp;nbsp;1st: 0.361620, 2nd: 0.361944
&lt;br&gt;full mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.355967, 2nd: 0.355466
&lt;br&gt;full mask(find): &amp;nbsp; &amp;nbsp;1st: 0.389125, 2nd: 0.391282
&lt;br&gt;full mask(where): &amp;nbsp; 1st: 0.388657, 2nd: 0.391113
&lt;br&gt;n = 40000000
&lt;br&gt;sparse mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 0.524230, 2nd: 0.329079
&lt;br&gt;sparse mask(find): &amp;nbsp;1st: 0.334702, 2nd: 0.334690
&lt;br&gt;sparse mask(where): 1st: 0.318233, 2nd: 0.318034
&lt;br&gt;dense mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1st: 1.391669, 2nd: 1.341700
&lt;br&gt;dense mask(find): &amp;nbsp; 1st: 1.350176, 2nd: 1.355216
&lt;br&gt;dense mask(where): &amp;nbsp;1st: 1.359566, 2nd: 1.355399
&lt;br&gt;full mask: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1st: 1.354963, 2nd: 1.353266
&lt;br&gt;full mask(find): &amp;nbsp; &amp;nbsp;1st: 1.482584, 2nd: 1.483595
&lt;br&gt;full mask(where): &amp;nbsp; 1st: 1.482001, 2nd: 1.483312
&lt;br&gt;&lt;br&gt;&lt;br&gt;--judd
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FYI%3A-smarter-indexing-by-logical-masks-tp26547559p26550639.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549189</id>
	<title>Re: *.texi files not generated</title>
	<published>2009-11-27T15:44:07Z</published>
	<updated>2009-11-27T15:44:07Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 27-Nov-2009, Michael D. Godfrey wrote:
&lt;br&gt;&lt;br&gt;| On 11/27/09 5:29 PM, Ben Abbott wrote:
&lt;br&gt;| &amp;gt; &amp;quot;make -i&amp;quot; doesn't generate the texi files though,
&lt;br&gt;| True. &amp;nbsp;I generated them by cd doc/interpreter, then &amp;quot;make xxx.texi&amp;quot;
&lt;br&gt;| would correctly generate a xxx.texi file. &amp;nbsp;I just did this in order
&lt;br&gt;| to establish where to problem was.
&lt;br&gt;| 
&lt;br&gt;| I hope we hear from Rik fairly soon.
&lt;br&gt;&lt;br&gt;The problem is this change:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/02d59b67632f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/02d59b67632f&lt;/a&gt;&lt;br&gt;&lt;br&gt;which split the octave_TEXINFOS variable into nodist_octave_TEXINFOS
&lt;br&gt;and dist_octave_TEXINFOS. &amp;nbsp;If I understand correctly, autoconf is
&lt;br&gt;supposed to recognize the dist and nodist prefixes and do some magic.
&lt;br&gt;But it is not working, because no overal octave_TEXINFOS variable is
&lt;br&gt;created, so in the lines
&lt;br&gt;&lt;br&gt;&amp;nbsp; $(srcdir)/octave.info: $(octave_TEXINFOS) $(IMAGES_TXT) $(EXAMPLE_FILES)
&lt;br&gt;&lt;br&gt;&amp;nbsp; octave.dvi octave.ps: $(octave_TEXINFOS) $(IMAGES_EPS) $(EXAMPLE_FILES)
&lt;br&gt;&lt;br&gt;&amp;nbsp; octave.pdf: $(octave_TEXINFOS) $(IMAGES_PDF) $(EXAMPLE_FILES)
&lt;br&gt;&lt;br&gt;&amp;nbsp; octave.html: $(octave_TEXINFOS) $(IMAGES_PNG) $(EXAMPLE_FILES)
&lt;br&gt;&lt;br&gt;which are intended to add extra dependencies for these targets,
&lt;br&gt;$(octave_TEXINFOS) is empty, so there is no chain of dependencies that
&lt;br&gt;forces the .texi files to be created.
&lt;br&gt;&lt;br&gt;Maybe this is not the right way to specify the extra dependencies when
&lt;br&gt;using autoconf. &amp;nbsp;But if there is a proper way to do it, I don't see
&lt;br&gt;how. &amp;nbsp;My guess is that I just don't understand the proper way to use
&lt;br&gt;autoconf, but it may also be a bug. &amp;nbsp;Either way, I guess we probably
&lt;br&gt;need the help of an autoconf guru.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/*.texi-files-not-generated-tp26542825p26549189.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549053</id>
	<title>Re: Re: [changeset] changet to acinclude.m4 for windows build</title>
	<published>2009-11-27T15:17:56Z</published>
	<updated>2009-11-27T15:17:56Z</updated>
	<author>
		<name>Tatsuro MATSUOKA-2</name>
	</author>
	<content type="html">Hello Jaroslav
&lt;br&gt;&lt;br&gt;In the mail in the past, I found
&lt;br&gt;&amp;gt;Tatsuro, can you please adapt this to a patch against 3.2.x?
&lt;br&gt;&lt;br&gt;I do not have a account to update Mecurial archive on the web so that I ask you apply the changeset in
&lt;br&gt;the previous mail.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/Re:-Re:--changeset--changet-to-acinclude.m4-for-windows-build-p26530889.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Re:-Re:--changeset--changet-to-acinclude.m4-for-windows-build-p26530889.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Tatsuro
&lt;br&gt;&lt;br&gt;--- Tatsuro MATSUOKA &amp;nbsp;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Jaroslav Hajek
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have remade the changeset for 3.2.x. and am attaching it with this mail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Tatsuro
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- Jaroslav Hajek wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Nov 25, 2009 at 9:18 PM, John W. Eaton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549053&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 24-Nov-2009, Tatsuro MATSUOKA wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; | The previous patch is for 3.2.x. and the patch attached to this mail
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; | is for the development branch.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I checked in the following change:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/763906db555e&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/763906db555e&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Does that look OK?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; jwe
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Tatsuro, can you please adapt this to a patch against 3.2.x?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -- 
&lt;br&gt;&amp;gt; &amp;gt; RNDr. Jaroslav Hajek
&lt;br&gt;&amp;gt; &amp;gt; computing expert &amp; GNU Octave developer
&lt;br&gt;&amp;gt; &amp;gt; Aeronautical Research and Test Institute (VZLU)
&lt;br&gt;&amp;gt; &amp;gt; Prague, Czech Republic
&lt;br&gt;&amp;gt; &amp;gt; url: www.highegg.matfyz.cz
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --------------------------------------
&lt;br&gt;&amp;gt; What is your No.1 Entertainment of 2009? -Yahoo! JAPAN Net BANZUKE 2009
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pr.mail.yahoo.co.jp/banzuke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pr.mail.yahoo.co.jp/banzuke/&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;--------------------------------------
&lt;br&gt;What is your No.1 Entertainment of 2009? -Yahoo! JAPAN Net BANZUKE 2009
&lt;br&gt;&lt;a href=&quot;http://pr.mail.yahoo.co.jp/banzuke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pr.mail.yahoo.co.jp/banzuke/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Re%3A--changeset--changet-to-acinclude.m4-for-windows-build-tp26496879p26549053.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547929</id>
	<title>Scale change for Plot Figures in the Manual</title>
	<published>2009-11-27T13:23:28Z</published>
	<updated>2009-11-27T13:23:28Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">I looked at the current octave.pdf to see if my method
&lt;br&gt;of recovering from the doc/interpreter build problem had
&lt;br&gt;worked. &amp;nbsp;This caused me to notice that the Figures in the
&lt;br&gt;Plotting Chapter are now about 1/5 intended size. &amp;nbsp;I looked
&lt;br&gt;back at a Manual generated on 23 November. &amp;nbsp;(Before the
&lt;br&gt;build problem.) &amp;nbsp;It shows the same scale problem.
&lt;br&gt;&lt;br&gt;I believe that the build script always uses octave -f, so
&lt;br&gt;the problem is probably not due to my having backend(&amp;quot;fltk&amp;quot;)
&lt;br&gt;in my .octaverc file.
&lt;br&gt;&lt;br&gt;Is this problem happening to others?
&lt;br&gt;&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Scale-change-for-Plot-Figures-in-the-Manual-tp26547929p26547929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547815</id>
	<title>Re: FYI: smarter indexing by logical masks</title>
	<published>2009-11-27T13:10:27Z</published>
	<updated>2009-11-27T13:10:27Z</updated>
	<author>
		<name>Michael D. Godfrey</name>
	</author>
	<content type="html">On 11/27/09 9:44 PM, Jaroslav Hajek wrote:
&lt;br&gt;&amp;gt; any comments?
&lt;br&gt;This looks good. &amp;nbsp;And, it reminds me that I have
&lt;br&gt;intended to suggest that putting some
&lt;br&gt;tic; toc; fprintf() &amp;nbsp;sequences in appropriate function tests
&lt;br&gt;might be interesting. &amp;nbsp;The tests could contain some
&lt;br&gt;&amp;quot;base&amp;quot; time value (maybe from the most recent major
&lt;br&gt;release). &amp;nbsp;Displayed timing could be in % of base time,
&lt;br&gt;corrected for CPU performance which could be determined
&lt;br&gt;by running some &amp;nbsp;fixed sequence at the beginning of the
&lt;br&gt;tests.
&lt;br&gt;&lt;br&gt;See what you get for doing all this good work?? :-)
&lt;br&gt;&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FYI%3A-smarter-indexing-by-logical-masks-tp26547559p26547815.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547559</id>
	<title>FYI: smarter indexing by logical masks</title>
	<published>2009-11-27T12:44:20Z</published>
	<updated>2009-11-27T12:44:20Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">hi all,&lt;br&gt;&lt;br&gt;the attached changeset implements further optimizations to the indexing machinery when dealing with logical masks:&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/034677ab6865&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/034677ab6865&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Rationale:&lt;br&gt;Up to now, Octave always converted logical masks to index vectors for indexing, via the octave_value::index_vector method. This allows efficient random access and is generally beneficial for masks where most elements are false.&lt;br&gt;
However, when the mask is nearly full, the storage for index array is up to 4x or 8x (for 64-bit indexing) larger, hence incurring a significant penalty for memory traffic, as well as the penalty for the conversion itself.&lt;br&gt;
&lt;br&gt;With the new change, octave will convert the mask to index array only if at most 1/8 (or 1/16 for 64-bit indexing) of elements are true; i.e. if the index array takes at most half the memory of the mask.&lt;br&gt;The innermost loops are specialized for the mask case, and contiguous subrange cases are also detected.&lt;br&gt;
&lt;br&gt;This is beneficial for expressions like x(x != 0) in which you expect the condition to be true for most or all elements;&lt;br&gt;&lt;br&gt;The following benchmark illustrates the improvements:&lt;br&gt;for n = [1e5 1e6 1e7 4e7]&lt;br&gt;  printf (&amp;quot;n = %d\n&amp;quot;, n);&lt;br&gt;
  a = rand (n, 1);&lt;br&gt;  mask = a &amp;gt; 0.9;&lt;br&gt;  tic; a(mask); t1 = toc;&lt;br&gt;  tic; a(mask); t2 = toc;&lt;br&gt;  fprintf (&amp;quot;sparse mask: 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;  mask = a &amp;gt; 0.1;&lt;br&gt;  tic; a(mask); t1 = toc;&lt;br&gt;
  tic; a(mask); t2 = toc;&lt;br&gt;  fprintf (&amp;quot;dense mask: 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;  mask = a &amp;gt; 0.0;&lt;br&gt;  tic; a(mask); t1 = toc;&lt;br&gt;  tic; a(mask); t2 = toc;&lt;br&gt;  fprintf (&amp;quot;full mask: 1st: %f, 2nd: %f\n&amp;quot;, t1, t2);&lt;br&gt;
endfor&lt;br&gt;&lt;br&gt;on a Core 2 Duo @ 1.83 GHz, I get with a recent tip:&lt;br&gt;&lt;br&gt;n = 100000&lt;br&gt;sparse mask: 1st: 0.000928, 2nd: 0.000157&lt;br&gt;dense mask: 1st: 0.001803, 2nd: 0.001093&lt;br&gt;full mask: 1st: 0.001564, 2nd: 0.001318&lt;br&gt;n = 1000000&lt;br&gt;
sparse mask: 1st: 0.008774, 2nd: 0.002222&lt;br&gt;dense mask: 1st: 0.020419, 2nd: 0.011310&lt;br&gt;full mask: 1st: 0.020780, 2nd: 0.012612&lt;br&gt;n = 10000000&lt;br&gt;sparse mask: 1st: 0.086547, 2nd: 0.022133&lt;br&gt;dense mask: 1st: 0.196409, 2nd: 0.107571&lt;br&gt;
full mask: 1st: 0.203453, 2nd: 0.118685&lt;br&gt;n = 40000000&lt;br&gt;sparse mask: 1st: 0.366365, 2nd: 0.093962&lt;br&gt;dense mask: 1st: 0.790059, 2nd: 0.421204&lt;br&gt;full mask: 1st: 0.805457, 2nd: 0.466647&lt;br&gt;&lt;br&gt;and with the new change:&lt;br&gt;
&lt;br&gt;n = 100000&lt;br&gt;sparse mask: 1st: 0.003601, 2nd: 0.000167&lt;br&gt;dense mask: 1st: 0.001102, 2nd: 0.001247&lt;br&gt;full mask: 1st: 0.000347, 2nd: 0.000013&lt;br&gt;n = 1000000&lt;br&gt;sparse mask: 1st: 0.007920, 2nd: 0.002377&lt;br&gt;dense mask: 1st: 0.013383, 2nd: 0.011627&lt;br&gt;
full mask: 1st: 0.003406, 2nd: 0.000019&lt;br&gt;n = 10000000&lt;br&gt;sparse mask: 1st: 0.078718, 2nd: 0.023621&lt;br&gt;dense mask: 1st: 0.115947, 2nd: 0.108459&lt;br&gt;full mask: 1st: 0.031419, 2nd: 0.000039&lt;br&gt;n = 40000000&lt;br&gt;sparse mask: 1st: 0.325938, 2nd: 0.093050&lt;br&gt;
dense mask: 1st: 0.462140, 2nd: 0.424088&lt;br&gt;full mask: 1st: 0.119612, 2nd: 0.000044&lt;br&gt;&lt;br&gt;apparently, there is up to 70% speedup for the first indexing with dense masks, no penalty for subsequent ones.&lt;br&gt;for full masks, the speed-up is more than 6x (570%) because Octave detects that a shallow copy can be used.&lt;br&gt;
&lt;br&gt;any comments?&lt;br&gt;&lt;br&gt;enjoy&lt;br&gt;-- &lt;br&gt;
RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;
Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FYI%3A-smarter-indexing-by-logical-masks-tp26547559p26547559.html" />
</entry>

</feed>
