search for: fgen

Displaying 2 results from an estimated 2 matches for "fgen".

Did you mean: fen
2009 Apr 02
0
FLAC: joining source files
...addir(D)); closedir D; } # get stats $z=0; push @spt,0; foreach $k (@y) { $nfo= qx(sox -V $k -n 2>&1); die "[FATAL] no info from file: $k" if $nfo!~/duration[^=]*=\s*(\d+) samples/mi; $z+= $1; push @spt,$z; push @tr,$k; } return; } #-- MAIN my( $discid,$discid0,$fgen,$nbsamples,$nfo,$seekpts,$t1,$t2 ); usage() if $#ARGV<0 or $ARGV[0]!~/^[0-9a-f]{8}$/; #yy or not(inpath 'sox') $discid0= $ARGV[0]; $fgen='out_'; if ($#ARGV>0 and $ARGV[1]!~/^[0-9a-f]{8}$/) { ($discid,$t1,$t2)= @ARGV; usage() unless $#ARGV==2 and $t1.$t2=~/^\d+$/ and $t1&lt...
2010 Mar 08
1
confused by classes and methods.
...al.with.vis(expr, envir, enclos) 7: setMethod("update", signature(statistic = "statisticInfo", newData = "numeric"), function(statistic, newData) { 8: isSealedMethod(f, signature, fdef, where = where) 9: getMethod(f, signature, optional = TRUE, where = where, fdef = fGen) 10: matchSignature(signature, f I don't understand this any help would be appreciated. Secondly, can anyone give any examples of where methods are used that makes sense besides just checking the class inputs? Thirdly, I've looked into passing by reference in R, and some options come up,...