[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

jlapeyre/ObsoleteIdentityMatrix.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObsoleteIdentityMatrix

NOTE: This package is archived. It was never registered. This repo name has been changed from IdentityMatrix to ObsoleteIdentityMatrix.jl. A new (as of now unregistered) pacakge with similar goals is IdentityMatrix.jl.

NOTE: This package is being canibalized; Pieces moved to FillArrays.jl and LinearAlgebra. If you don't have all these in sync, you make get warnings or errors about redefined methods. But, the master branches of IdentityMatrix.jl and FillArrays.jl will be kept in sync.

This package implements several methods specialized for types Diagonal, FillArrays.Fill, and FillArrays.Eye. They are more efficient, often much more, than the fallback methods.

The methods are more-or-less drop-in replacements.

To use, load the module

using FillArrays
using IdentityMatrix
  • iterate

  • copy, Matrix

  • kron(a, b), where either or both of a and b is an identity matrix or a Diagonal matrix.

  • IM::Idents / A::AbstractMatrix

  • A::AbstractMatrix / IM::Idents

  • IM::Idents \ A::AbstractMatrix

  • A::AbstractMatrix \ IM::Idents

  • IM::Idents * A::AbstractMatrix

  • A::AbstractMatrix * IM::Idents

  • Matrix operations with UniformScaling

  • ^(IM::Idents, p::Integer)

  • eigen, eigvecs, eigvals

  • isposdef, imag

  • diag, first, last, minimum, maximum, extrema, any, all, sum, prod

  • norm, opnorm

  • permutedims, triu triu!, tril, tril, inv

  • det, logdet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages