Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloCampana committed Jul 17, 2024
1 parent 63a7a8d commit d3a8180
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
For over 30 probability distributions, this library provides:

* Random variable generation
* Density, Probability, Survival and Quantile functions
* Density, probability, survival and quantile functions

Mathematical functions are tested for high precision and
RNG tested to correctly fit the distribution
Expand All @@ -25,12 +25,13 @@ $ zig fetch --save git+https://github.com/PauloCampana/random_variable

```zig
// build.zig
const rv = b.dependency("random_variable", .{
const rv_dep = b.dependency("random_variable", .{
.target = target,
.optimize = optimize,
});
const rv_mod = rv_dep.module("random_variable");
exe.root_module.addImport("random_variable", rv.module("random_variable"));
exe.root_module.addImport("random_variable", rv_mod);
```

```zig
Expand Down

0 comments on commit d3a8180

Please sign in to comment.