Colin Macdonald | 17 Apr 15:34 2014
Picon
Picon

A symbolic package using SymPy

Hi,

I've been tinkering with making a symbolic package using the Python 
CAS SymPy.  The goal is feature parity with other symbolic packages.

You can try it now, either git clone, or just download a .zip file 
(which works as a GNU Octave package).

https://github.com/cbm755/octsympy

Here's some examples:

 > pkg install octsympy-master.zip
 > pkg load octsympy
 > syms x y z a b c k
 > A = [sin(x/2) floor(exp(x*c)); ...
acosh(x^(b*c)/pi) ceil(sin(x/gamma(x)))]
 > pretty(A)
 >
 > f = exp(-x^2);
 > F = fourier(f,x,k);
 > pretty(F)
 > g = ifourier(F,k,x);
 > simplify(f - g)
 >
 > limit(1/x, x, 0, 'left')

If you have problems with the Python communication (I've only tested 
on GNU/Linux and my guess is it doesn't work out-of-box on Windows), try:

(Continue reading)

John W. Eaton | 16 Apr 15:50 2014

printf integer format compatibility

While looking at some problems with printing 64-bit integer values with 
printf, I found that Matlab's printf function silently switches from 
integer formats like '%d' or '%u' to '%e' when values are not integers 
or when they exceed the maximum value possible for a 64-bit integer 
type.  Matlab also seems to be ignoring size specifications for integer 
formats, so although formats like '%hd' (short int) are accepted, there 
seems to be no change in output compared to just using '%d'.  And '%d' 
always handles up to 64-bit integers without needing 'l' or 'll'.

I checked in the following change on the default branch:

   http://hg.savannah.gnu.org/hgweb/octave/rev/491b0adfec95

Now you can expect behavior like the following, which appears to be 
compatible with Matlab:

   sprintf('%d',intmin('int32'))    %% ans = -2147483648
   sprintf('%d',intmax('int32'))    %% ans = 2147483647
   sprintf('%d',intmin('int64'))    %% ans = -9223372036854775808
   sprintf('%d',intmax('int64'))    %% ans = 9223372036854775807
   sprintf('%d',intmin('uint32'))   %% ans = 0
   sprintf('%d',intmax('uint32'))   %% ans = 4294967295
   sprintf('%d',intmin('uint64'))   %% ans = 0
   sprintf('%d',intmax('uint64'))   %% ans = 1.84467e+19
   sprintf('%d',realmin('single'))  %% ans = 1.17549e-38
   sprintf('%d',realmax('single'))  %% ans = 3.40282e+38
   sprintf('%d',realmin('double'))  %% ans = 2.22507e-308
   sprintf('%d',realmax('double'))  %% ans = 1.79769e+308

There is still one difference:  Matlab switches to '%e' and Octave is 
(Continue reading)

Orion Poplawski | 16 Apr 06:40 2014

Plea for packaging help

Hello -

  As one of the (very small) group of packagers of Octave for Fedora, I
would like to solicit help with packaging Octave and the various Octave
packages for Fedora.  If you value the ability to use rpm/yum/etc to
install and manage Octave packages on Fedora and RHEL/CentOS/etc, please
consider joining Fedora as a packager (or in other roles) and helping
out.  Thanks.

https://fedoraproject.org/wiki/Join#OS_Developer

- Orion

--

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion <at> cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

Rik | 16 Apr 02:13 2014

Help with axes 'layer' property

4/15/14

I think Octave has the axes 'layer' property exactly reversed.  The values,
'top' and 'bottom', seem to refer not to the axes object but to the
children of the axes object.  So, when you set the layer property to 'top'
you are really putting the child objects in front of the axes object and
placing the axes object at the bottom.

If someone can run this example on Matlab and report back I would be grateful.

plot (1:10, '-or', 'linewidth', 6);
set (gca, 'xminorgrid', 'on', 'minorgridlinestyle', '-');
get (gca, 'layer')
## What is the default?  Should be bottom.
set (gca, 'layer', 'bottom')
## Is the red line in front of, or behind, the black minor grid lines?
set (gca, 'layer', 'top')
## Now, is the red line in front of, or behind, the black minor grid lines?

Thanks,
Rik

John D | 15 Apr 18:01 2014
Picon

RE: "Official" binary release for Windows - gnuplot issues


-----Original Message-----
From: Tatsuro MATSUOKA [mailto:tmacchant <at> yahoo.co.jp] 
Sent: Wednesday, March 19, 2014 7:34 PM
To: 'John W. Eaton'; John D
Cc: octave-maintainers <at> octave.org
Subject: RE: "Official" binary release for Windows

--- On Thu, 2014/3/20, John D wrote:
> -----Original Message-----
> From: Tatsuro MATSUOKA [mailto:tmacchant <at> yahoo.co.jp]
> Sent: Wednesday, March 19, 2014 4:05 PM
> To: John Donoghue; John W. Eaton
> Cc: octave-maintainers <at> octave.org
> Subject: Re: "Official" binary release for Windows
> 
> --- On Wed, 2014/3/19, John W. Eaton  wrote:
> 
> > On 03/07/2014 07:10 PM, John Donoghue wrote:
> > > On 03/07/2014 06:08 PM, octave-maintainers-request <at> octave.org wrote:
> > >> Message: 3
> > >> Date: Fri, 07 Mar 2014 17:21:01 -0500
> > >> From: "John W. Eaton"<jwe <at> octave.org>
> > >> To: octave maintainers mailing list<maintainers <at> octave.org>
> > >> Subject: "Official" binary release for Windows 
> > >> Message-ID:<531A464D.90905 <at> octave.org>
> > >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > >>
> > >> I'd like to start making the Windows installer available from 
> > >> ftp.gnu.org.  Is it ready for that now?  Or are there some 
(Continue reading)

Marco Cecchetti | 14 Apr 11:20 2014
Picon

SOCIS 2014


Hi all,
I would like to know if your organization will apply for SOCIS this year.

Regards,
-- Marco

Rik | 13 Apr 00:07 2014

Deprecate bicubic in 4.2?

All,

Is there any reason to keep bicubic.m is scripts/general?  The
functionality is equivalent to interp2 (..., "spline") and the interp
family of functions is what Matlab supports.  In addition, bug fixes and
updates have been applied pretty regularly to the interp*.m functions, but
I don't think anyone is maintaining bicubic.m

--Rik

Vishnu Agarwal | 12 Apr 16:41 2014
Picon

Invitation to connect on LinkedIn

 
 
 
 
 
From Vishnu Agarwal
 
Student at Indian Institute of Technology, Roorkee
Balotra Area, India
 
 
 
 
 
 
 

I'd like to add you to my professional network on LinkedIn.

- Vishnu

 
 
 
 
 
 
 
You are receiving Invitation to Connect emails. Unsubscribe
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
 
Vishnu Agarwal | 12 Apr 16:41 2014
Picon

Invitation to connect on LinkedIn

 
 
 
 
 
From Vishnu Agarwal
 
Student at Indian Institute of Technology, Roorkee
Balotra Area, India
 
 
 
 
 
 
 

I'd like to add you to my professional network on LinkedIn.

- Vishnu

 
 
 
 
 
 
 
You are receiving Invitation to Connect emails. Unsubscribe
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
 
ijourneaux | 7 Apr 19:12 2014

Error during MXE-Octave nsis build

Just a heads up. I just updated the MXE-Octave sources and now get this error
when building the NSIS distribution.

From the NSIS log
WriteRegStr: HKCR\Octave.Document.3.8.1\=GNU Octave Script
WriteRegStr:
HKCR\Octave.Document.3.8.1\DefaultIcon\=$INSTDIR\share\octave\3.8.1\imagelib\octave-logo.ico
WriteRegStr expects 4 parameters, got 5.
Usage: WriteRegStr rootkey subkey entry_name new_value_string
    root_key=(HKCR|HKLM|HKCU|HKU|HKCC|HKDD|HKPD|SHCTX)
Error in script "/mxe-octave/dist/octave.nsi" on line 17945 -- aborting
creation process

Line 17945
WriteRegStr HKCR "Octave.Document.3.8.1\shell\open\command" ""
'"$INSTDIR\bin\octave-gui.exe" --force-gui --persist --eval "edit '%1'"'

the octave.nsi file must be created by make as it is a read-only file

--
View this message in context: http://octave.1599824.n4.nabble.com/Error-during-MXE-Octave-nsis-build-tp4663518.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

Sewwandi Wijayaratna | 5 Apr 19:42 2014
Picon

Contributing to Octave

Hello,

I am Sewwandi, a graduate student. I would like to contribute to the Octave project. I have the experience in C/C++ and MATLAB programming. My development environment is Visual Studio in Windows 7.
Could you please let me know if I can participate in Octave development using this environment? 
Thank you.

Sewwandi

Gmane