Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I as valid covariance matrix #11

Open
jamgochiana opened this issue Sep 18, 2019 · 1 comment
Open

I as valid covariance matrix #11

jamgochiana opened this issue Sep 18, 2019 · 1 comment

Comments

@jamgochiana
Copy link
Collaborator

allow for multiplications of I to be valid inputted covariance matrices

@lassepe
Copy link
Collaborator

lassepe commented Sep 24, 2019

Since #14 is fixed one should already be able to use I, simply by writing I(3) (I think starting from Julia 1.2 ?) since Diagonal <: AbstractArray. So maybe it is sufficient to just document this and call this closed.

julia> typeof(I(3))
Diagonal{Bool,Array{Bool,1}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants