|
| 1 | +function drot(n, dx, incx, dy, incy, c, s) |
| 2 | + return ccall((@blasfunc(drot_), libblastrampoline), Cvoid, |
| 3 | + (Ref{BlasInt}, Ptr{Float64}, Ref{BlasInt}, Ptr{Float64}, Ref{BlasInt}, |
| 4 | + Ref{Float64}, Ref{Float64}), |
| 5 | + n, dx, incx, dy, incy, c, s) |
| 6 | +end |
| 7 | + |
| 8 | +function srot(n, sx, incx, sy, incy, c, s) |
| 9 | + return ccall((@blasfunc(srot_), libblastrampoline), Cvoid, |
| 10 | + (Ref{BlasInt}, Ptr{Float32}, Ref{BlasInt}, Ptr{Float32}, Ref{BlasInt}, |
| 11 | + Ref{Float32}, Ref{Float32}), |
| 12 | + n, sx, incx, sy, incy, c, s) |
| 13 | +end |
| 14 | + |
| 15 | +function zdrot(n, zx, incx, zy, incy, c, s) |
| 16 | + return ccall((@blasfunc(zdrot_), libblastrampoline), Cvoid, |
| 17 | + (Ref{BlasInt}, Ptr{ComplexF64}, Ref{BlasInt}, Ptr{ComplexF64}, Ref{BlasInt}, |
| 18 | + Ref{Float64}, Ref{Float64}), |
| 19 | + n, zx, incx, zy, incy, c, s) |
| 20 | +end |
| 21 | + |
| 22 | +function csrot(n, cx, incx, cy, incy, c, s) |
| 23 | + return ccall((@blasfunc(csrot_), libblastrampoline), Cvoid, |
| 24 | + (Ref{BlasInt}, Ptr{ComplexF32}, Ref{BlasInt}, Ptr{ComplexF32}, Ref{BlasInt}, |
| 25 | + Ref{Float32}, Ref{Float32}), |
| 26 | + n, cx, incx, cy, incy, c, s) |
| 27 | +end |
| 28 | + |
| 29 | +function zrot(n, zx, incx, zy, incy, c, s) |
| 30 | + return ccall((@blasfunc(zrot_), libblastrampoline), Cvoid, |
| 31 | + (Ref{BlasInt}, Ptr{ComplexF64}, Ref{BlasInt}, Ptr{ComplexF64}, Ref{BlasInt}, |
| 32 | + Ref{Float64}, Ref{ComplexF64}), |
| 33 | + n, zx, incx, zy, incy, c, s) |
| 34 | +end |
| 35 | + |
| 36 | +function crot(n, dx, incx, dy, incy, c, s) |
| 37 | + return ccall((@blasfunc(crot_), libblastrampoline), Cvoid, |
| 38 | + (Ref{BlasInt}, Ptr{ComplexF32}, Ref{BlasInt}, Ptr{ComplexF32}, Ref{BlasInt}, |
| 39 | + Ref{Float32}, Ref{ComplexF32}), |
| 40 | + n, cx, incx, cy, incy, c, s) |
| 41 | +end |
| 42 | + |
1 | 43 | function srotg(a, b, c, s) |
2 | 44 | return ccall((@blasfunc(srotg_), libblastrampoline), Cvoid, |
3 | 45 | (Ref{Float32}, Ref{Float32}, Ref{Float32}, Ref{Float32}), a, b, c, s) |
|
0 commit comments