# IdentityMatrix.jl: efficient methods

**URL:** https://discourse.julialang.org/t/identitymatrix-jl-efficient-methods/17999
**Category:** Numerics
**Tags:** package, linearalgebra
**Created:** [November 26, 2018, 2:55am UTC](https://discourse.julialang.org/t/identitymatrix-jl-efficient-methods/17999 "2018-11-26T02:55:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)
#### Post date: [November 26, 2018, 2:55am UTC](https://discourse.julialang.org/t/identitymatrix-jl-efficient-methods/17999/1 "2018-11-26T02:55:17Z")

</div>

There are a lot of possible efficiency improvements for operations involving identity matrices. This package is intended to get several improved (or specialized) methods into circulation. This is not intended to be their final form and home.

Some examples are: faster `iterate` for `FillArrays.Eye`; Faster construction of a dense identity matrix than `Matrix{T}(I, n, n)`; Faster `kron`. There are many more. A partial list can be found in the README.

[https://github.com/jlapeyre/IdentityMatrix.jl](https://github.com/jlapeyre/IdentityMatrix.jl)
