Marey.Uncertainty 1.0.0

dotnet add package Marey.Uncertainty --version 1.0.0
                    
NuGet\Install-Package Marey.Uncertainty -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Marey.Uncertainty" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Marey.Uncertainty" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Marey.Uncertainty" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Marey.Uncertainty --version 1.0.0
                    
#r "nuget: Marey.Uncertainty, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Marey.Uncertainty@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Marey.Uncertainty&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Marey.Uncertainty&version=1.0.0
                    
Install as a Cake Tool

Marey.Uncertainty

Measurement uncertainty for Marey, as the GUM (JCGM 100) evaluates it. A value carries its standard uncertainty and every input it rests on, through the arithmetic and under F# units of measure.

#r "nuget: Marey.Uncertainty"

open Marey
open Marey.UnitsOfMeasure

let length = Uncertain.resolution "Length" U.metre 0.800<m> 1e-3<m>
let tenSwings = Uncertain.ofReadings "Ten periods" U.second [ 17.951<s>; 17.901<s>; 17.971<s>; 17.921<s>; 17.911<s> ]
let stopwatch = Uncertain.certificate "Stopwatch calibration" U.second 0.0<s> 0.02<s> 2.0

let period = (tenSwings + stopwatch) / 10.0
let g = 4.0 * System.Math.PI ** 2.0 * length / (period * period)   // Uncertain<m/s^2>

Uncertain.report g                                    // 9.823(18) m·s⁻²
Uncertain.budget g |> Budget.text                     // which input to improve
Uncertain.expanded 0.95 g |> Uncertain.reportExpanded // (9.823 ± 0.041) m·s⁻² (k = 2.23, 95 %, ν = 10)

What is in it

  • Inputs as a lab names them. ofReadings (type A: the mean, s/√n, n − 1 degrees of freedom), resolution (a reading's step, /√12), rectangular, triangular and arcsine half-widths, certificate (an expanded uncertainty and its k, or certificateAt its coverage probability), standard, and x +- u for an unnamed one. correlate declares two inputs correlated without a shared cause.
  • Arithmetic that remembers. + - * / with another Uncertain, a float<'u> or a Quantity, sqrt, exp, log, the trigonometric and hyperbolic functions, and apply for a function arithmetic does not reach. An input is one input wherever it is used, so x - x is exactly zero and a calibration two readings share drops out of their difference. The measure is checked by the compiler, and the unit's witness composes as a Quantity's does.
  • Reports. The concise form 9.823(18) m·s⁻², (9.823 ± 0.018) m·s⁻², and siunitx's \qty{9.823(18)}{…}, rounded as the GUM asks (7.2.6). Effective degrees of freedom (Welch–Satterthwaite), expanded uncertainties with Student's t, and the budget as text or a LaTeX tabular.
  • Charts. Chart.uncertain draws uncertain values as points with their error bars, on x and on y, and the legend says what a bar spans. The plot block takes them through xUncertain and yUncertain.
  • Weighted fits. Fit.line and Fit.linear weight each point by its uncertainty, x's too by effective variance. The coefficients are Uncertain values whose contributions point back to every point's inputs. Chart.fitBand draws the curve with its band.
  • A Monte Carlo check (JCGM 101). MonteCarlo.check draws every input from its distribution, evaluates the model and says whether the law of propagation's interval holds, running in batches until that is settled. Chart.monteCarlo draws the comparison.
  • The measured physical constants, CODATA 2022, as Uncertain.Constants, correlated through the quantities they rest on.
  • C#. Uncertainty, UncertainExtensions and UncertainConstants, under using Marey.CSharp.
  • Fable. The package carries its sources, and a Fable app gets .NET's numbers.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Marey.Uncertainty:

Package Downloads
Marey

Marey in one reference: units, the plotting grammar, measurement uncertainty, fields, simulations, animation, live figures, and SVG, TikZ and HTML output. Add Marey.Backend.Skia for PNG and PDF, Marey.Backend.Gpu for a window, Marey.Tools.Tex and Marey.Tools.Video for typeset labels and video.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 41 11/23/2026
1.0.0-rc.3 88 11/12/2026