Liking cljdoc? Tell your friends :D

org.soulspace.qclojure.domain.math.fastmath.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)
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)
raw docstring

complex-map->vec2clj

(complex-map->vec2 c)

Convert complex map to FastMath Vec2 representation.

Convert complex map to FastMath Vec2 representation.
sourceraw docstring

complex-matrix?clj

(complex-matrix? m)

Test if m represents a complex matrix.

Test if m represents a complex matrix.
sourceraw docstring

complex-scalar?clj

(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).
sourceraw docstring

complex-vector?clj

(complex-vector? v)

Test if v represents a complex vector.

Test if v represents a complex vector.
sourceraw docstring

complex?clj

(complex? x)

Test if x is a FastMath Vec2 complex number.

Test if x is a FastMath Vec2 complex number.
sourceraw docstring

default-toleranceclj

source

ensure-complexclj

(ensure-complex x)

Ensure input is a complex number.

Ensure input is a complex number.
sourceraw docstring

tolerance*clj

(tolerance* backend)
source

vec2->complex-mapclj

(vec2->complex-map v)

Convert FastMath Vec2 to complex map representation.

Convert FastMath Vec2 to complex map representation.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close