kmath-core
/
space.kscience.kmath.linear
/
MatrixWrapper
common
Matrix
Wrapper
class
MatrixWrapper
<
T
:
Any
> :
Structure2D
<
T
>
Content copied to clipboard
A
Matrix
that holds
MatrixFeature
objects.
Functions
Properties
Parameters
Parameters
T
the type of items.
Functions
elements
Link copied to clipboard
common
open override fun
elements
():
Sequence
<
Pair
<
IntArray
,
T
>>
Content copied to clipboard
Returns the sequence of all the elements associated by their indices.
equals
Link copied to clipboard
common
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
get
Link copied to clipboard
common
open operator override fun
get
(index:
IntArray
):
T
Content copied to clipboard
Returns the value at the specified indices.
open operator override fun
get
(i:
Int
, j:
Int
):
T
Content copied to clipboard
Retrieves an element from the structure by two indices.
getFeature
Link copied to clipboard
common
open override fun <
T
:
Any
>
getFeature
(type:
KClass
<
T
>):
T
?
Content copied to clipboard
Get the first feature matching given class.
hashCode
Link copied to clipboard
common
open override fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
common
open override fun
toString
():
String
Content copied to clipboard
Properties
colNum
Link copied to clipboard
common
open override val
colNum
:
Int
Content copied to clipboard
The number of columns in this structure.
columns
Link copied to clipboard
common
open override val
columns
:
Buffer
<
Buffer
<
T
>>
Content copied to clipboard
The buffer of columns of this structure.
dimension
Link copied to clipboard
common
open override val
dimension
:
Int
Content copied to clipboard
The count of dimensions in this structure.
features
Link copied to clipboard
common
val
features
:
Set
<
MatrixFeature
>
Content copied to clipboard
origin
Link copied to clipboard
common
val
origin
:
Matrix
<
T
>
Content copied to clipboard
rowNum
Link copied to clipboard
common
open override val
rowNum
:
Int
Content copied to clipboard
The number of rows in this structure.
rows
Link copied to clipboard
common
open override val
rows
:
Buffer
<
Buffer
<
T
>>
Content copied to clipboard
The buffer of rows of this structure.
shape
Link copied to clipboard
common
open override val
shape
:
IntArray
Content copied to clipboard
The shape of structure, i.e.