---
title: "ClikaRT::ops::pow_"
sidebar_label: "pow_"
description: "In-place pow: writes the powers 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>

## pow\_() {#pow_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`pow_`**([`Tensor`](../Tensor.md)`&` `self`, [`ScalarOrTensor`](../ScalarOrTensor.md) `exponent`)

</div>

In-place [`pow`](./pow.md#pow): writes the powers through `x`.

**Throws**

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

<div class="api-declared">

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

</div>
