# Function returning normalized vector and norm

**URL:** https://discourse.julialang.org/t/function-returning-normalized-vector-and-norm/42285
**Category:** General Usage
**Tags:** linearalgebra
**Created:** [June 30, 2020, 5:22am UTC](https://discourse.julialang.org/t/function-returning-normalized-vector-and-norm/42285 "2020-06-30T05:22:09Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![mzaffalon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mzaffalon/32/214168_2.png) [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)
#### Post date: [June 30, 2020, 7:35am UTC](https://discourse.julialang.org/t/function-returning-normalized-vector-and-norm/42285/10 "2020-06-30T07:35:07Z")

</div>

If I looked at the [code for \_\_normalize](https://github.com/JuliaLang/julia/blob/44fa15b1502a45eac76c9017af94332d4557b251/stdlib/LinearAlgebra/src/generic.jl#L1597-L1603), there is more to it.

---

_[View the full topic](https://discourse.julialang.org/t/function-returning-normalized-vector-and-norm/42285)._
