On 2022-05-05 at 10:57:53 -0300, Guillermo P. Ortiz wrote:
> Hello,
> somebody know if there are a quick way
> to set all very small number to zero into a ndarray?

Hello,

If I understand correctly, I believe that you can achieve this using the
`where` function <https://metacpan.org/pod/PDL::Primitive#where> to
create a mask.

Cheers,
- Zaki Mughal

> 
> Regards
> 
> 
> -- 
> 
> 
> Dr. Guillermo P. Ortiz
> Electromagnetismo Aplicado
> Dto. FĂ­sica, Facultad de Ciencias Exactas
> Universidad Nacional del Nordeste
> Avda Libertad 5460, W3404AAS Corrientes,
> Argentina.
> (+54) 379-4424678 interno 4613
> gortiz* at *unne edu ar


> _______________________________________________
> pdl-devel mailing list
> pdl-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pdl-devel



_______________________________________________
pdl-general mailing list
pdl-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to