core
Toggle table of contents
0.1.0
jvm
Platform filter
jvm
Switch theme
Search in API
core
core
/
com.acmerobotics.roadrunner.geometry
/
Matrix
Matrix
class
Matrix
(
data
:
Array
<
DoubleArray
>
)
Represents a matrix of doubles. Internally represented as a SimpleMatrix from EJML.
Members
Constructors
Matrix
Link copied to clipboard
constructor
(
data
:
DoubleArray
,
type1d
:
TYPE_1D
=
TYPE_1D.ROW
)
constructor
(
data
:
Array
<
DoubleArray
>
)
Properties
num
Cols
Link copied to clipboard
val
numCols
:
Int
num
Rows
Link copied to clipboard
val
numRows
:
Int
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
i
:
Int
,
j
:
Int
)
:
Double
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
set
Link copied to clipboard
operator
fun
set
(
i
:
Int
,
j
:
Int
,
value
:
Double
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
transpose
Link copied to clipboard
fun
transpose
(
)
:
Matrix