func negativeValue(dimensions []float64) error {
	for _, v := range dimensions {
		if v < 0.0 {
			return negativeValueErr(negativeValueDimensions)
		}
	}
	return nil
}
// negativeValue return error if there is one negative value
negativeValue return error if there is one negative value
// negativeValue return error if there is one negative value
func negativeValue(dimensions []float64) error {
	for _, v := range dimensions {
		if v < 0.0 {
			return negativeValueErr(negativeValueDimensions)
		}
	}
	return nil
}
func negativeValue ( dimensions [ ] float64 ) error { for _ , v := range dimensions { if v < 0.0 { return negativeValueErr ( negativeValueDimensions ) } } return nil }
negativeValue return error if there is one negative value
negativeValue return error if there is one negative value