Work

MutableArithmetics: An API for mutable operations

Year: 2024
Type: article
Abstract: Arithmetic operations defined in Julia do not modify their arguments. However, in many situations, a variable represents an accumulator that can be modified in-place to contain the result, e.g., when summing the elements of an array. Moreover, for types that support mutation, mutating the value may have a significant performance benefit over creating a new instance. This paper presents an interface that allows algorithms to exploit mutability in arithmetic operations in a generic manner.
Institution: KU Leuven
Language: English
Subfield: Software
Open Access status: diamond
OpenAlex ID: W4394914504
FWCI:
Cites: 3
Cited by:
Related to: 10