Ejemplo n.º 1
0
//void sws_normalizeVec (SwsVector *a, double height)
//Scale all the coefficients of a so that their sum equals height.
func Sws_normalizeVec(a *C.struct_SwsVector, h float64) {
	C.sws_normalizeVec(a, C.double(h))
}
Ejemplo n.º 2
0
//Scale all the coefficients of a so that their sum equals height.
func (a *Vector) SwsNormalizevec(h float64) {
	C.sws_normalizeVec((*C.struct_SwsVector)(a), C.double(h))
}