view test/@Gork/subsasgn.m @ 12667:d8aff843a9e9 stable

Accept input x vector with y matrix for trapz,cumtrapz (bug #33292). * trapz.m, cumtrapz.m : Accept input vector, input matrix combination. Use diff() for 10% speedup. Add tests for ND-array operation.
author Rik <octave@nomad.inbox5.com>
date Sat, 14 May 2011 09:57:50 -0700
parents f9ab19428cd8
children
line wrap: on
line source

function g = subsasgn(g, s, x)

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