%$Id: complex.tex,v 25.95 2006/08/26 01:26:53 al Exp $ -*- LaTeX -*-
% man behavior complex .
% Copyright (C) 2001 Albert Davis
% Author: Albert Davis <aldavis@ieee.org>
%
% This file is part of "Gnucap", the Gnu Circuit Analysis Package
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2, or (at your option)
% any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
% 02110-1301, USA.
%------------------------------------------------------------------------
\section{{\tt COMPLEX}: Complex value}
%------------------------------------------------------------------------
\subsection{Syntax}
\begin{verse}
{\tt COMPLEX} {\it realpart imaginarypart options}
\end{verse}
%------------------------------------------------------------------------
\subsection{Purpose}

Complex component value, using a real and imaginary part.  AC only.
%------------------------------------------------------------------------
\subsection{Comments}

Strictly, this adds no functionality over the polar option on any
function, except notational convenience.

It is only meaningful in AC analysis.  Others take the real part and
ignore the imaginary part.  No warning is issued.
%------------------------------------------------------------------------
\subsection{Example} 

\begin{description}

\item [{\tt V12 (2 0) complex(1,2)}]
A voltage source with a value of 1 + j2 volts.

\item [{\tt R12 (2 4) complex(50,-10)}]
A ``resistor'' with a value of 50 - j10 ohms.

\end{description}
%------------------------------------------------------------------------
%------------------------------------------------------------------------
