Module: JBLAS::MatrixMixin
- Includes:
- MatrixAccessMixin, MatrixArithMixin, MatrixConvertMixin, MatrixEnumMixin, MatrixGeneralMixin
- Included in:
- ComplexDoubleMatrix, ComplexFloatMatrix, DoubleMatrix, FloatMatrix
- Defined in:
- lib/jblas/matrix_mixin.rb
Overview
Extensions to matrix classes (mostly arithmetics). This mixin is then used to automatically enrich the DoubleMatrix and FloatMatrix classes.
See JBLAS for an overview. You can also browse the different functions by section:
-
MatrixGeneralMixin - general methods
-
MatrixConvertMixin - converting matrices to other representations
-
MatrixArithMixin - arithmetic operations
-
MatrixEnumMixin - matrices as an Enumerable
-
MatrixAccessMixin - accessing elements Java-side jblas.
Method Summary
Methods included from MatrixAccessMixin
#[], #[]=, #get_column, #get_column_range, #get_columns, #get_range, #get_row, #get_row_range, #get_rows, #to_indices
Methods included from MatrixEnumMixin
#each, #each_column, #each_row, #map, #map!
Methods included from Enumerable
Methods included from MatrixArithMixin
#&, #*, #**, #+, #-, #-@, #/, #<, #<=, #==, #===, #>, #>=, #^, #add!, #add_column_vector!, #add_row_vector!, #and!, #coerce, #div!, #div_column_vector!, #div_row_vector!, #eq!, #ge!, #gt!, #le!, #lt!, #mmul!, #mul!, #mul_column_vector!, #mul_row_vector!, #ne!, #or!, #sub!, #sub_column_vector!, #sub_row_vector!, #xor!, #|
Methods included from MatrixConvertMixin
#columns_to_a, #inspect, #rows_to_a, #to_a, #to_ary, #to_mat, #to_matrix, #to_s
Methods included from MatrixGeneralMixin
#as_column, #as_row, #check_column_index, #check_row_index, #d, #dims, #e, #hcat, #inv, #save_ascii, #size, #solve, #symmetric?, #t, #vcat