replace# swordfish.function.replace()# Replace oldValue with newValue in X. replace is the in-place change version of replace. 参数: obj (Constant) -- A vector/matrix. oldValue (Constant) -- A scalar indicating the value to be replaced. newValue (Constant) -- A scalar of the same category as X, indicating the new value. [replace]#