---
title: "ClikaRT::ops::copysign_"
sidebar_label: "copysign_"
description: "In-place copysign: writes the re-signed magnitudes through x. ClikaRT::Error as the value form."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--function">function</span>

## copysign\_() {#copysign_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`copysign_`**([`Tensor`](../Tensor.md)`&` `self`, [`ScalarOrTensor`](../ScalarOrTensor.md) `other`)

</div>

In-place [`copysign`](./copysign.md#copysign): writes the re-signed magnitudes through `x`.

**Throws**

- `ClikaRT::Error`: as the value form.

<div class="api-declared">

Declared in `ClikaRT/compute/ops.h`, line 1427

</div>
