view libinterp/operators/op-m-cdm.cc @ 17402:b6867a09d7cf

Return correct status code for copyfile, movefile. * scripts/miscellaneous/copyfile.m, scripts/miscellaneous/movefile.m: Return correct status (inversion of system function). Put input validation first. Use single quotes to simplify expressions. Redo docstrings.
author Rik <rik@octave.org>
date Sun, 08 Sep 2013 21:11:45 -0700
parents 2fc554ffbc28
children
line wrap: on
line source

/*

Copyright (C) 2008-2012 Jaroslav Hajek

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

#define LINCLUDE "ov-re-mat.h"
#define RINCLUDE "ov-cx-diag.h"

#define LMATRIX matrix
#define RMATRIX complex_diag_matrix
#define LDMATRIX complex_matrix

#define LSHORT m
#define RSHORT cdm

#define DEFINEDIV

#include "op-dm-template.cc"