-
Notifications
You must be signed in to change notification settings - Fork 145
Updated tutorial to reference gen_cube and CRAN v1.2.0 #352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
docker/Dockerfile.dev
Outdated
@@ -0,0 +1,4 @@ | |||
FROM ubuntu:24.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
README.md
Outdated
@@ -2,6 +2,9 @@ | |||
|
|||
**VolEsti** is a `C++` library for volume approximation and sampling of convex bodies (*e.g.* polytopes) with an `R` interface. For a limited `Python` interface we refer to package [dingo](https://github.com/GeomScale/dingo). **VolEsti** is part of the [GeomScale](https://geomscale.github.io) project. | |||
|
|||
**Note:** This tutorial is based on package version **1.1.2** from CRAN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not the right place for this note.
docs/tutorials/general.md
Outdated
@@ -4,6 +4,9 @@ | |||
|
|||
`volesti` is a `C++` package (with an `R` interface) for computing estimations of volume of polytopes given by a set of points or linear inequalities or Minkowski sum of segments (zonotopes). There are two algorithms for volume estimation and algorithms for sampling, rounding and rotating polytopes. | |||
|
|||
**Note:** This tutorial is based on package version **1.1.2** from CRAN. | |||
Please ensure you have the latest version installed for compatibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove the second sentence "Please ensure...".
@@ -22,7 +25,7 @@ help("sample_points") | |||
Let’s try our first volesti command to estimate the volume of a 3-dimensional cube $\{-1\leq x_i \leq 1,x_i \in \mathbb R\ |\ i=1,2,3\}$ | |||
|
|||
```r | |||
P <- GenCube(3,'H') | |||
P <- gen_cube(3,'H') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, did you test that the rest of the tutorial works fine with 1.1.2?
Hi @vfisikop |
This PR updates the tutorial to reference the correct function name (
gen_cube
) instead of the outdatedGenCube
.Additionally, it adds a note specifying that the tutorial is based on CRAN version 1.1.2.