warp.fem.borrow_temporary_like#
- warp.fem.borrow_temporary_like(array, temporary_store)[source]#
Borrow and return a temporary array with the same attributes as another array or temporary.
- Parameters:
array (array) – Warp or temporary array to read the desired attributes from
temporary_store (TemporaryStore | None) – the shared pool to borrow the temporary from. If
temporary_storeisNone, the global default temporary store, if set, will be used.
- Return type: