diff --git a/previews/PR351/.documenter-siteinfo.json b/previews/PR351/.documenter-siteinfo.json index be79c7c..9da9a2a 100644 --- a/previews/PR351/.documenter-siteinfo.json +++ b/previews/PR351/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-10-16T23:01:59","documenter_version":"1.7.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-10-16T23:02:25","documenter_version":"1.7.0"}} \ No newline at end of file diff --git a/previews/PR351/index.html b/previews/PR351/index.html index 5160fdb..9325d8f 100644 --- a/previews/PR351/index.html +++ b/previews/PR351/index.html @@ -4,8 +4,8 @@ A = rand(5,5) opA = LinearOperator(A) A[:,1] * 3 isa Vector
true
opA[:,1] * 3 isa LinearOperator
true
opA[:,1] * [3] isa Vector
true
However, the following returns an error
A[:,1] * [3]
This is also true for A[i,:]
, which would return a vector and for the scalar A[i,j]
. Similarly, opA[1,1]
is an operator of size (1,1):"
(opA[1,1] * [3])[1] - A[1,1] * 3
0.0
In the same spirit, the operator Matrix
always returns a matrix.
Matrix(opA[:,1])
5×1 Matrix{Float64}:
- 0.45204029278593383
- 0.8522006435505273
- 0.4730669148582347
- 0.8138138058191658
- 0.37645768127519086
julia> Pkg.test("LinearOperators")
If you think you found a bug, feel free to open an issue. Focused suggestions and requests can also be opened as issues. Before opening a pull request, start an issue or a discussion on the topic, please.
If you want to ask a question not suited for a bug report, feel free to start a discussion here. This forum is for general discussion about this repository and the JuliaSmoothOptimizers organization, so questions about any of our packages are welcome.
Settings
This document was generated with Documenter.jl version 1.7.0 on Wednesday 16 October 2024. Using Julia version 1.10.5.