Skip to content

SQRT

Summary

Vector square root: applies the square-root function element-wise to each input value.

Formula

outReal[i] = sqrt(inReal[i])

Inputs

  • inReal — Input values

Outputs

  • outReal — Square root of each input value

Implementation

TA-Lib Definition: sqrt.c · sqrt.yaml

Native File
C ta_SQRT.c
Rust sqrt.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Square Root