glimpse-core
/
graphics.glimpse.types
/
Mat
common
Mat
interface
Mat
<
T
:
Mat
<
T
>>
Content copied to clipboard
A common interface for square matrix implementations.
Functions
Inheritors
Functions
adj
Link copied to clipboard
common
abstract fun
adj
():
T
Content copied to clipboard
Returns an adjugate of this matrix.
det
Link copied to clipboard
common
abstract fun
det
():
Float
Content copied to clipboard
Returns a determinant of this matrix.
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
get
Link copied to clipboard
common
abstract operator fun
get
(row:
Int
, col:
Int
):
Float
Content copied to clipboard
Returns element of this matrix at a given
row
and a given
column
.
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
inverse
Link copied to clipboard
common
abstract fun
inverse
():
T
Content copied to clipboard
Returns an inverse of this matrix.
times
Link copied to clipboard
common
abstract operator fun
times
(other:
T
):
T
Content copied to clipboard
Multiplies this matrix by the
other
matrix of the same size.
abstract operator fun
times
(number:
Float
):
T
Content copied to clipboard
Multiplies this matrix by a given
number
.
toFloatArray
Link copied to clipboard
common
abstract fun
toFloatArray
():
FloatArray
Content copied to clipboard
Returns an array of elements of this matrix.
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard
transpose
Link copied to clipboard
common
abstract fun
transpose
():
T
Content copied to clipboard
Returns a transpose of this matrix.
Inheritors
BaseMat
Link copied to clipboard