view octave-sh @ 8968:91d53dc37f79

Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations. Nothing terribly fancy in any of this. There probably is some mechanism for using the permutation vectors and some assign or index method in the sparse classes, but I've never understood all the intricacies. I'm opting for a simple implementation at the cost of possibly duplicating some functionality.
author Jason Riedy <jason@acm.org>
date Tue, 10 Mar 2009 21:54:44 -0400
parents e7e72101b86c
children
line wrap: on
line source

#!/bin/sh
#
# Wrapper for octave for binary installations that can't install
# octave in /usr/local/bin.
#
# The real binary should be installed in as octave.bin, and this file
# should be installed in the same directory as octave.

if test -n "$LD_LIBRARY_PATH"; then
  LD_LIBRARY_PATH="@LD_LIBRARY_PATH@:$LD_LIBRARY_PATH"
else
  LD_LIBRARY_PATH="@LD_LIBRARY_PATH@"
fi
export LD_LIBRARY_PATH

OCTAVE_HOME=@OCTAVE_HOME@
export OCTAVE_HOME

exec $OCTAVE_HOME/bin/octave.bin $*