Skip to content

Commit

Permalink
Added CeedMatrixPseudoinverse to libceed_binding.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
rezgarshakeri committed Sep 13, 2023
1 parent bb367a2 commit 35f2864
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions julia/LibCEED.jl/src/generated/libceed_bindings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,10 @@ function CeedHouseholderApplyQ(mat_A, mat_Q, tau, t_mode, m, n, k, row, col)
ccall((:CeedHouseholderApplyQ, libceed), Cint, (Ptr{CeedScalar}, Ptr{CeedScalar}, Ptr{CeedScalar}, CeedTransposeMode, CeedInt, CeedInt, CeedInt, CeedInt, CeedInt), mat_A, mat_Q, tau, t_mode, m, n, k, row, col)
end

function CeedMatrixPseudoinverse(ceed, mat, m, n, mat_pinv)
ccall((:CeedMatrixPseudoinverse, libceed), Cint, (Ceed, Ptr{CeedScalar}, CeedInt, CeedInt, Ptr{CeedScalar}), ceed, mat, m, n, mat_pinv)
end

function CeedSymmetricSchurDecomposition(ceed, mat, lambda, n)
ccall((:CeedSymmetricSchurDecomposition, libceed), Cint, (Ceed, Ptr{CeedScalar}, Ptr{CeedScalar}, CeedInt), ceed, mat, lambda, n)
end
Expand Down

0 comments on commit 35f2864

Please sign in to comment.