Skip to content

Commit 16fb7a2

Browse files
committed
Documentation
1 parent bd47e3f commit 16fb7a2

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

LibSource/ComplexFloatArray.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class ComplexFloatArray {
206206
/**
207207
* Allows to index the array using array-style brackets.
208208
* @param index The index of the element
209-
* @return the Value of the **index** element of the array
209+
* @return the Value of the <code>index</code> element of the array
210210
* Example usage:
211211
* @code
212212
* int size=1000;
@@ -225,7 +225,7 @@ class ComplexFloatArray {
225225
/**
226226
* Allows to index the array using array-style brackets.
227227
*
228-
* **const** version of operator[]
228+
* <code>const</code> version of operator[]
229229
*/
230230
ComplexFloat& operator [](const int i) const{
231231
return data[i];
@@ -259,8 +259,8 @@ class ComplexFloatArray {
259259
* Compares two arrays.
260260
* Performs an element-wise comparison of the values contained in the arrays.
261261
* @param other the array to compare against.
262-
* @return **true** if the arrays have the same size and the value of each of the elements of the one
263-
* match the value of the corresponding element of the other, or **false** otherwise.
262+
* @return <code>true</code> if the arrays have the same size and the value of each of the elements of the one
263+
* match the value of the corresponding element of the other, or <code>false</code> otherwise.
264264
*/
265265
bool equals(const ComplexFloatArray& other) const{
266266
if(size!=other.getSize()){
@@ -278,7 +278,7 @@ class ComplexFloatArray {
278278
* Creates a new ComplexFloatArray.
279279
* Allocates size*sizeof(float) bytes of memory and returns a ComplexFloatArray that points to it.
280280
* @param size The size of the new ComplexFloatArray.
281-
* @return A ComplexFloatArray which **data** point to the newly allocated memory and **size** is initialized to the proper value.
281+
* @return A ComplexFloatArray which **data** point to the newly allocated memory and <code>size</code> is initialized to the proper value.
282282
* @remarks A ComplexFloatArray created with this method has to be destroyed invoking the ComplexFloatArray::destroy() method.
283283
*/
284284
static ComplexFloatArray create(int size);
@@ -391,8 +391,8 @@ class ComplexFloatArray {
391391
/**
392392
* Set the phase of a range of the elements of an array, using the magnitude from the current array.
393393
*
394-
* The **offset** and **count** specified apply to both the source and **destination** arrays.
395-
* Elements of the **destination** array outside this range will not be affected.
394+
* The <code>offset</code> and <code>count</code> specified apply to both the source and <code>destination</code> arrays.
395+
* Elements of the <code>destination</code> array outside this range will not be affected.
396396
* @param[in] phase An array containing the phases.
397397
* @param[in] offset First element to set
398398
* @param[in] count Number of elements to set
@@ -425,8 +425,8 @@ class ComplexFloatArray {
425425
/**
426426
* Set the magnitude of a range of the elements of an array, using the phases from the current array.
427427
*
428-
* The **offset** and **count** specified apply to both the source and **destination** arrays.
429-
* Elements of the **destination** array outside this range will not be affected.
428+
* The <code>offset</code> and <code>count</code> specified apply to both the source and <code>destination</code> arrays.
429+
* Elements of the <code>destination</code> array outside this range will not be affected.
430430
* @param[in] magnitude An array containing the magnitudes.
431431
* @param[in] offset First element to set
432432
* @param[in] count Number of elements to set

0 commit comments

Comments
 (0)