Skip to content

Complex numerical arrays in Clojure, as an extension to core.matrix

License

Notifications You must be signed in to change notification settings

mikera/core.matrix.complex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

core.matrix.complex

A core.matrix imlementation for complex valued matrices.

Structure

Matrices are implemented as a real/imaginary matrix pairs, and by default operations are outsourced to the underlying matrices. This implies that users can use whatever core.matrix implementations they wish for the underlying matrices.

For example, matrix multiplication can be treated as:

(A + Bi) * (C + Di) = (AC - BD) + (AD + BC)i

Addition is even simpler:

(A + Bi) + (C + Di) = (A + C) + (B + D)i

This demonstrates that in many computational instances, we can benefit from performance characteristics of the underlying matrix implementations. More tailored algorithms and routines can of course be added as needed, as well as functions which would only pertain to complex valued matrices.

About

Complex numerical arrays in Clojure, as an extension to core.matrix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published