/doxygen/latex/cudacomplex_8h.tex
LaTeX | 87 lines | 69 code | 18 blank | 0 comment | 0 complexity | c69e5bfa1e80b2bcef055e23ae248fee MD5 | raw file
Possible License(s): GPL-2.0
- \hypertarget{cudacomplex_8h}{
- \section{\-Dokumentacja pliku \-C\-:/\-Users/boski/\-Documents/\-Visual \-Studio 2008/\-Projects/cuda/blms/cudacomplex.h}
- \label{cudacomplex_8h}\index{\-C\-:/\-Users/boski/\-Documents/\-Visual Studio 2008/\-Projects/cuda/blms/cudacomplex.\-h@{\-C\-:/\-Users/boski/\-Documents/\-Visual Studio 2008/\-Projects/cuda/blms/cudacomplex.\-h}}
- }
- \-Implementacja obs?ugi liczb zespolonych.
- {\ttfamily \#include $<$vector\-\_\-types.\-h$>$}\*
- \subsection*{\-Definicje}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{cudacomplex_8h_abbbcf3c42c997889127cc676754a6fea}{
- \#define {\bfseries \-H\-O\-S\-T}~static inline}
- \label{cudacomplex_8h_abbbcf3c42c997889127cc676754a6fea}
- \item
- \hypertarget{cudacomplex_8h_a775d096fbc3988fb7ed858b79ef44e22}{
- \#define {\bfseries \-D\-E\-V\-I\-C\-E}~static inline}
- \label{cudacomplex_8h_a775d096fbc3988fb7ed858b79ef44e22}
- \item
- \hypertarget{cudacomplex_8h_a37955bd0f8f367cd2825e16da3486f9a}{
- \#define {\bfseries \-H\-O\-S\-T\-D\-E\-V\-I\-C\-E}~static inline}
- \label{cudacomplex_8h_a37955bd0f8f367cd2825e16da3486f9a}
- \item
- \hypertarget{cudacomplex_8h_a545586ced4fd64f4c718f963d011aa4f}{
- \#define {\bfseries \-M\-\_\-\-H\-O\-S\-T}~inline}
- \label{cudacomplex_8h_a545586ced4fd64f4c718f963d011aa4f}
- \item
- \hypertarget{cudacomplex_8h_a895b2b0bb55161d814aed2a5bf0e8f6a}{
- \#define {\bfseries \-M\-\_\-\-H\-O\-S\-T\-D\-E\-V\-I\-C\-E}~inline}
- \label{cudacomplex_8h_a895b2b0bb55161d814aed2a5bf0e8f6a}
- \item
- \hypertarget{cudacomplex_8h_abe7f8cd9a0ce69b71567a3870415be66}{
- \#define {\bfseries \-A\-L\-I\-G\-N}(x)}
- \label{cudacomplex_8h_abe7f8cd9a0ce69b71567a3870415be66}
- \item
- \hypertarget{cudacomplex_8h_a865db08af30bc11499f740460c170366}{
- \#define {\bfseries \-R\-E\-F}(x)~\&x}
- \label{cudacomplex_8h_a865db08af30bc11499f740460c170366}
- \item
- \hypertarget{cudacomplex_8h_a5571e8599744a35da409503b99a67433}{
- \#define {\bfseries \-A\-R\-R\-A\-Y\-R\-E\-F}(x, y)~(\&x)\mbox{[}y\mbox{]}}
- \label{cudacomplex_8h_a5571e8599744a35da409503b99a67433}
- \end{DoxyCompactItemize}
- \subsection*{\-Funkcje}
- \begin{DoxyCompactItemize}
- \item
- struct \hyperlink{cudacomplex_8h_a556ec5b82bf0267c56230711173e0de5}{\-A\-L\-I\-G\-N} (8) \-\_\-cudacomplex
- \end{DoxyCompactItemize}
- \subsection*{\-Zmienne}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{cudacomplex_8h_acd6833ffb980fa5f5a968f6a2be00036}{
- {\bfseries cudacomplex}}
- \label{cudacomplex_8h_acd6833ffb980fa5f5a968f6a2be00036}
- \end{DoxyCompactItemize}
- \subsection{\-Opis szczegó?owy}
- \-Implementacja obs?ugi liczb zespolonych. \hypertarget{cudacomplex_8h_LICENSE}{}\subsection{\-L\-I\-C\-E\-N\-S\-E}\label{cudacomplex_8h_LICENSE}
- \-Copyright (c) 2008-\/2009 \-Christian \-Buchner $<$\href{mailto:Christian.Buchner@gmail.com}{\tt \-Christian.\-Buchner@gmail.\-com}$>$ \-All rights reserved.
- \-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met\-: $\ast$ \-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. $\ast$ \-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- \-T\-H\-I\-S \-S\-O\-F\-T\-W\-A\-R\-E \-I\-S \-P\-R\-O\-V\-I\-D\-E\-D \-B\-Y \-Christian \-Buchner ''\-A\-S \-I\-S'' \-A\-N\-D \-A\-N\-Y \-E\-X\-P\-R\-E\-S\-S \-O\-R \-I\-M\-P\-L\-I\-E\-D \-W\-A\-R\-R\-A\-N\-T\-I\-E\-S, \-I\-N\-C\-L\-U\-D\-I\-N\-G, \-B\-U\-T \-N\-O\-T \-L\-I\-M\-I\-T\-E\-D \-T\-O, \-T\-H\-E \-I\-M\-P\-L\-I\-E\-D \-W\-A\-R\-R\-A\-N\-T\-I\-E\-S \-O\-F \-M\-E\-R\-C\-H\-A\-N\-T\-A\-B\-I\-L\-I\-T\-Y \-A\-N\-D \-F\-I\-T\-N\-E\-S\-S \-F\-O\-R \-A \-P\-A\-R\-T\-I\-C\-U\-L\-A\-R \-P\-U\-R\-P\-O\-S\-E \-A\-R\-E \-D\-I\-S\-C\-L\-A\-I\-M\-E\-D. \-I\-N \-N\-O \-E\-V\-E\-N\-T \-S\-H\-A\-L\-L \-Christian \-Buchner \-B\-E \-L\-I\-A\-B\-L\-E \-F\-O\-R \-A\-N\-Y \-D\-I\-R\-E\-C\-T, \-I\-N\-D\-I\-R\-E\-C\-T, \-I\-N\-C\-I\-D\-E\-N\-T\-A\-L, \-S\-P\-E\-C\-I\-A\-L, \-E\-X\-E\-M\-P\-L\-A\-R\-Y, \-O\-R \-C\-O\-N\-S\-E\-Q\-U\-E\-N\-T\-I\-A\-L \-D\-A\-M\-A\-G\-E\-S (\-I\-N\-C\-L\-U\-D\-I\-N\-G, \-B\-U\-T \-N\-O\-T \-L\-I\-M\-I\-T\-E\-D \-T\-O, \-P\-R\-O\-C\-U\-R\-E\-M\-E\-N\-T \-O\-F \-S\-U\-B\-S\-T\-I\-T\-U\-T\-E \-G\-O\-O\-D\-S \-O\-R \-S\-E\-R\-V\-I\-C\-E\-S; \-L\-O\-S\-S \-O\-F \-U\-S\-E, \-D\-A\-T\-A, \-O\-R \-P\-R\-O\-F\-I\-T\-S; \-O\-R \-B\-U\-S\-I\-N\-E\-S\-S \-I\-N\-T\-E\-R\-R\-U\-P\-T\-I\-O\-N) \-H\-O\-W\-E\-V\-E\-R \-C\-A\-U\-S\-E\-D \-A\-N\-D \-O\-N \-A\-N\-Y \-T\-H\-E\-O\-R\-Y \-O\-F \-L\-I\-A\-B\-I\-L\-I\-T\-Y, \-W\-H\-E\-T\-H\-E\-R \-I\-N \-C\-O\-N\-T\-R\-A\-C\-T, \-S\-T\-R\-I\-C\-T \-L\-I\-A\-B\-I\-L\-I\-T\-Y, \-O\-R \-T\-O\-R\-T (\-I\-N\-C\-L\-U\-D\-I\-N\-G \-N\-E\-G\-L\-I\-G\-E\-N\-C\-E \-O\-R \-O\-T\-H\-E\-R\-W\-I\-S\-E) \-A\-R\-I\-S\-I\-N\-G \-I\-N \-A\-N\-Y \-W\-A\-Y \-O\-U\-T \-O\-F \-T\-H\-E \-U\-S\-E \-O\-F \-T\-H\-I\-S \-S\-O\-F\-T\-W\-A\-R\-E, \-E\-V\-E\-N \-I\-F \-A\-D\-V\-I\-S\-E\-D \-O\-F \-T\-H\-E \-P\-O\-S\-S\-I\-B\-I\-L\-I\-T\-Y \-O\-F \-S\-U\-C\-H \-D\-A\-M\-A\-G\-E.
- \subsection{\-Dokumentacja funkcji}
- \hypertarget{cudacomplex_8h_a556ec5b82bf0267c56230711173e0de5}{
- \index{cudacomplex.\-h@{cudacomplex.\-h}!\-A\-L\-I\-G\-N@{\-A\-L\-I\-G\-N}}
- \index{\-A\-L\-I\-G\-N@{\-A\-L\-I\-G\-N}!cudacomplex.h@{cudacomplex.\-h}}
- \subsubsection[{\-A\-L\-I\-G\-N}]{\setlength{\rightskip}{0pt plus 5cm}struct \-A\-L\-I\-G\-N (
- \begin{DoxyParamCaption}
- \item[{8}]{}
- \end{DoxyParamCaption}
- )\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}}
- \label{cudacomplex_8h_a556ec5b82bf0267c56230711173e0de5}
- \-A complex number type for use with \-C\-U\-D\-A, single precision accuracy. \-This is deliberately designed to use few \-C++ features in order to work with most \-C\-U\-D\-A \-S\-D\-K versions. \-It is friendlier to use than the cu\-Complex type because it provides more operator overloads. \-The class should work in host code and in device code and also in emulation mode. \-Also this has been tested on any \-O\-S that the \-C\-U\-D\-A \-S\-D\-K is available for.