package owl-base
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=862af251e2a3e7a6b79724a4020a0c9308b36f12c85cd0a52385c4df82132c66
sha512=c1dabbf467a587757b11a28b9c6e8f68a86ce799d07c7ab5f2afa92d20145ba9e4282975aeb269b7324f5ba90d1576db156006f4d58177a860def773f9d974f2
doc/owl-base/Owl_base_linalg_generic/index.html
Module Owl_base_linalg_generic
Source
Types and constants
Basic functions
``inv x`` calculates the inverse of an invertible square matrix ``x`` such that ``x *@ x = I`` wherein ``I`` is an identity matrix. (If ``x`` is singular, ``inv`` will return a useless result.)
Check matrix types
``is_tril x`` returns ``true`` if ``x`` is lower triangular otherwise ``false``.
``is_triu x`` returns ``true`` if ``x`` is upper triangular otherwise ``false``.
``is_diag x`` returns ``true`` if ``x`` is diagonal otherwise ``false``.
``is_symmetric x`` returns ``true`` if ``x`` is symmetric otherwise ``false``.
``is_hermitian x`` returns ``true`` if ``x`` is hermitian otherwise ``false``.
Factorisation
``lu x -> (l, u, ipiv)`` calculates LU decomposition of ``x``. The pivoting is used by default.
val qr :
?thin:bool ->
?pivot:bool ->
('a, 'b) t ->
('a, 'b) t * ('a, 'b) t * (int32, Bigarray.int32_elt) t
Refer to :doc:`owl_dense_matrix_generic`
Refer to :doc:`owl_dense_matrix_generic`
Refer to :doc:`owl_dense_matrix_generic`
Linear system of equations
Refer to :doc:`owl_dense_matrix_generic`
Refer to :doc:`owl_dense_matrix_generic`
val discrete_lyapunov :
?solver:[ `default | `bilinear | `direct ] ->
('a, 'b) t ->
('a, 'b) t ->
('a, 'b) t
Refer to :doc:`owl_dense_matrix_generic`
val care :
?diag_r:bool ->
(float, 'b) t ->
(float, 'b) t ->
(float, 'b) t ->
(float, 'b) t ->
(float, 'b) t
Refer to :doc:`owl_dense_matrix_generic`
Non-standard functions
val tridiag_solve_vec :
float array ->
float array ->
float array ->
float array ->
float array