Concatenates arrays and matrices along the specified dimension.
Create a clone of the input array or matrix.
Generates an array of numbers from start to end with a specified step.
Diagonal matrix creation and extraction of diagonals from a matrix.
Returns the last index in an array or matrix.
Identity matrix.
Creates an array or matrix filled with false.
Finds the indices of nonzero (true) elements in an array or matrix.
Rounds numbers toward zero.
Flatten a matrix into an array.
Flip the order of elements in an array or matrix.
Flip a matrix left to right.
Flip a matrix upside down.
Get a column of a matrix.
Get a row of a matrix.
Concatenate arrays or matrices horizontally.
Converts linear index to row and column subscripts.
Checks if the input is a column vector.
Checks if the input is a row vector.
Checks if the input is a square matrix.
| number
| array<string | number>
| matrix<string | number>
Gets the length of a vector or the largest array dimension.
Create linearly spaced arrays.
Create logarithmically spaced arrays.
Sort array in ascending or descending order.
Returns the number of columns in an array or matrix.
Number of array dimensions.
Returns the number of rows in an array or matrix.
Number of elements in an array or matrix.
Create an array of all ones.
Uniformly distributed pseudorandom numbers.
Replicate and tile an array or matrix.
Reshape an array or matrix into a new matrix of given dimensions.
Set a column of a matrix.
Set a row of a matrix.
Size of an N-D array.
Sorts an array or matrix in ascending or descending order.
Removes singleton dimensions from arrays or matrices.
Converts 2D subscripts to linear indices.
Extract a subset of an array or matrix based on row and column indices.
Extracts elements from an array or matrix based on linear indexing.
Converts a number, boolean, or array into a matrix.
Transpose a matrix or array.
Creates an array filled with true values.
Concatenates arrays or matrices vertically.
Create an array or matrix of all zeros.
Usage
import * as matarrs__Matrix_and_array_creation__manipulation__and_transformation_functions___This_module_provides_utilities_for____Matrix_creation__zeros__ones__eye__rand__linspace__logspace__etc_____Matrix_manipulation__reshape__transpose__flip__squeeze__repmat__etc_____Matrix_querying__size__length__ndims__nrows__ncols__numel__etc_____Matrix_access__getcol__getrow__setcol__setrow__subset__diag__etc_____Matrix_concatenation__cat__horzcat__vertcat____Index_conversion__sub_ind__ind_sub__find____Matrix_properties__iscolumn__isrow__issquare____Sorting_and_cloning__sort__mergesort__clone_ from "matarrs/index.ts";