stat/distmat: add UnitVector a uniform distribution over surface of an n-sphere
MODIFY
stat/distmat/general.go
stat/distmat/general.go
package distmat
-const badDim = "distmat: dimension mismatch"
+const (
+ badDim = "distmat: dimension mismatch"
+ zeroDim = "distmat: zero dimension"
+)

stat/distmat: add UnitVector a uniform distribution over surface of an n-sphere