Re: [Pdl-devel] cgtsv

2024-12-31 Thread Ed .
it, it's not much use to you. If you want to copy only if not marked inplace, use $out = $pdl->new_or_inplace. Best regards, Ed From: Luis Mochan Sent: 05 December 2024 14:40 To: Ed . Cc: perldl ; perldl Subject: Re: [Pdl-devel] cgtsv Hi Ed, On Thu,

Re: [Pdl-devel] cgtsv

2024-12-05 Thread Luis Mochan
Hi Ed, On Thu, Dec 05, 2024 at 07:15:39AM +, Ed . wrote: > If an input parameter gets modified, it absolutely needs to be > marked [io]. Please could you open an issue on the repo noting at > least that operation, and any others you spot that have the same > problem? Sorry for missing that he

Re: [Pdl-devel] cgtsv

2024-12-04 Thread Ed .
not make copies of their inputs, that is for higher-level wrappings to do. In your case I believe that's in Photonic::Util? Best regards, Ed From: Luis Mochan Sent: 04 December 2024 11:54 PM To: perldl ; perldl Subject: [Pdl-devel] cgtsv Hi, I use the ro

[Pdl-devel] cgtsv

2024-12-04 Thread Luis Mochan
Hi, I use the routine PDL::LinearAlgebra::Complex::cgtsv to solve systems of linear equations described by a tridiagonal matrix. The arguments are the sub-diagonal, the diagonal, the supradiagonal and the right hand side of the equations. I found one of my programs has a misterious error, as i