The library documents itself · Numeric & optimization
stzNumBuffer
30 own methods · 7 forms written with extensions, listed under their method
the source: base/number/stzNumBuffer.ring(opens in a new tab) · All classes · The area reference: Numeric & optimization
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 0 come from the library's tests; 12 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]). 18 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Handle
the handle, and the honest burdenno extension
Haro has no destructors, so this is not optional for a large buffer. 3 examples runno extension
IsFreed
(no comment in the source: the name reads as a sentence) is freedno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.IsFreed() #--> 0composed from the signature, run for this page
Resize
Same as Free: Haro has no destructors, so this is not optional for a large buffer.no extension
NumberOfItems
readsalso written: Size · Countno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.NumberOfItems() #--> 8composed from the signature, run for this page
IsEmpty
(no comment in the source: the name reads as a sentence) is emptyno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.IsEmpty() #--> 0composed from the signature, run for this page
(no comment in the source: the name reads as a sentence) item 1 examples runalso written: NthItemno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.Item(2) #--> 4composed from the signature, run for this page
The materialised VIEW -- one crossing, taken when you actually want to look. 2 examples runalso written: Contentno extension
ToStzListOfNumbers
The buffer is NOT freed here: it is still yours, and Haro has no destructors to decide otherwise. Free it when you are done with it.also written: ToListOfNumbersno extension
ToStzList
(no comment in the source: the name reads as a sentence) to stz listno extension
Copy
(no comment in the source: the name reads as a sentence) copyno extension
SetItem
writes: each is a full pass over resident memory, no crossingno extension
FillWith
(no comment in the source: the name reads as a sentence) fill withQCSXTZZZIBWU
RangeFrom
(no comment in the source: the name reads as a sentence) range fromQCSXTZZZIBWU
AddScalar
(no comment in the source: the name reads as a sentence) add scalarQCSXTZZZIBWU
Scale
(no comment in the source: the name reads as a sentence) scaleQCSXTZZZIBWU
AddBuffer
elementwise against another buffer of the SAME length; a mismatch is refused rather than half-appliedQCSXTZZZIBWU
SubtractBuffer
(no comment in the source: the name reads as a sentence) subtract bufferQCSXTZZZIBWU
MultiplyBuffer
(no comment in the source: the name reads as a sentence) multiply bufferQCSXTZZZIBWU
reductions: a scalar out, nothing marshalled --------------------- Summed with NEUMAIER COMPENSATION. A naive total loses the low bits of every addend once it grows large relative to them -- add 1e16 and then a thousand 1.0s and the naive answer is still 1e16. This carries the lost part along. 1 examples runno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.Sum() #--> 40composed from the signature, run for this page
Mean
(no comment in the source: the name reads as a sentence) meanalso written: Averageno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.Mean() #--> 5composed from the signature, run for this page
Min
(no comment in the source: the name reads as a sentence) minno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.Min() #--> 2composed from the signature, run for this page
Max
(no comment in the source: the name reads as a sentence) maxno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.Max() #--> 9composed from the signature, run for this page
Dot
(no comment in the source: the name reads as a sentence) dotalso written: DotProductno extension
VarianceSample
the convention is NAMED, as everywhere else since phase 0 -- and it is asked of stats.zig rather than decided herealso written: Varianceno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.VarianceSample() #--> 4.57composed from the signature, run for this page
VariancePopulation
(no comment in the source: the name reads as a sentence) variance populationno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.VariancePopulation() #--> 4composed from the signature, run for this page
StddevSample
(no comment in the source: the name reads as a sentence) stddev samplealso written: Stddev · StandardDeviationno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.StddevSample() #--> 2.14composed from the signature, run for this page
StddevPopulation
(no comment in the source: the name reads as a sentence) stddev populationno extension
composed example
o1 = new stzNumBuffer([ 2, 4, 4, 4, 5, 5, 7, 9 ]) ? o1.StddevPopulation() #--> 2composed from the signature, run for this page
Show
(no comment in the source: the name reads as a sentence) showno extension

