22
33[ -> ArrayFire Documentation] ( http://www.arrayfire.com/docs/group__array__mat.htm )
44
5+ ## TOC
6+
57<!-- START doctoc generated TOC please keep comment here to allow auto update -->
68<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
79
@@ -53,9 +55,9 @@ Creates an AFArray instance of the specified dimensions, and copies data from th
5355
5456- ** dim0 .. dim3: Number** - size of the dimension
5557- ** dims: Array|[ Dim4] ( Dim4 ) ** - specifies sizes of the dimensions, eg: ` [2, 1, 1] ` or ` new Dim4(3, 4) `
56- - ** type: value of [ dType] ( statics/#typesdtype ) ** - can be one of the values of dType object (eg. ` dType.f32 ` )
58+ - ** type: value of [ dType] ( enums/#dtype ) ** - can be one of the values of dType object (eg. ` dType.f32 ` )
5759- ** buffer: Buffer** - data to copy to the device, or device pointer created by the ` alloc ` method.
58- - ** source: value of [ source] ( statics/#typessource ) ** - can be one of the values of source object (eg. ` source.host ` )
60+ - ** source: value of [ source] ( enums/#source ) ** - can be one of the values of source object (eg. ` source.host ` )
5961
6062** Result** : the created AFArray instance.
6163
@@ -74,7 +76,7 @@ Arrays could be created as empty ones or by having a specified dimensions and el
7476
7577- ** dim0 .. dim3: Number** - size of the dimension
7678- ** dims: Array|[ Dim4] ( Dim4 ) ** - specifies sizes of the dimensions, eg: ` [2, 1, 1] ` or ` new Dim4(3, 4) `
77- - ** type: value of [ dType] ( statics/#typesdtype ) ** - can be one of the values of dType object (eg. ` dType.f32 ` )
79+ - ** type: value of [ dType] ( enums/#dtype ) ** - can be one of the values of dType object (eg. ` dType.f32 ` )
7880
7981** Remarks:**
8082
@@ -133,13 +135,13 @@ Perform deep copy from host/device pointer to an existing array.
133135
134136- ** buffer: Buffer** - data to copy to the array, or device pointer created by the ` alloc ` method.
135137- ** bytesToCopy** : bytes to copy
136- - ** source: value of [ source] ( statics/#typessource ) ** - can be one of the values of source object (eg. ` source.host ` )
138+ - ** source: value of [ source] ( enums/#source ) ** - can be one of the values of source object (eg. ` source.host ` )
137139
138140### type()
139141
140142- ` type() ` [ -> ArrayFire Documentation] ( http://www.arrayfire.com/docs/group__method__mat.htm#ga0844daa9b8cc7b7912e89a3d8ddf1a4b )
141143
142- ** Result:** array's element type, can be one of the values of ** [ dType] ( statics/#typesdtype ) ** object
144+ ** Result:** array's element type, can be one of the values of ** [ dType] ( enums/#dtype ) ** object
143145
144146### dims()
145147
@@ -171,7 +173,7 @@ Converts the array into another type.
171173
172174** Arguments:**
173175
174- - ** type: value of [ dType] ( statics/#typesdtype ) ** - can be one of the values of dType object (eg. ` dType.f32 ` )
176+ - ** type: value of [ dType] ( enums/#dtype ) ** - can be one of the values of dType object (eg. ` dType.f32 ` )
175177
176178** Result:** AFArray instance holding reference the converted array
177179
@@ -209,7 +211,6 @@ Evaluate any JIT expressions to generate data for the array.
209211** Arguments** :
210212
211213- ** s0 .. s3: null|String|Number|[ Seq] ( Seq ) |AFArray**
212-
213214 - ** null:** means ` "span" `
214215 - ** String:** can be ` "span" `
215216 - ** Number:** element's index, or -1 which means the last element
@@ -273,11 +274,40 @@ Gets a reference of a matrix in a 3D AFArray.
273274- ` subAssign(other) ` operator -=
274275- ` mulAssign(other) ` operator * =
275276- ` divAssign(other) ` operator /=
277+ - ` assign(s0, other) ` operator =
278+ - ` set(s0, other) ` operator = (alias of assign)
279+ - ` addAssign(s0, other) ` operator +=
280+ - ` subAssign(s0, other) ` operator -=
281+ - ` mulAssign(s0, other) ` operator * =
282+ - ` divAssign(s0, other) ` operator /=
283+ - ` assign(s0, s1, other) ` operator =
284+ - ` set(s0, s1, other) ` operator = (alias of assign)
285+ - ` addAssign(s0, s1, other) ` operator +=
286+ - ` subAssign(s0, s1, other) ` operator -=
287+ - ` mulAssign(s0, s1, other) ` operator * =
288+ - ` divAssign(s0, s1, other) ` operator /=
289+ - ` assign(s0, s1, s2, other) ` operator =
290+ - ` set(s0, s1, s2, other) ` operator = (alias of assign)
291+ - ` addAssign(s0, s1, s2, other) ` operator +=
292+ - ` subAssign(s0, s1, s2, other) ` operator -=
293+ - ` mulAssign(s0, s1, s2, other) ` operator * =
294+ - ` divAssign(s0, s1, s2, other) ` operator /=
295+ - ` assign(s0, s1, s2, s3, other) ` operator =
296+ - ` set(s0, s1, s2, s3, other) ` operator = (alias of assign)
297+ - ` addAssign(s0, s1, s2, s3, other) ` operator +=
298+ - ` subAssign(s0, s1, s2, s3, other) ` operator -=
299+ - ` mulAssign(s0, s1, s2, s3, other) ` operator * =
300+ - ` divAssign(s0, s1, s2, s3, other) ` operator /=
276301
277302** Arguments** :
278303
304+ - ** s0 .. s3: null|String|Number|[ Seq] ( Seq ) |AFArray** lhs index
305+ - ** null:** means ` "span" `
306+ - ** String:** can be ` "span" `
307+ - ** Number:** element's index, or -1 which means the last element
308+ - ** [ Seq] ( Seq ) :** sequence of values
309+ - ** AFArray:** array holding the index value
279310- ** other: AFArray|Number|[ Complex] ( Complex ) |String**
280-
281311 - ** AFArray:** rhs array
282312 - ** Number:** rhs number
283313 - ** [ Complex] ( Complex ) :** rhs complex value
@@ -301,7 +331,6 @@ Gets a reference of a matrix in a 3D AFArray.
301331** Arguments** :
302332
303333- ** other: AFArray|Number|[ Complex] ( Complex ) |String**
304-
305334 - ** AFArray:** rhs array
306335 - ** Number:** rhs number
307336 - ** [ Complex] ( Complex ) :** rhs complex value
@@ -330,7 +359,6 @@ Gets a reference of a matrix in a 3D AFArray.
330359** Arguments** :
331360
332361- ** other: AFArray|Number|[ Complex] ( Complex ) |String**
333-
334362 - ** AFArray:** rhs array
335363 - ** Number:** rhs number
336364 - ** [ Complex] ( Complex ) :** rhs complex value
0 commit comments