Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


cabs()                 Mathematics Function                cabs()




Complex absolute value function

#include <math.h>
double cabs(z) struct { double r, i; } z;

cabs computes the absolute  value, or modulus, of its complex ar-
gument z.   The absolute value of a complex  number is the length
of the  hypotenuse of a  right triangle whose sides  are given by
the real  part r  and the  imaginary part i.   The result  is the
square root of the sum of the squares of the parts.

***** Example *****

For an example of this function, see the entry for acos.

***** See Also *****

hypot(), mathematics library






































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026