Skip to content
#

numerical

Here are 190 public repositories matching this topic...

julia
stevengj
stevengj commented Apr 2, 2022

Currently, this is defined only for arrays, but it seems like we should have

normalize(x::Number) = x / abs(x)

(I just came across this when trying to implement this algorithm for random unitary matrices, which is basically Q * Diagonal(normalize.(diag(R)), but I discovered that normalize didn't work.)

linear algebra good first issue

Improve this page

Add a description, image, and links to the numerical topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the numerical topic, visit your repo's landing page and select "manage topics."

Learn more