[system] / trunk / pg / lib / VectorField.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/VectorField.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1079 Revision 2274
235 } elsif (@input == 2 ) { # two arguments -- parametric functions 235 } elsif (@input == 2 ) { # two arguments -- parametric functions
236 $self->{dx_rule} = $input[0] ; 236 $self->{dx_rule} = $input[0] ;
237 $self->{dy_rule} = $input[1] ; 237 $self->{dy_rule} = $input[1] ;
238 238
239 } else { 239 } else {
240 wwerror("$0:VectorField.pm:_initialize:", "Can't call VectorField with more than two arguments", ""); 240 die "VectorField.pm:_initialize: Can't call VectorField with more than two arguments";
241 } 241 }
242} 242}
243sub draw { 243sub draw {
244 my $self = shift; # this function 244 my $self = shift; # this function
245 my $g = shift; # the graph containing the function. 245 my $g = shift; # the graph containing the function.

Legend:
Removed from v.1079  
changed lines
  Added in v.2274

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9