Rik | 22 Oct 19:50 2014

tempname vs. tmpnam

10/22/14

All,

I checked in a changeset which moves all of core Octave to using tempname
(http://hg.savannah.gnu.org/hgweb/octave/rev/6ca096827123).

It doesn't actually deprecate tmpnam, but it removes it from seealso links
in the documentation and from the manual.  If you type 'help tmpnam' it
returns a help string which mentions that tempname is preferred in new code.

Eventually we may fully deprecate it, but not for a while.

Cheers,
Rik

Carnë Draug | 22 Oct 01:00 2014

making element_type NDArray parent classes of element_type Matrix

Hi

at the moment, both Matrix and NDArray classes are derived from
Array<element_type>.  I may be missing something but I think it makes
more sense to have the Matrix classes derive from a NDArray of the
corresponding element_type.

For starters, I did this for boolMatrix and boolNDArray [1]. It is
building fine and make check is successful.  I would continue this but
maybe others have different opinions on what things should derive
from.

There is also the case to have Matrix classes inherit from both an
AbstractMatrix and element_type NDArray, but that may complicate
things too much for very little gain (or any gain?).

The specific thing that triggered this was trying to implement the
bitpack and bitunpack as boolNDArray methods [2].  That's when I
noticed that implementing on boolNDArray would not make it available
for boolMatrix

Could anyone comment on this change?  If we are going to change where
things derive from, we may as well go for broke and make other bigger
changes that may have been hold back to not break existing code.

Carnë

[1] https://bpaste.net/show/6b5a03b8bda3
[2] http://lists.gnu.org/archive/html/octave-maintainers/2014-10/msg00053.html

(Continue reading)

Rik | 21 Oct 00:12 2014

More help with getfields and orderfields

10/20/14

Can someone try the following under Matlab?

s(2,2).a = 1;
s(1,1).b = 2;
s(:,2).a
getfield (s, {':', 2}, 'a')

AND

s(2,2).a = 1;
s(2,2).b = 2;
s = resize (s, [1 0])
s2 = orderfields (s, {'b', 'a'})
size (s2)

Thanks,
Rik

Rik | 20 Oct 20:36 2014

setfields() compatibility question

Can someone test this code snippet in Matlab?

x(2,2).a = 1
setfield (x, {':', 2}, 'a', 2)
x(:,1).a = 3

I expect errors out of the third statement, but I'm interested whether the
setfield command works.

--Rik

Hydra Build Daemon | 20 Oct 17:51 2014
Picon
Picon

Success: Hydra job gnu:octave-default:build.x86_64-linux

Hi,

The status of Hydra job gnu:octave-default:build.x86_64-linux has changed from "Failed with output" to
"Success".  For details, see

  http://hydra.nixos.org/build/16389458

Yay!

Regards,

The Hydra build daemon.

Hydra Build Daemon | 20 Oct 17:35 2014
Picon
Picon

Success: Hydra job gnu:octave-default:build.i686-linux

Hi,

The status of Hydra job gnu:octave-default:build.i686-linux has changed from "Failed with output" to
"Success".  For details, see

  http://hydra.nixos.org/build/16389459

Yay!

Regards,

The Hydra build daemon.

Hydra Build Daemon | 20 Oct 17:29 2014
Picon
Picon

Success: Hydra job gnu:octave-default:coverage on x86_64-linux

Hi,

The status of Hydra job gnu:octave-default:coverage (on x86_64-linux) has changed from "Failed" to
"Success".  For details, see

  http://hydra.nixos.org/build/16389457

Yay!

Regards,

The Hydra build daemon.

Colin Macdonald | 20 Oct 14:18 2014
Picon
Picon

OctSymPy v0.1.1 release

Hi all,

I've released a new version of OctSymPy, the symbolic package that
used SymPy.  This release is mostly bug fixes and minor improvements.

You can download at:
https://github.com/cbm755/octsympy/releases

Always happy for any feedback.  Please file any issues at
https://github.com/cbm755/octsympy/issues

best,
Colin

--

-- 
Colin Macdonald
Associate Professor
Tutorial Fellow at Oriel College
University of Oxford
Attachment (0xC5326EE5.asc): application/pgp-keys, 2218 bytes
Ben Abbott | 20 Oct 01:57 2014
Picon

Building Octave on Mac OS 10.10 (Yosemite)

For any who upgrade to Yosemite (MacOS 10.10), it is necessary to install Xcode 6.1 and the command line
tools (i.e. not Xcode 6.0.1).  The 6.1 release includes a fix that allows cmake to be built, cmake is needed
to build gl2ps.

I had to download the Xcode 6.1 tools directly from Apple's developers website.

	https://developer.apple.com/downloads/index.action#

Ben

Hydra Build Daemon | 19 Oct 09:43 2014
Picon
Picon

Failed with output: Hydra job gnu:octave-default:build.x86_64-linux

Hi,

The status of Hydra job gnu:octave-default:build.x86_64-linux has changed from "Success" to "Failed
with output".  For details, see

  http://hydra.nixos.org/build/16128257

Go forth and fix it.

Regards,

The Hydra build daemon.

Hydra Build Daemon | 19 Oct 09:36 2014
Picon
Picon

Failed with output: Hydra job gnu:octave-default:build.i686-linux

Hi,

The status of Hydra job gnu:octave-default:build.i686-linux has changed from "Success" to "Failed with
output".  For details, see

  http://hydra.nixos.org/build/16128259

Go forth and fix it.

Regards,

The Hydra build daemon.


Gmane