class Array[A] extends lang.Top[Array[A]] with Ref[scala.Array[Any], Array[A]]
A one-dimensional array on the host.
- Alphabetic
- By Inheritance
- Array
- Top
- Ref
- Exp
- ExpType
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
L = scala.Array[Any]
- Definition Classes
- Ref → Exp → ExpType
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
!==(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(that: Array[A]): Array[A]
Concatenates two Arrays.
Concatenates two Arrays. *
-
def
++(that: Any): argon.lang.Text
- Definition Classes
- Top
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
===(that: Any): argon.lang.Bit
- Definition Classes
- Top
- val A: Type[A]
-
val
__neverMutable: Boolean
- Definition Classes
- Array → ExpType
-
val
__typeArgs: Seq[Type[_]]
- Attributes
- protected
- Definition Classes
- Array → ExpType
-
val
__typeParams: Seq[Type[A]]
- Attributes
- protected
- Definition Classes
- Array → ExpType
-
val
__typePrefix: String
- Attributes
- protected
- Definition Classes
- Array → ExpType
-
def
apply(i: lang.I32): A
Returns the element at index
i
. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
canEqual(that: Any): Boolean
- Definition Classes
- Ref → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eql(that: Array[A]): lang.Bit
- Definition Classes
- Array → Top
-
final
def
equals(x: Any): Boolean
- Definition Classes
- Ref → Equals → AnyRef → Any
-
implicit
val
evRef: <:<[spatial.lang.host.Array[A] @scala.annotation.unchecked.uncheckedVariance, Ref[scala.Array[Any], spatial.lang.host.Array[A] @scala.annotation.unchecked.uncheckedVariance]]
- Attributes
- protected[argon]
- Definition Classes
- ExpType
- def exists(func: (A) ⇒ lang.Bit): lang.Bit
-
def
extract: Option[Any]
- Attributes
- protected
- Definition Classes
- Exp
-
def
filter(cond: (A) ⇒ lang.Bit): Array[A]
Returns a new Array with all elements in this Array which satisfy the given predicate
cond
. -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[B](func: (A) ⇒ Array[B])(implicit arg0: Type[B]): Array[B]
Returns a new Array created by concatenating the results of
func
applied to all elements in this Array. -
def
fold(init: A)(rfunc: (A, A) ⇒ A): A
Reduces the elements in this Array and the given initial value into a single element using associative function
rfunc
. - def forall(func: (A) ⇒ lang.Bit): lang.Bit
-
def
foreach(func: (A) ⇒ lang.Void): lang.Void
Applies the function **func** on each element in the Array.
-
def
fresh: Array[A]
- Attributes
- protected
- Definition Classes
- Array → ExpType
-
final
def
from(c: Any, warnOnLoss: Boolean, errorOnLoss: Boolean, isParam: Boolean, saturating: Boolean, unbiased: Boolean): spatial.lang.host.Array[A] @scala.annotation.unchecked.uncheckedVariance
- Definition Classes
- ExpType
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFrom(c: Any, isParam: Boolean = false, saturating: Boolean = false, unbiased: Boolean = false): Option[(Array[A], Boolean)]
- Definition Classes
- Array → ExpType
-
final
def
hashCode(): Int
- Definition Classes
- Ref → AnyRef → Any
- def indexOf(x: A): lang.I32
-
def
infix_!=(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
def
infix_==(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
length: lang.I32
Returns the size of this Array.
-
def
map[B](func: (A) ⇒ B)(implicit arg0: Type[B]): Array[B]
Returns a new Array created using the mapping
func
over each element in this Array. - def max(implicit aA: lang.Num[A]): A
-
def
me: spatial.lang.host.Array[A] @scala.annotation.unchecked.uncheckedVariance
- Attributes
- protected
- Definition Classes
- ExpType
- def min(implicit aA: lang.Num[A]): A
-
def
mkString(start: lang.Text, delimeter: lang.Text, stop: lang.Text): lang.Text
Returns a string representation using the given
delimeter
, bracketed bystart
andstop
. -
def
mkString(delimeter: lang.Text): lang.Text
Returns a string representation using the given
delimeter
. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neql(that: Array[A]): lang.Bit
- Definition Classes
- Array → Top
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def product(implicit aA: lang.Num[A]): A
-
def
reduce(rfunc: (A, A) ⇒ A): A
Reduces the elements in this Array into a single element using associative function
rfunc
. - def reshape(dim0: lang.I32, dim1: lang.I32, dim2: lang.I32, dim3: lang.I32, dim4: lang.I32): Tensor5[A]
- def reshape(dim0: lang.I32, dim1: lang.I32, dim2: lang.I32, dim3: lang.I32): Tensor4[A]
- def reshape(dim0: lang.I32, dim1: lang.I32, dim2: lang.I32): Tensor3[A]
- def reshape(rows: lang.I32, cols: lang.I32): lang.Tensor2[A]
-
def
sum(implicit aA: lang.Num[A]): A
Group by followed by reduce on this Array into a single element.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toString(): String
- Definition Classes
- Ref → AnyRef → Any
-
def
toText: lang.Text
- Definition Classes
- Array → Top
- def toeplitz(filterdim0: lang.I32, filterdim1: lang.I32, imgdim0: lang.I32, imgdim1: lang.I32, stride0: lang.I32, stride1: lang.I32)(implicit num: lang.Num[A]): lang.Tensor2[A]
-
def
unrelated(that: Any): Unit
- Attributes
- protected
- Definition Classes
- Top
-
def
update(i: lang.I32, data: A): lang.Void
Updates the element at index
i
to data. -
def
value(c: Any): Option[(scala.Array[Any], Boolean)]
- Attributes
- protected
- Definition Classes
- ExpType
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
withCheck[T](x: ⇒ T)(eql: (T) ⇒ Boolean): Option[(T, Boolean)]
- Attributes
- protected
- Definition Classes
- ExpType
-
def
zip[B, C](that: Array[B])(func: (A, B) ⇒ C)(implicit arg0: Type[B], arg1: Type[C]): Array[C]
Returns a new Array created using the pairwise mapping
func
over each element in this Array and the corresponding element inthat
.