Skip to content

Commit

Permalink
add rng in docstring for randomITensor
Browse files Browse the repository at this point in the history
  • Loading branch information
stecrotti committed May 13, 2024
1 parent 26ce5cd commit 4b7e485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/itensor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ function dense(A::ITensor)
end

"""
randomITensor([::Type{ElT <: Number} = Float64, ]inds)
randomITensor([::Type{ElT <: Number} = Float64, ]inds::Index...)
randomITensor([rng=default_rng(), ::Type{ElT <: Number} = Float64, ]inds)
randomITensor([rng=default_rng(), ::Type{ElT <: Number} = Float64, ]inds::Index...)
Construct an ITensor with type `ElT` and indices `inds`, whose elements are
normally distributed random numbers. If the element type is not specified,
Expand Down

0 comments on commit 4b7e485

Please sign in to comment.