class Matrix[A] extends argon.lang.Top[Matrix[A]] with lang.Struct[Matrix[A]] with Ref[scala.Array[Any], Matrix[A]]
A two-dimensional matrix on the host
- Alphabetic
- By Inheritance
- Matrix
- Struct
- Top
- Ref
- Exp
- ExpType
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
L = Nothing
- 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: 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
- Struct → ExpType
-
val
__typeArgs: Seq[Type[_]]
- Attributes
- protected
- Definition Classes
- Matrix → ExpType
-
val
__typeParams: Seq[Type[A]]
- Attributes
- protected
- Definition Classes
- Matrix → ExpType
-
val
__typePrefix: String
- Attributes
- protected
- Definition Classes
- Matrix → ExpType
-
def
apply(i: lang.I32, j: lang.I32): A
Returns the element in this Matrix at the given 2-dimensional address (
i
,j
). -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
box: <:<[Matrix[A], lang.Struct[Matrix[A]]]
- Definition Classes
- Matrix → Struct
-
final
def
canEqual(that: Any): Boolean
- Definition Classes
- Ref → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cols: lang.I32
Returns the number of columns in this Matrix.
- def data: Array[A]
-
def
dims: Seq[lang.I32]
Returns the dimensions of this Matrix.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eql(that: Matrix[A]): lang.Bit
- Definition Classes
- Matrix → Struct → Top
-
final
def
equals(x: Any): Boolean
- Definition Classes
- Ref → Equals → AnyRef → Any
-
implicit
val
evRef: <:<[spatial.lang.host.Matrix[A] @scala.annotation.unchecked.uncheckedVariance, Ref[Nothing, spatial.lang.host.Matrix[A] @scala.annotation.unchecked.uncheckedVariance]]
- Attributes
- protected[argon]
- Definition Classes
- ExpType
-
def
extract: Option[Any]
- Attributes
- protected
- Definition Classes
- Exp
-
def
field[F](name: String)(implicit arg0: Type[F], ctx: SrcCtx, state: State): F
- Definition Classes
- Struct
-
def
fieldMap: Seq[(String, Exp[_, _])]
- Definition Classes
- Struct
-
def
fields: Seq[(String, ExpType[Any, _ >: argon.lang.Fix[argon.lang.types.TRUE, argon.lang.types._32, argon.lang.types._0] with Array[A] <: argon.lang.Top[_ >: argon.lang.Fix[argon.lang.types.TRUE, argon.lang.types._32, argon.lang.types._0] with Array[A] <: argon.lang.Top[_ >: argon.lang.Fix[argon.lang.types.TRUE, argon.lang.types._32, argon.lang.types._0] with Array[A] <: Equals]]])]
- Definition Classes
- Matrix → Struct
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatten: Array[A]
Returns a flattened, immutable @Array view of this Matrix's data.
-
def
foreach(func: (A) ⇒ lang.Void): lang.Void
Applies the function
func
on each element in this Matrix. -
def
fresh: Matrix[A]
- Attributes
- protected
- Definition Classes
- Matrix → ExpType
-
final
def
from(c: Any, warnOnLoss: Boolean, errorOnLoss: Boolean, isParam: Boolean, saturating: Boolean, unbiased: Boolean): spatial.lang.host.Matrix[A] @scala.annotation.unchecked.uncheckedVariance
- Definition Classes
- ExpType
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFrom(c: Any, isParam: Boolean, saturating: Boolean, unbiased: Boolean): Option[(spatial.lang.host.Matrix[A] @scala.annotation.unchecked.uncheckedVariance, Boolean)]
- Definition Classes
- ExpType
-
final
def
hashCode(): Int
- Definition Classes
- Ref → AnyRef → Any
-
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 number of elements in the Matrix.
-
def
map[R](func: (A) ⇒ R)(implicit arg0: Type[R]): Matrix[R]
Returns a new Matrix created using the mapping
func
over each element in this Matrix. -
def
me: spatial.lang.host.Matrix[A] @scala.annotation.unchecked.uncheckedVariance
- Attributes
- protected
- Definition Classes
- ExpType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neql(that: Matrix[A]): lang.Bit
- Definition Classes
- Matrix → Struct → Top
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reduce(rfunc: (A, A) ⇒ A): A
Reduces the elements in this Matrix into a single element using associative function
rfunc
. -
def
reorder(ordering: Seq[Int]): Matrix[A]
Reorders the Matrix based on given ordering (i.e.- reorder(1,0) is the same as transpose)
-
def
rows: lang.I32
Returns the number of rows in this Matrix.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
t: Matrix[A]
Returns the transpose of this Matrix.
-
final
def
toString(): String
- Definition Classes
- Ref → AnyRef → Any
-
def
toText: argon.lang.Text
- Definition Classes
- Top
-
def
unrelated(that: Any): Unit
- Attributes
- protected
- Definition Classes
- Top
-
def
update(i: lang.I32, j: lang.I32, elem: A): lang.Void
Updates the element at the given two dimensional address to
elem
. -
def
value(c: Any): Option[(Nothing, 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[S, R](that: Matrix[S])(func: (A, S) ⇒ R)(implicit arg0: Type[S], arg1: Type[R]): Matrix[R]
Returns a new Matrix created using the pairwise mapping
func
over each element in this Matrix and the corresponding element inthat
.