Crystalla::Matrix
Inherits Crystalla::BlasHelper / Crystalla::LapackHelper / Reference / Object
Constructors
Class methods
empty
Sourcerand(number_of_rows : Int32, number_of_cols : Int32, range : Range(Int32, Int32)) : Crystalla::Matrix
Sourcevalidate_dimensions(number_of_rows, number_of_cols)
SourceInstance methods
*(other : self) : Matrix
Source+(other : self) : Matrix
Source-(other : self) : Matrix
Source==(other : Matrix) : Bool
Source[](rows : Range(Int32, Int32), cols : Range(Int32, Int32)) : Matrix
Source[]=(row : Int32, col : Int32, value : Number)
Sourceadd_rows(index : Int32, rows : Matrix) : Matrix
Sourceall_close(other : Matrix, absolute_tolerance = nil, relative_tolerance = nil) : Bool
Sourceappend(row : Matrix) : Matrix
Sourceclone
Sourcecompare(other : Matrix, &) : Bool
Sourcedimensions
Sourceeach_by_col
Sourceeach_by_row
Sourceeach_col
Sourceeach_row
Sourceinspect(io)
Sourceinvert!
Sourcemean
Sourcemean_by_col
Sourcemean_by_row
Sourcenumber_of_cols
Sourcenumber_of_rows
Sourcepca_fit(n_components : Int32) : Transformations::PCA
Uses this matrix as a n_samples * n_features model to fit a PCA transformation with the specified number of components
Uses this matrix as a n_samples * n_features model to fit a PCA transformation and reduces it to the specified number of components
prepend(row : Matrix) : Matrix
Sourcerow_vector?
Sourceshuffle_cols
Sourcesingular_values
Sourcesolve(b : self) : Matrix
Sourcesquare?
Sourcesvd
Sourceto_s(io)
Sourceto_unsafe
Sourcetranspose
Sourcevalues
Sourcezip_with(other : Matrix, &) : Matrix
Source