On Wednesday, February 12, 2014 3:41:21 PM UTC-5, Jason Pries wrote: > > FWIW, The place I use this the most is when solving PDEs using finite > elements with Dirichlet/Periodic boundary conditions. If I want to preserve > the symmetry of the matrix before factorization, I end up needing to delete > some rows and columns. I could write the code to create the matrix the way > I end up using it, but that would require every function that creates a > matrix to know about the boundary conditions which complicates things > considerably. >> >> >> Note that you can do this out-of-place via B = A(I,J), where I and J are arrays of the desired indices. The question is how important is in-place operation here; for sparse matrices, the matrix storage is usually small compared to that of the factorization (for sparse-direct solvers).
- Re: [julia-users] Re: Howto: Julia x[I] = [] ??... Kevin Squire
- Re: [julia-users] Re: Howto: Julia x[I] = [] ?? vs Matla... Don Gateley
- Re: [julia-users] Re: Howto: Julia x[I] = [] ?? vs Matla... Steven G. Johnson
- Re: [julia-users] Re: Howto: Julia x[I] = [] ?? vs ... Kevin Squire
- Re: [julia-users] Re: Howto: Julia x[I] = [] ??... Kevin Squire
- Re: [julia-users] Re: Howto: Julia x[I] = [... Stefan Karpinski
- Re: [julia-users] Re: Howto: Julia x[I]... Don Gateley
- Re: [julia-users] Re: Howto: Julia... Andreas Lobinger
- Re: [julia-users] Re: Howto: J... Jason Pries
- Re: [julia-users] Re: Howto: J... Stefan Karpinski
- Re: [julia-users] Re: Howto: J... Steven G. Johnson
- Re: [julia-users] Re: Howto: J... Jason Pries
- Re: [julia-users] Re: Howto: Julia... Stefan Karpinski
- Re: [julia-users] Re: Howto: J... Don Gateley
- Re: [julia-users] Re: Howto: J... Iain Dunning
- Re: [julia-users] Re: Howto: J... Stefan Karpinski
