Kone
0.0.0-dev-1
common
kone.linearAlgebra
/
com.lounres.kone.linearAlgebra
/
RowVector
Row
Vector
class
RowVector
<
C
>
:
Matrix
<
C
>
Members
Constructors
Row
Vector
Link copied to clipboard
constructor
(
countOfColumns
:
Int
,
coefficients
:
List
<
List
<
C
>
>
)
constructor
(
coefficients
:
List
<
List
<
C
>
>
)
constructor
(
vararg
coefficients
:
C
)
constructor
(
countOfColumns
:
Int
,
init
:
(
rowIndex
:
Int
,
columnIndex
:
Int
)
->
C
)
constructor
(
countOfColumns
:
Int
,
init
:
(
columnIndex
:
Int
)
->
C
)
Properties
coefficients
Link copied to clipboard
val
coefficients
:
List
<
List
<
C
>
>
column
Indices
Link copied to clipboard
val
columnIndices
:
Iterable
<
Int
>
count
Of
Columns
Link copied to clipboard
val
countOfColumns
:
Int
count
Of
Rows
Link copied to clipboard
val
countOfRows
:
Int
horizontal
Coefficients
List
Link copied to clipboard
val
horizontalCoefficientsList
:
List
<
C
>
indices
Link copied to clipboard
val
indices
:
List
<
MatrixIndex
>
raw
Coefficients
Link copied to clipboard
val
rawCoefficients
:
List
<
C
>
row
Indices
Link copied to clipboard
val
rowIndices
:
Iterable
<
Int
>
size
Link copied to clipboard
val
size
:
Int
sizes
Link copied to clipboard
val
sizes
:
Pair
<
Int
,
Int
>
vertical
Coefficients
List
Link copied to clipboard
val
verticalCoefficientsList
:
List
<
C
>
Functions
get
Link copied to clipboard
operator
fun
get
(
index
:
MatrixIndex
)
:
C
operator
fun
get
(
index
:
Pair
<
Int
,
Int
>
)
:
C
operator
fun
get
(
rowIndex
:
Int
,
columnIndex
:
Int
)
:
C
operator
fun
get
(
columnIndex
:
Int
)
:
C
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
C
>
sub
Matrix
Link copied to clipboard
fun
subMatrix
(
rows
:
Iterable
<
Int
>
,
columns
:
Iterable
<
Int
>
)
:
Matrix
<
C
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
transposed
Link copied to clipboard
open
override
fun
transposed
(
)
:
ColumnVector
<
C
>