volume_pball {uniformly} | R Documentation |
p-ball volume
Description
Euclidean volume of a p-ball (arbitrary dimension).
Usage
volume_pball(d, p, r = 1)
Arguments
d |
dimension |
p |
exponent in the p-norm, a positive number |
r |
radius of the ball |
Value
The volume of the p
-ball with radius r
.
Examples
volume_pball(d=4, p=2, r=2)
volume_sphere(d=4, r=2)
[Package uniformly version 0.5.0 Index]