Mercurial > hg > octave-lyh
view test/@Snork/Snork.m @ 11242:0090bb47d0b5
simplify special case for concatenation of empty matrices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 12 Nov 2010 13:19:24 -0500 |
parents | f9ab19428cd8 |
children |
line wrap: on
line source
function [ s ] = Snork( gick ) % Test class. if ( (nargin==1) && (isa(gick, 'Snork')) ) s = gick; else s.cack = [0 1 2 3]; if nargin==0 s.gick = 1; else s.gick = gick; end s = class(s, 'Snork'); end end