PageRenderTime 157ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/doxygen/latex/cudacomplex_8h.tex

http://dyplom-transwersalne-filtry-adaptacyjne.googlecode.com/
LaTeX | 87 lines | 69 code | 18 blank | 0 comment | 0 complexity | c69e5bfa1e80b2bcef055e23ae248fee MD5 | raw file
Possible License(s): GPL-2.0
  1. \hypertarget{cudacomplex_8h}{
  2. \section{\-Dokumentacja pliku \-C\-:/\-Users/boski/\-Documents/\-Visual \-Studio 2008/\-Projects/cuda/blms/cudacomplex.h}
  3. \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}}
  4. }
  5. \-Implementacja obs?ugi liczb zespolonych.
  6. {\ttfamily \#include $<$vector\-\_\-types.\-h$>$}\*
  7. \subsection*{\-Definicje}
  8. \begin{DoxyCompactItemize}
  9. \item
  10. \hypertarget{cudacomplex_8h_abbbcf3c42c997889127cc676754a6fea}{
  11. \#define {\bfseries \-H\-O\-S\-T}~static inline}
  12. \label{cudacomplex_8h_abbbcf3c42c997889127cc676754a6fea}
  13. \item
  14. \hypertarget{cudacomplex_8h_a775d096fbc3988fb7ed858b79ef44e22}{
  15. \#define {\bfseries \-D\-E\-V\-I\-C\-E}~static inline}
  16. \label{cudacomplex_8h_a775d096fbc3988fb7ed858b79ef44e22}
  17. \item
  18. \hypertarget{cudacomplex_8h_a37955bd0f8f367cd2825e16da3486f9a}{
  19. \#define {\bfseries \-H\-O\-S\-T\-D\-E\-V\-I\-C\-E}~static inline}
  20. \label{cudacomplex_8h_a37955bd0f8f367cd2825e16da3486f9a}
  21. \item
  22. \hypertarget{cudacomplex_8h_a545586ced4fd64f4c718f963d011aa4f}{
  23. \#define {\bfseries \-M\-\_\-\-H\-O\-S\-T}~inline}
  24. \label{cudacomplex_8h_a545586ced4fd64f4c718f963d011aa4f}
  25. \item
  26. \hypertarget{cudacomplex_8h_a895b2b0bb55161d814aed2a5bf0e8f6a}{
  27. \#define {\bfseries \-M\-\_\-\-H\-O\-S\-T\-D\-E\-V\-I\-C\-E}~inline}
  28. \label{cudacomplex_8h_a895b2b0bb55161d814aed2a5bf0e8f6a}
  29. \item
  30. \hypertarget{cudacomplex_8h_abe7f8cd9a0ce69b71567a3870415be66}{
  31. \#define {\bfseries \-A\-L\-I\-G\-N}(x)}
  32. \label{cudacomplex_8h_abe7f8cd9a0ce69b71567a3870415be66}
  33. \item
  34. \hypertarget{cudacomplex_8h_a865db08af30bc11499f740460c170366}{
  35. \#define {\bfseries \-R\-E\-F}(x)~\&x}
  36. \label{cudacomplex_8h_a865db08af30bc11499f740460c170366}
  37. \item
  38. \hypertarget{cudacomplex_8h_a5571e8599744a35da409503b99a67433}{
  39. \#define {\bfseries \-A\-R\-R\-A\-Y\-R\-E\-F}(x, y)~(\&x)\mbox{[}y\mbox{]}}
  40. \label{cudacomplex_8h_a5571e8599744a35da409503b99a67433}
  41. \end{DoxyCompactItemize}
  42. \subsection*{\-Funkcje}
  43. \begin{DoxyCompactItemize}
  44. \item
  45. struct \hyperlink{cudacomplex_8h_a556ec5b82bf0267c56230711173e0de5}{\-A\-L\-I\-G\-N} (8) \-\_\-cudacomplex
  46. \end{DoxyCompactItemize}
  47. \subsection*{\-Zmienne}
  48. \begin{DoxyCompactItemize}
  49. \item
  50. \hypertarget{cudacomplex_8h_acd6833ffb980fa5f5a968f6a2be00036}{
  51. {\bfseries cudacomplex}}
  52. \label{cudacomplex_8h_acd6833ffb980fa5f5a968f6a2be00036}
  53. \end{DoxyCompactItemize}
  54. \subsection{\-Opis szczegó?owy}
  55. \-Implementacja obs?ugi liczb zespolonych. \hypertarget{cudacomplex_8h_LICENSE}{}\subsection{\-L\-I\-C\-E\-N\-S\-E}\label{cudacomplex_8h_LICENSE}
  56. \-Copyright (c) 2008-\/2009 \-Christian \-Buchner $<$\href{mailto:Christian.Buchner@gmail.com}{\tt \-Christian.\-Buchner@gmail.\-com}$>$ \-All rights reserved.
  57. \-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.
  58. \-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.
  59. \subsection{\-Dokumentacja funkcji}
  60. \hypertarget{cudacomplex_8h_a556ec5b82bf0267c56230711173e0de5}{
  61. \index{cudacomplex.\-h@{cudacomplex.\-h}!\-A\-L\-I\-G\-N@{\-A\-L\-I\-G\-N}}
  62. \index{\-A\-L\-I\-G\-N@{\-A\-L\-I\-G\-N}!cudacomplex.h@{cudacomplex.\-h}}
  63. \subsubsection[{\-A\-L\-I\-G\-N}]{\setlength{\rightskip}{0pt plus 5cm}struct \-A\-L\-I\-G\-N (
  64. \begin{DoxyParamCaption}
  65. \item[{8}]{}
  66. \end{DoxyParamCaption}
  67. )\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}}
  68. \label{cudacomplex_8h_a556ec5b82bf0267c56230711173e0de5}
  69. \-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.