Displaying 5 results from an estimated 5 matches for "legnth".
2000 Jun 03
5
Monty on holiday
Hi folks,
My wife and I are taking a long weekend to celibrate our anniversary. I won't
be around again until Wednesday to answer email or do anything else on Vorbis.
Yeah, I know, I usually answer my email once a month anyway (so likely no one
would notice me being gone), but just so folks know if anything really juicy
comes up :-)
I'll be merging my latest branch with mainline
2024 Jan 29
0
DescTools::Quantile
...lt;-paste0
qtl.one <-
function(p, x, w)
{
## argument checking
bad <- length(x)!=length(w)
bad <- bad || (length(p)!=1)
bad <- bad || any(diff(x)<=0)
if(bad)
stop("Arguments 'x' and 'w' must be " %,%
"vectors of the same legnth. Argument " %,%
"'x' must be a vector of nondecreasing " %,% "values.")
if(any(w<=0)||(sum(w)!=1))
stop("elements of 'w' must be positive " %,% "and sum to 1")
## the actual body of the function...
2001 Jul 10
1
returning quartiles of a list?
...or each third or each quartile) of the list:
process.firsthalf would be (5, 7, 4) and
process.secondhalf would be (1, 4, 1).
note that I'm not interested in the numeric quartiles (then I could
use quantile or several other functions).
what is the best way to get this kind of thing? for odd legnth lists,
I don't particularly care if the first or the second half gets the
extra.
can write a function that does this for halfs, but I'm looking for a
slightly more general way that does it for 1/2, 1/3, 1/4, 1/5, etc.
thanks!
greg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2019 Mar 23
3
Re: [PATCH nbdkit 1/8] server: Implement extents/can_extents calls for plugins and filters.
On 3/20/19 5:11 PM, Richard W.M. Jones wrote:
> This pair of calls allows plugins to describe which extents in the
> virtual disk are allocated, holes or zeroes.
> ---
I see you've already made a couple of tweaks to your block-status branch
since posting this (skipping 0-legnth add_extent, and coalescing
consecutive add_extents with the same type), but here's some more review:
> +++ b/docs/nbdkit-filter.pod
> +It is also possible for filters to transform the extents list received
> +back from the layer below. Without error checking it would look like
>...
2019 Mar 20
15
[PATCH nbdkit 0/8] Implement extents using a simpler array.
Not sure what version we're up to, but this reimplements extents using
the new simpler structure described in this thread:
https://www.redhat.com/archives/libguestfs/2019-March/msg00077.html
I also fixed most of the things that Eric pointed out in the previous
review, although I need to go back over his replies and check I've got
everything.
This needs a bit more testing. However the