view test/@Gork/subsref.m @ 11497:7bddd70bc838

mk-opts.pl: generate initialization lists and in-line code for copy method
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 02:23:38 -0500
parents f9ab19428cd8
children
line wrap: on
line source

function x = subsref(g, s)

  switch s.type
  case '.'
    switch s.subs
    case 'gyrk'
      x = g.gyrk;
  end
end