func dspr(uplo string, N int, alpha float64, X []float64, incX int, Ap []float64) { cuplo := C.CString(uplo) defer C.free(unsafe.Pointer(cuplo)) C.dspr_(cuplo, (*C.int)(unsafe.Pointer(&N)), (*C.double)(unsafe.Pointer(&alpha)), (*C.double)(unsafe.Pointer(&X[0])), (*C.int)(unsafe.Pointer(&incX)), (*C.double)(unsafe.Pointer(&Ap[0]))) }
func dspr(uplo string, N int, alpha float64, X []float64, incX int, Ap []float64) { cuplo := C.CString(uplo) defer C.free(unsafe.Pointer(cuplo)) // ?? TODO: protect against index out of bounds panics. C.dspr_(cuplo, (*C.int)(unsafe.Pointer(&N)), (*C.double)(unsafe.Pointer(&alpha)), (*C.double)(unsafe.Pointer(&X[0])), (*C.int)(unsafe.Pointer(&incX)), (*C.double)(unsafe.Pointer(&Ap[0]))) }