Example #1
0
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()))))
}
Example #2
0
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()))))
}
Example #3
0
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()))))
}
Example #4
0
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()))))
}
Example #5
0
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()))))
}
Example #6
0
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()))))
}
Example #7
0
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()))))
}
Example #8
0
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()))))
}