예제 #1
0
파일: blas.go 프로젝트: postfix/gsl-1
func Ssyr2k(uplo Uplo, trans Transpose, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat, beta float32, c *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_ssyr2k(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(trans), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(b.Ptr())), C.float(beta), (*C.gsl_matrix_float)(unsafe.Pointer(c.Ptr()))))
}
예제 #2
0
파일: blas.go 프로젝트: postfix/gsl-1
func Ssymm(side Side, uplo Uplo, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat, beta float32, c *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_ssymm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(b.Ptr())), C.float(beta), (*C.gsl_matrix_float)(unsafe.Pointer(c.Ptr()))))
}
예제 #3
0
파일: blas.go 프로젝트: postfix/gsl-1
func Strsm(side Side, uplo Uplo, transA Transpose, diag Diag, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_strsm(C.CBLAS_SIDE_t(side), C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(b.Ptr()))))
}
예제 #4
0
파일: blas.go 프로젝트: postfix/gsl-1
func Sgemm(transA Transpose, transB Transpose, alpha float32, a *matrix.GslMatrixFloat, b *matrix.GslMatrixFloat, beta float32, c *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_sgemm(C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_TRANSPOSE_t(transB), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(b.Ptr())), C.float(beta), (*C.gsl_matrix_float)(unsafe.Pointer(c.Ptr()))))
}
예제 #5
0
파일: blas.go 프로젝트: postfix/gsl-1
func Ssyr2(uplo Uplo, alpha float32, x *vector.GslVectorFloat, y *vector.GslVectorFloat, a *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_ssyr2(C.CBLAS_UPLO_t(uplo), C.float(alpha), (*C.gsl_vector_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_float)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr()))))
}
예제 #6
0
파일: blas.go 프로젝트: postfix/gsl-1
func Sger(alpha float32, x *vector.GslVectorFloat, y *vector.GslVectorFloat, a *matrix.GslMatrixFloat) int32 {
	return int32(C.gsl_blas_sger(C.float(alpha), (*C.gsl_vector_float)(unsafe.Pointer(x.Ptr())), (*C.gsl_vector_float)(unsafe.Pointer(y.Ptr())), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr()))))
}
예제 #7
0
파일: blas.go 프로젝트: postfix/gsl-1
func Strsv(uplo Uplo, transA Transpose, diag Diag, a *matrix.GslMatrixFloat, x *vector.GslVectorFloat) int32 {
	return int32(C.gsl_blas_strsv(C.CBLAS_UPLO_t(uplo), C.CBLAS_TRANSPOSE_t(transA), C.CBLAS_DIAG_t(diag), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_float)(unsafe.Pointer(x.Ptr()))))
}
예제 #8
0
파일: blas.go 프로젝트: postfix/gsl-1
func Sgemv(transA Transpose, alpha float32, a *matrix.GslMatrixFloat, x *vector.GslVectorFloat, beta float32, y *vector.GslVectorFloat) int32 {
	return int32(C.gsl_blas_sgemv(C.CBLAS_TRANSPOSE_t(transA), C.float(alpha), (*C.gsl_matrix_float)(unsafe.Pointer(a.Ptr())), (*C.gsl_vector_float)(unsafe.Pointer(x.Ptr())), C.float(beta), (*C.gsl_vector_float)(unsafe.Pointer(y.Ptr()))))
}