Skip to content

Commit 461b694

Browse files
syurkeviumar456
authored andcommitted
remove doxygen warnings
1 parent 2fb3c9e commit 461b694

13 files changed

Lines changed: 85 additions & 91 deletions

File tree

docs/details/arith.dox

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,6 @@ Find the modulus.
230230

231231
Find the absolute value.
232232

233-
__Examples:__
234-
235-
\snippet test/math.cpp ex_arith_func_abs
236-
237-
238233

239234
\defgroup arith_func_arg arg
240235
\ingroup numeric_mat
@@ -332,11 +327,6 @@ Evaluate the inverse cosine function (arc cosine).
332327

333328
The inverse of cosine so that, if `y = cos(x)`, then `x = arccos(y)`.
334329

335-
__Examples:__
336-
337-
\snippet test/math.cpp ex_arith_func_acos
338-
339-
340330

341331
\defgroup arith_func_atan atan/atan2
342332
\ingroup trig_mat
@@ -440,7 +430,7 @@ Raise a base to a power (or exponent).
440430

441431

442432

443-
\defgroup arith_func_pow pow2
433+
\defgroup arith_func_pow2 pow2
444434
\ingroup explog_mat
445435

446436
Raise 2 to a power (or exponent).

docs/details/image.dox

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ is described above, but the effect should be the same.
855855
\defgroup image_func_wrap wrap
856856
\ingroup image_mod_mat
857857

858-
Performs the opposite of \ref unwrap().
858+
Performs the opposite of \ref af::unwrap().
859859

860860
More specifically, wrap takes each column (or row if `is_column` is false) of the
861861
\f$m \times n\f$ input array and reshapes them into `wx` \f$\times\f$ `wy`
@@ -935,7 +935,7 @@ is visualized above, but the effect should be the same.
935935
\defgroup image_func_moments moments
936936
\ingroup moments_mat
937937

938-
The \ref moments() function allows for finding different
938+
The \ref af::moments() function allows for finding different
939939
properties of image regions. Currently, ArrayFire calculates all first order moments.
940940
The moments are defined within the \ref af_moment_type enum.
941941

@@ -1059,8 +1059,8 @@ explicitly.
10591059

10601060
\brief Segment image based on similar pixel characteristics
10611061

1062-
This filter is similar to \ref regions() (connected components) with additional
1063-
criteria for segmentation. In \ref regions(), all connected (\ref af_connectivity)
1062+
This filter is similar to \ref af::regions() (connected components) with additional
1063+
criteria for segmentation. In \ref af::regions(), all connected (\ref af_connectivity)
10641064
pixels connected are considered to be a single component. In this
10651065
variation of connected components, pixels having similar pixel statistics
10661066
of the neighborhoods around a given set of seed points are grouped together.

docs/details/lapack.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ following code snippet can be used:
141141

142142
\snippet test/svd_dense.cpp ex_svd_reg
143143

144-
When memory is a concern, and \f$A\f$ is dispensable, \ref svdInPlace() can be
144+
When memory is a concern, and \f$A\f$ is dispensable, \ref af::svdInPlace() can be
145145
used. However, this in-place version is currently limited to input arrays where
146146
\f$M \geq N\f$.
147147

docs/details/signal.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Given below is an example of this batch mode.
274274

275275

276276
The batching behavior of convolve2NN functions(\ref af_convolve2_nn() and
277-
\ref convolve2NN() ) is different from convolve2. The new functions can perform 2D
277+
\ref af::convolve2NN() ) is different from convolve2. The new functions can perform 2D
278278
convolution on 3D signals and filters in a way that is more aligned with
279279
convolutional neural networks.
280280

docs/pages/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ achieve high throughput on most parallel architectures.
1818

1919
ArrayFire provides one generic container object, the [array](\ref af::array)
2020
on which functions and mathematical operations are performed. The `array`
21-
can represent one of many different [basic data types](\ref af::af_dtype):
21+
can represent one of many different [basic data types](\ref af_dtype):
2222

2323
* [f32](\ref f32) real single-precision (`float`)
2424
* [c32](\ref c32) complex single-precision (`cfloat`)
@@ -87,7 +87,7 @@ ArrayFire provides several functions to determine various aspects of arrays.
8787
This includes functions to print the contents, query the dimensions, and
8888
determine various other aspects of arrays.
8989

90-
The [af_print](\ref af::af_print) function can be used to print arrays that
90+
The [af_print](\ref af_print) function can be used to print arrays that
9191
have already been generated or any expression involving arrays:
9292

9393
\snippet test/getting_started.cpp ex_getting_started_print

docs/pages/release_notes.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ Bug Fixes
12171217
before returning pointer with asynchronous calls in CPU backend.
12181218
* OpenCL Backend: [fix segfaults](https://github.com/arrayfire/arrayfire/issues/1324)
12191219
when requested for device pointers on empty arrays.
1220-
* Fixed \ref af::array::operator%() from using [rem to mod](https://github.com/arrayfire/arrayfire/issues/1318).
1220+
* Fixed \ref af::operator%() from using [rem to mod](https://github.com/arrayfire/arrayfire/issues/1318).
12211221
* Fixed [array destruction](https://github.com/arrayfire/arrayfire/issues/1321)
12221222
when backends are switched in Unified API.
12231223
* Fixed [indexing](https://github.com/arrayfire/arrayfire/issues/1331) after
@@ -1356,9 +1356,9 @@ Deprecations
13561356
Documentation
13571357
--------------
13581358

1359-
* Fixes to documentation for \ref matchTemplate().
1359+
* Fixes to documentation for \ref af::matchTemplate().
13601360
* Improved documentation for deviceInfo.
1361-
* Fixes to documentation for \ref exp().
1361+
* Fixes to documentation for \ref af::exp().
13621362

13631363
Known Issues
13641364
------------
@@ -1497,18 +1497,18 @@ Major Updates
14971497
Function Additions
14981498
------------------
14991499
* Unified Backend
1500-
* \ref setBackend() - Sets a backend as active
1501-
* \ref getBackendCount() - Gets the number of backends available for use
1502-
* \ref getAvailableBackends() - Returns information about available backends
1503-
* \ref getBackendId() - Gets the backend enum for an array
1500+
* \ref af::setBackend() - Sets a backend as active
1501+
* \ref af::getBackendCount() - Gets the number of backends available for use
1502+
* \ref af::getAvailableBackends() - Returns information about available backends
1503+
* \ref af::getBackendId() - Gets the backend enum for an array
15041504

15051505
* Vision
1506-
* \ref homography() - Homography estimation
1507-
* \ref gloh() - GLOH Descriptor for SIFT
1506+
* \ref af::homography() - Homography estimation
1507+
* \ref af::gloh() - GLOH Descriptor for SIFT
15081508

15091509
* Image Processing
1510-
* \ref loadImageNative() - Load an image as native data without modification
1511-
* \ref saveImageNative() - Save an image without modifying data or type
1510+
* \ref af::loadImageNative() - Load an image as native data without modification
1511+
* \ref af::saveImageNative() - Save an image without modifying data or type
15121512

15131513
* Graphics
15141514
* \ref af::Window::plot3() - 3-dimensional line plot
@@ -1522,26 +1522,26 @@ Function Additions
15221522
* \ref af_release_indexers()
15231523

15241524
* CUDA Backend Specific
1525-
* \ref setNativeId() - Set the CUDA device with given native id as active
1525+
* \ref afcu::setNativeId() - Set the CUDA device with given native id as active
15261526
* ArrayFire uses a modified order for devices. The native id for a
15271527
device can be retreived using `nvidia-smi`
15281528

15291529
* OpenCL Backend Specific
1530-
* \ref setDeviceId() - Set the OpenCL device using the `clDeviceId`
1530+
* \ref afcl::setDeviceId() - Set the OpenCL device using the `clDeviceId`
15311531

15321532
Other Improvements
15331533
------------------------
1534-
* Added \ref c32 and \ref c64 support for \ref isNaN(), \ref isInf() and \ref iszero()
1535-
* Added CPU information for `x86` and `x86_64` architectures in CPU backend's \ref info()
1536-
* Batch support for \ref approx1() and \ref approx2()
1534+
* Added \ref c32 and \ref c64 support for \ref af::isNaN(), \ref af::isInf() and \ref af::iszero()
1535+
* Added CPU information for `x86` and `x86_64` architectures in CPU backend's \ref af::info()
1536+
* Batch support for \ref af::approx1() and \ref af::approx2()
15371537
* Now can be used with gfor as well
15381538
* Added \ref s64 and \ref u64 support to:
1539-
* \ref sort() (along with sort index and sort by key)
1540-
* \ref setUnique(), \ref setUnion(), \ref setIntersect()
1541-
* \ref convolve() and \ref fftConvolve()
1542-
* \ref histogram() and \ref histEqual()
1543-
* \ref lookup()
1544-
* \ref mean()
1539+
* \ref af::sort() (along with sort index and sort by key)
1540+
* \ref af::setUnique(), \ref af::setUnion(), \ref af::setIntersect()
1541+
* \ref af::convolve() and \ref af::fftConvolve()
1542+
* \ref af::histogram() and \ref af::histEqual()
1543+
* \ref af::lookup()
1544+
* \ref af::mean()
15451545
* Added \ref AF_MSG macro
15461546

15471547
Build Improvements
@@ -1553,15 +1553,15 @@ Build Improvements
15531553

15541554
Bug Fixes
15551555
--------------
1556-
* Fixed [memory leak](https://github.com/arrayfire/arrayfire/pull/1096) in \ref susan()
1556+
* Fixed [memory leak](https://github.com/arrayfire/arrayfire/pull/1096) in \ref af::susan()
15571557
* Fixed [failing test](https://github.com/arrayfire/arrayfire/commit/144a2db)
1558-
in \ref lower() and \ref upper() for CUDA compute 53
1558+
in \ref af::lower() and \ref af::upper() for CUDA compute 53
15591559
* Fixed [bug](https://github.com/arrayfire/arrayfire/issues/1092) in CUDA for indexing out of bounds
1560-
* Fixed [dims check](https://github.com/arrayfire/arrayfire/commit/6975da8) in \ref iota()
1561-
* Fixed [out-of-bounds access](https://github.com/arrayfire/arrayfire/commit/7fc3856) in \ref sift()
1562-
* Fixed [memory allocation](https://github.com/arrayfire/arrayfire/commit/5e88e4a) in \ref fast() OpenCL
1560+
* Fixed [dims check](https://github.com/arrayfire/arrayfire/commit/6975da8) in \ref af::iota()
1561+
* Fixed [out-of-bounds access](https://github.com/arrayfire/arrayfire/commit/7fc3856) in \ref af::sift()
1562+
* Fixed [memory allocation](https://github.com/arrayfire/arrayfire/commit/5e88e4a) in \ref af::fast() OpenCL
15631563
* Fixed [memory leak](https://github.com/arrayfire/arrayfire/pull/994) in image I/O functions
1564-
* \ref dog() now returns float-point type arrays
1564+
* \ref af::dog() now returns float-point type arrays
15651565

15661566
Documentation Updates
15671567
---------------------
@@ -1664,10 +1664,10 @@ v3.1.0
16641664
Function Additions
16651665
------------------
16661666
* Computer Vision Functions
1667-
* \ref nearestNeighbour() - Nearest Neighbour with SAD, SSD and SHD distances
1668-
* \ref harris() - Harris Corner Detector
1669-
* \ref susan() - Susan Corner Detector
1670-
* \ref sift() - Scale Invariant Feature Transform (SIFT)
1667+
* \ref af::nearestNeighbour() - Nearest Neighbour with SAD, SSD and SHD distances
1668+
* \ref af::harris() - Harris Corner Detector
1669+
* \ref af::susan() - Susan Corner Detector
1670+
* \ref af::sift() - Scale Invariant Feature Transform (SIFT)
16711671
* Method and apparatus for identifying scale invariant features"
16721672
"in an image and use of same for locating an object in an image,\" David"
16731673
"G. Lowe, US Patent 6,711,293 (March 23, 2004). Provisional application"
@@ -1677,7 +1677,7 @@ Function Additions
16771677
"Columbia.")
16781678
* SIFT is available for compiling but does not ship with ArrayFire
16791679
hosted installers/pre-built libraries
1680-
* \ref dog() - Difference of Gaussians
1680+
* \ref af::dog() - Difference of Gaussians
16811681

16821682
* Image Processing Functions
16831683
* \ref ycbcr2rgb() and \ref rgb2ycbcr() - RGB <->YCbCr color space conversion
@@ -1803,20 +1803,20 @@ Bug Fixes
18031803
--------------
18041804

18051805
* Added missing symbols from the compatible API
1806-
* Fixed a bug affecting corner rows and elements in \ref grad()
1806+
* Fixed a bug affecting corner rows and elements in \ref af::grad()
18071807
* Fixed linear interpolation bugs affecting large images in the following:
1808-
- \ref approx1()
1809-
- \ref approx2()
1810-
- \ref resize()
1811-
- \ref rotate()
1812-
- \ref scale()
1813-
- \ref skew()
1814-
- \ref transform()
1808+
- \ref af::approx1()
1809+
- \ref af::approx2()
1810+
- \ref af::resize()
1811+
- \ref af::rotate()
1812+
- \ref af::scale()
1813+
- \ref af::skew()
1814+
- \ref af::transform()
18151815

18161816
Documentation
18171817
-----------------
18181818

1819-
* Added missing documentation for \ref constant()
1819+
* Added missing documentation for \ref af::constant()
18201820
* Added missing documentation for `array::scalar()`
18211821
* Added supported input types for functions in `arith.h`
18221822

docs/pages/using_on_linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requirements are that you include the ArrayFire header directories and link with
88
the ArrayFire library you intend to use i.e. CUDA, OpenCL, CPU, or Unified
99
backends.
1010

11-
## The big picture {#big-picture}
11+
## The big picture {#big-picture-linux}
1212

1313
On Linux, we recommend installing ArrayFire to `/opt/arrayfire` directory. The
1414
installer will populate files in the following sub-directories:
@@ -57,7 +57,7 @@ apt install build-essential cmake cmake-curses-gui
5757
## CMake
5858

5959
We recommend that the CMake build system be used to create ArrayFire projects.
60-
As [discussed above](#big-picture), ArrayFire ships with a series of CMake
60+
As [discussed above](#big-picture-linux), ArrayFire ships with a series of CMake
6161
scripts to make finding and using our library easy.
6262

6363
First create a file called `CMakeLists.txt` in your project directory:

docs/pages/using_on_osx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project using almost any editor, compiler, or build system. The only requirement
77
is that you can include the ArrayFire header directory, and link with the
88
ArrayFire library you intend to use.
99

10-
## <a name="big-picture"/> The big picture
10+
## The big picture {#big-picture-osx}
1111

1212
By default, the ArrayFire OSX installer will place several files in your
1313
computer's `/opt/arrayfire` directory. The installer will populate this
@@ -33,7 +33,7 @@ CMake or Makefiles with CMake being our preferred build system.
3333
## CMake {#CMake}
3434

3535
The CMake build system can be used to create ArrayFire projects. As [discussed
36-
above](#big-picture), ArrayFire ships with a series of CMake scripts to make
36+
above](#big-picture-osx), ArrayFire ships with a series of CMake scripts to make
3737
finding and using our library easy.
3838

3939
First create a file called `CMakeLists.txt` in your project directory:

docs/pages/using_on_windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Using ArrayFire with Microsoft Windows and Visual Studio {#using_on_windows}
44
If you have not already done so, please make sure you have installed,
55
configured, and tested ArrayFire following the [installation instructions](#installing).
66

7-
# The big picture
7+
# The big picture {#big-picture-windows}
88

99
The ArrayFire Windows installer creates the following:
1010
1. **AF_PATH** environment variable to point to the installation location. The

include/af/image.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ AFAPI array unwrap(const array& in, const dim_t wx, const dim_t wy,
602602

603603
#if AF_API_VERSION >= 31
604604
/**
605-
C++ Interface for performing the opposite of \ref unwrap()
605+
C++ Interface for performing the opposite of \ref unwrap
606606
607607
\param[in] in is the input array
608608
\param[in] ox is the output's dimension 0 size
@@ -1487,7 +1487,7 @@ extern "C" {
14871487

14881488
#if AF_API_VERSION >= 31
14891489
/**
1490-
C Interface for performing the opposite of \ref unwrap()
1490+
C Interface for performing the opposite of \ref af::unwrap()
14911491
14921492
\param[out] out is an array with the input's columns (or rows) reshaped as
14931493
patches
@@ -1506,7 +1506,7 @@ extern "C" {
15061506
otherwise an appropriate error code is returned.
15071507
15081508
\note Wrap is typically used to recompose an unwrapped image. If this is the
1509-
case, use the same parameters that were used in \ref unwrap(). Also
1509+
case, use the same parameters that were used in \ref af::unwrap(). Also
15101510
use the original image size (before unwrap) for \p ox and \p oy.
15111511
\note The window/patch size, \p wx \f$\times\f$ \p wy, must equal
15121512
`input.dims(0)` (or `input.dims(1)` if \p is_column is false).
@@ -1552,7 +1552,7 @@ extern "C" {
15521552
otherwise an appropriate error code is returned.
15531553
15541554
\note Wrap is typically used to recompose an unwrapped image. If this is the
1555-
case, use the same parameters that were used in \ref unwrap(). Also
1555+
case, use the same parameters that were used in \ref af::unwrap(). Also
15561556
use the original image size (before unwrap) for \p ox and \p oy.
15571557
\note The window/patch size, \p wx \f$\times\f$ \p wy, must equal
15581558
`input.dims(0)` (or `input.dims(1)` if \p is_column is false).

0 commit comments

Comments
 (0)