modified: diffout.py
[GalaxyCodeBases.git] / c_cpp / etc / calc / help / conj
blob28f5a52265740b34f8cdf104ff71ac933f66e097
1 NAME
2     conj - complex conjugate
4 SYNOPSIS
5     conj(x)
7 TYPES
8     If x is an object of type xx, conj(x) calls xx_conj(x).
10     For non-object x:
12     x           real, complex, or matrix
14     return      real, complex, or matrix
16 DESCRIPTION
18     For real x, conj(x) returns x.
20     For complex x, conj(x) returns re(x) - im(x) * 1i.
22     For matrix x, conj(x) returns a matrix of the same structure as x
23     in which each element t of x has been replaced by conj(t).
25     For xx objects, xx_conj(a) may return any type of value, but
26     for the properties usually expected of conjugates, xx_conj(a)
27     would return an xx object in which each number component is the
28     conjugate of the corresponding component of a.
30 EXAMPLE
31     ; print conj(3), conj(3 + 4i)
32     3 3-4i
34 LIMITS
35     none
37 LINK LIBRARY
38     void conjvalue(VALUE *x, *res)
40 SEE ALSO
41     norm, abs, arg
43 ## Copyright (C) 1999  Landon Curt Noll
45 ## Calc is open software; you can redistribute it and/or modify it under
46 ## the terms of the version 2.1 of the GNU Lesser General Public License
47 ## as published by the Free Software Foundation.
49 ## Calc is distributed in the hope that it will be useful, but WITHOUT
50 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
51 ## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
52 ## Public License for more details.
54 ## A copy of version 2.1 of the GNU Lesser General Public License is
55 ## distributed with calc under the filename COPYING-LGPL.  You should have
56 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
57 ## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
59 ## @(#) $Revision: 30.1 $
60 ## @(#) $Id: conj,v 30.1 2007/03/16 11:10:42 chongo Exp $
61 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/conj,v $
63 ## Under source code control:   1995/10/03 10:40:01
64 ## File existed as early as:    1995
66 ## chongo <was here> /\oo/\     http://www.isthe.com/chongo/
67 ## Share and enjoy!  :-)        http://www.isthe.com/chongo/tech/comp/calc/