tpapp / SymmetricProducts.jl

Calculate A*A', wrapping the result in the narrowest type.
Other
1 stars 1 forks source link

SymmetricProducts.jl

lifecycle build codecov.io

Wrap a matrix multiplied by its transpose in the narrowest type.

Installation

This package is not (yet) registered, and requires Julia v1.0. Install with

pkg> add https://github.com/tpapp/SymmetricProducts.jl

Usage

A single constant SELF, which acts as a placeholder for the other argument in binary operations with adjoints, eg

SELF'*A

produces Symmetric(A'*A) when A as Real elements.