Backend for linear algebra operations for complex numbers using the FastMath library.
This namespace provides an implementation of the matrix algebra protocols
defined in org.soulspace.qclojure.domain.math.protocols
using the FastMath
library for complex number support. It includes conversion utilities between
QClojure's internal representations and FastMath's representations, as well
as implementations of matrix operations, decompositions, and functions.
FastMath Complex Backend:
Backend for linear algebra operations for complex numbers using the FastMath library. This namespace provides an implementation of the matrix algebra protocols defined in `org.soulspace.qclojure.domain.math.protocols` using the FastMath library for complex number support. It includes conversion utilities between QClojure's internal representations and FastMath's representations, as well as implementations of matrix operations, decompositions, and functions. FastMath Complex Backend: - Conversion between QClojure and FastMath representations - Matrix algebra operations (addition, multiplication, inversion, etc.) - Matrix decompositions (eigenvalue, SVD, LU, QR, Cholesky) - Matrix functions (exponential, logarithm, square root) - Matrix analysis (spectral norm, condition number)
(complex-map->vec2 c)
Convert complex map to FastMath Vec2 representation.
Convert complex map to FastMath Vec2 representation.
(complex-matrix? m)
Test if m represents a complex matrix.
Test if m represents a complex matrix.
(complex-scalar? x)
Test if x represents a complex scalar (Vec2 or complex map).
Test if x represents a complex scalar (Vec2 or complex map).
(complex-vector? v)
Test if v represents a complex vector.
Test if v represents a complex vector.
(complex? x)
Test if x is a FastMath Vec2 complex number.
Test if x is a FastMath Vec2 complex number.
(ensure-complex x)
Ensure input is a complex number.
Ensure input is a complex number.
(vec2->complex-map v)
Convert FastMath Vec2 to complex map representation.
Convert FastMath Vec2 to complex map representation.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |