A C D E G H I J M N P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(double) - Method in class com.mitsuki.jmatrix.Matrix
-
Deprecated.Highly inefficient method to create a matrix array. It is very recommended to use
Matrix(double[][])
orMatrix.create(double[][])
instead. - add(double...) - Method in class com.mitsuki.jmatrix.Matrix
-
Deprecated.Highly inefficient method to create a matrix array. It is very recommended to use
Matrix(double[][])
orMatrix.create(double[][])
instead. - addColumn(double[]) - Method in class com.mitsuki.jmatrix.Matrix
-
Adds a new column to this matrix by appending the specified array, while avoiding shallow copies.
- addColumn(Matrix, double[]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Adds a new column to a matrix by appending the specified array, while avoiding shallow copies.
- addRow(double[]) - Method in class com.mitsuki.jmatrix.Matrix
-
Adds a new row to this matrix by appending the specified array, while avoiding shallow copies.
- addRow(Matrix, double[]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Adds a new row to a matrix by appending the specified array, while avoiding shallow copies.
C
- change(double) - Method in class com.mitsuki.jmatrix.Matrix
-
Deprecated.Due to having an inefficient way to change entries in a specific row of the matrix. Please transition to using the
insertRow
method for improved performance and functionality. If want to update and change specific column of the matrix, you can utilize theinsertColumn
method. - change(double...) - Method in class com.mitsuki.jmatrix.Matrix
-
Deprecated.Due to having an inefficient way to change entries in a specific row of the matrix. Please transition to using the
insertRow
method for improved performance and functionality. If want to update and change specific column of the matrix, you can utilize theinsertColumn
method. - checkRequirements(double[][]) - Static method in interface com.mitsuki.jmatrix.core.MatrixDeterminant
-
Validates that the 2D array representation of the matrix meets the requirements for determinant calculation.
- checkRequirements(Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixDeterminant
-
Validates that the matrix meets the requirements for determinant calculation.
- clear() - Method in class com.mitsuki.jmatrix.Matrix
-
Clears and changes all elements of this matrix to zero, and converts this matrix into "zero matrix".
- com.mitsuki.jmatrix - package com.mitsuki.jmatrix
- com.mitsuki.jmatrix.core - package com.mitsuki.jmatrix.core
- com.mitsuki.jmatrix.enums - package com.mitsuki.jmatrix.enums
- com.mitsuki.jmatrix.exception - package com.mitsuki.jmatrix.exception
- copy() - Method in class com.mitsuki.jmatrix.Matrix
-
Deprecated.This method is deprecated and may result in unexpected behavior. Use
Matrix.deepCopy()
for performing a deep copy of the matrix instead. - create(double[][]) - Method in class com.mitsuki.jmatrix.Matrix
-
Creates a new matrix or overwrites the elements of this matrix with the given two-dimensional array.
- create(int, int) - Method in class com.mitsuki.jmatrix.Matrix
-
Creates a new matrix with specified number of rows and columns.
D
- deepCopy() - Method in class com.mitsuki.jmatrix.Matrix
-
Creates and returns a deep copy of this matrix.
- deepCopyOf(double[][]) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Creates and returns a deep copy of the given two-dimensional array.
- deepCopyOf(Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Creates and returns a deep copy of the given Matrix.
- determinant() - Method in class com.mitsuki.jmatrix.Matrix
-
Calculates the determinant of the matrix.
- determinant(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Calculates the determinant of the given matrix.
- determinant(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Calculates the determinant of the given matrix.
- determinant_CofactorExpansion(double[][]) - Static method in interface com.mitsuki.jmatrix.core.MatrixDeterminant
-
Calculates the determinant of the given matrix using cofactor expansion.
- determinant_CofactorExpansion(Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixDeterminant
-
Calculates the determinant of the matrix using cofactor expansion.
- determinant_GaussElimination(double[][]) - Static method in interface com.mitsuki.jmatrix.core.MatrixDeterminant
-
Calculates the determinant of the given matrix using Gaussian elimination.
- determinant_GaussElimination(Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixDeterminant
-
Calculates the determinant of the matrix using Gaussian elimination.
- display() - Method in class com.mitsuki.jmatrix.Matrix
-
Displays and prints this matrix to standard output in Python-style.
- display(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Displays and prints the given two-dimensional array to standard output in Python-style.
- display(double[][], int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Displays and prints the specified row of given two-dimensional array to standard output in Python-style.
- display(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Displays and prints the specified row of this matrix to standard output in Python-style.
- DoubleArray2DChecker - Class in com.mitsuki.jmatrix.core
-
Utility class for validating 2D array-related parameters.
- DoubleArray2DChecker() - Constructor for class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Hide the constructor because it is a static class
- dropColumn(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Constructs a new matrix by removing the specified column from this matrix.
- dropColumn(Matrix, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Constructs a new matrix by removing the specified column from the given matrix.
- dropRow(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Constructs a new matrix by removing the specified row from this matrix.
- dropRow(Matrix, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Constructs a new matrix by removing the specified row from the given matrix.
E
- equals(Object) - Method in class com.mitsuki.jmatrix.Matrix
-
Compares this matrix with the specified object for equality.
- ERR_MSG_FORMAT - Variable in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
An error message format without the error code.
- ERR_MSG_WITH_CODE_FORMAT - Variable in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
An error message format with the error code.
G
- get(int, int) - Method in class com.mitsuki.jmatrix.Matrix
-
Returns the value at the specified row and column within this matrix.
- get(Matrix, int, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Returns the value at the specified row and column within a given matrix.
- getCause() - Method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
- getCode() - Method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns the string representation of this error code.
- getCol(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the column specified by the given index from this matrix.
- getCol(Matrix, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the column specified by the given index from the given matrix.
- getColumn(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the column specified by the given index from this matrix.
- getColumn(Matrix, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the column specified by the given index from the matrix.
- getEntries() - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves a two-dimensional array representing the elements of this matrix, preserving data integrity.
- getEntry(int, int) - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the value of the element at a specified row and column within this matrix.
- getEntry(Matrix, int, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the value of the element at a specified row and column within a given matrix.
- getErrno() - Method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns the error number associated with this error code.
- getErrnoStr() - Method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns the error number as a string in the format
JM###
. - getErrorCode() - Method in exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Returns the error code of this throwable.
- getErrorCode() - Method in exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Returns the error code of this throwable.
- getErrorCode() - Method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Returns the error code of this throwable.
- getErrorCode() - Method in exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Returns the error code of this throwable.
- getMessage() - Method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns the descriptive error message associated with this error code.
- getMessage() - Method in exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
- getMessage() - Method in exception com.mitsuki.jmatrix.exception.InvalidIndexException
- getMessage() - Method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
- getMessage() - Method in exception com.mitsuki.jmatrix.exception.MatrixArrayFullException
-
Deprecated.Returns the detail message of this exception.
- getMessage() - Method in exception com.mitsuki.jmatrix.exception.NullMatrixException
- getNumCols() - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the number of columns (width) in this matrix.
- getNumCols(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the number of columns (width) in the provided matrix.
- getNumRows() - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the number of rows (height) in this matrix.
- getNumRows(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the number of rows (height) in the provided matrix.
- getReadOnlyEntries() - Method in class com.mitsuki.jmatrix.Matrix
-
Obtains a read-only view of the matrix elements, safeguarding against unintended modifications.
- getRow(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the row specified by the given index from this matrix.
- getRow(Matrix, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the row specified by the given index from the matrix.
- getSize() - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the dimensions (size) of this matrix as an integer array of length two.
- getSize(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the dimensions (size) of the given matrix as an integer array of length two.
H
- hashCode() - Method in class com.mitsuki.jmatrix.Matrix
-
Returns the hash code value for this matrix.
I
- identity(int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Constructs an identity matrix with dimensions
n x n
. - IllegalMatrixSizeException - Exception in com.mitsuki.jmatrix.exception
-
Thrown when attempting to perform matrix operations with matrices that do not conform to the sizes requirements of the operation.
- IllegalMatrixSizeException() - Constructor for exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Constructs a new
IllegalMatrixSizeException
with no detail message. - IllegalMatrixSizeException(int, String) - Constructor for exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Constructs a new
IllegalMatrixSizeException
with the specified error number and the detailed message. - IllegalMatrixSizeException(String) - Constructor for exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Constructs a new
IllegalMatrixSizeException
with the specified detail message. - IllegalMatrixSizeException(String, Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Constructs a new
IllegalMatrixSizeException
with the specified cause and a detailed message for later retrieval byIllegalMatrixSizeException.getMessage()
. - IllegalMatrixSizeException(String, Throwable, boolean, boolean) - Constructor for exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Constructs a new
IllegalMatrixSizeException
with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled. - IllegalMatrixSizeException(Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Constructs a new
IllegalMatrixSizeException
with the specified cause. - insertColumn(int, double[]) - Method in class com.mitsuki.jmatrix.Matrix
-
Inserts a new column into this matrix at a specified index, shifting existing columns to the right.
- insertColumn(Matrix, int, double[]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Inserts a new column into a matrix at a specified index, shifting existing columns to the right.
- insertRow(int, double[]) - Method in class com.mitsuki.jmatrix.Matrix
-
Inserts a new row into this matrix at a specified index, shifting existing rows down.
- insertRow(Matrix, int, double[]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Inserts a new row into a matrix at a specified index, shifting existing rows down.
- InvalidIndexException - Exception in com.mitsuki.jmatrix.exception
-
Thrown when attempting to retrieve an entry at specified indices of a matrix, but the given indices are out of range.
- InvalidIndexException() - Constructor for exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Constructs a new
InvalidIndexException
with no detail message. - InvalidIndexException(int, String) - Constructor for exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Constructs a new
InvalidIndexException
with the specified error number and the detailed message. - InvalidIndexException(String) - Constructor for exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Constructs a new
InvalidIndexException
with the specified detail message. - InvalidIndexException(String, Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Constructs a new
InvalidIndexException
with the specified cause and a detailed message for later retrieval byInvalidIndexException.getMessage()
. - InvalidIndexException(String, Throwable, boolean, boolean) - Constructor for exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Constructs a new
InvalidIndexException
with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled. - InvalidIndexException(Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Constructs a new
InvalidIndexException
with the specified cause. - INVIDX - com.mitsuki.jmatrix.enums.JMErrorCode
-
Error code indicating that the given index is out of bounds.
- INVTYP - com.mitsuki.jmatrix.enums.JMErrorCode
-
Error code indicating that the matrix has an invalid type.
- isAutoRaise() - Static method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Checks whether the current value of auto-raise configuration is set to
auto
. - isCanonicalBasisArray(double[]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks if the given array is a canonical basis array.
- isDiagonal() - Method in class com.mitsuki.jmatrix.Matrix
-
Checks whether this matrix is a diagonal matrix.
- isDiagonal(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given two-dimensional array represents a diagonal matrix.
- isDiagonal(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given matrix is a diagonal matrix.
- isEquals(double[][], double[][]) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Checks whether the given two-dimensional arrays are equal by comparing their entries.
- isEquals(Matrix, Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Checks whether the given two matrices are equal by comparing their entries.
- isEqualsSize(double[][], double[][]) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Checks whether the given two-dimensional arrays have equal sizes.
- isEqualsSize(Matrix, Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Checks whether the given two matrices have equal sizes.
- isIdentity() - Method in class com.mitsuki.jmatrix.Matrix
-
Checks whether this matrix represents an identity matrix.
- isIdentity(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given two-dimensional array represents an identity matrix.
- isIdentity(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given matrix represents an identity matrix.
- isLowerTriangular() - Method in class com.mitsuki.jmatrix.Matrix
-
Checks whether this matrix is lower triangular.
- isLowerTriangular(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given square two-dimensional array is lower triangular.
- isLowerTriangular(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given square matrix is lower triangular.
- isNullEntries(Matrix) - Static method in interface com.mitsuki.jmatrix.core.MatrixUtils
-
Checks whether the given Matrix has
null
entries. - isPermutationMatrix() - Method in class com.mitsuki.jmatrix.Matrix
-
Checks whether this matrix represents a permutation matrix.
- isPermutationMatrix(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given two-dimensional array represents a permutation matrix.
- isPermutationMatrix(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given matrix represents a permutation matrix.
- isSparse() - Method in class com.mitsuki.jmatrix.Matrix
-
Determines whether this matrix is considered sparse.
- isSparse(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Determines whether the two-dimensional array that represents a matrix is considered sparse.
- isSparse(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Determines whether the given matrix is considered sparse.
- isSquare() - Method in class com.mitsuki.jmatrix.Matrix
-
Checks whether this matrix is a square matrix.
- isSquare(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given two-dimensional array represents a square matrix.
- isSquare(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given matrix is a square matrix.
- isUpperTriangular() - Method in class com.mitsuki.jmatrix.Matrix
-
Checks whether this matrix is upper triangular.
- isUpperTriangular(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given square two-dimensional array is upper triangular.
- isUpperTriangular(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Checks whether the given square matrix is upper triangular.
J
- JMatrixBaseException - Exception in com.mitsuki.jmatrix.exception
-
Base exception class for all JMatrix exceptions.
- JMatrixBaseException() - Constructor for exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Constructs a new
JMatrixBaseException
with no detail message. - JMatrixBaseException(int, String) - Constructor for exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Constructs a new
JMatrixBaseException
with the specified errno and the detail message. - JMatrixBaseException(String) - Constructor for exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Constructs a new
JMatrixBaseException
with the specified detail message. - JMatrixBaseException(String, Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Constructs a new
JMatrixBaseException
with the specified cause and a detailed message for later retrieval byJMatrixBaseException.getMessage()
. - JMatrixBaseException(String, Throwable, boolean, boolean) - Constructor for exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Constructs a new
JMatrixBaseException
with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled. - JMatrixBaseException(Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Constructs a new
JMatrixBaseException
with the specified cause. - JMErrorCode - Enum in com.mitsuki.jmatrix.enums
-
The
JMErrorCode
enum represents error codes for various error conditions that can occur within a JMatrix library.
M
- Matrix - Class in com.mitsuki.jmatrix
-
The Matrix class represents a two-dimensional (2D) array of
double
s. - Matrix() - Constructor for class com.mitsuki.jmatrix.Matrix
-
Constructs new Matrix object without any parameter.
- Matrix(double[][]) - Constructor for class com.mitsuki.jmatrix.Matrix
-
Constructs new Matrix object with the given two-dimensional array.
- Matrix(int, int) - Constructor for class com.mitsuki.jmatrix.Matrix
-
Constructs new Matrix object with specified number of rows and columns.
- Matrix(int, int, double) - Constructor for class com.mitsuki.jmatrix.Matrix
-
Constructs new Matrix object with specified sizes of rows and columns.
- MatrixArrayFullException - Exception in com.mitsuki.jmatrix.exception
-
Deprecated.This exception is deprecated because it contradicts the principles of linear algebra. It is recommended to review the code and find alternative approaches that align with the dynamic nature of matrices in linear algebra.
- MatrixArrayFullException() - Constructor for exception com.mitsuki.jmatrix.exception.MatrixArrayFullException
-
Deprecated.Constructs a new
MatrixArrayFullException
with no detail message. - MatrixArrayFullException(String) - Constructor for exception com.mitsuki.jmatrix.exception.MatrixArrayFullException
-
Deprecated.Constructs a new
MatrixArrayFullException
with the specified detail message. - MatrixArrayFullException(Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.MatrixArrayFullException
-
Deprecated.Constructs a new
MatrixArrayFullException
with the specified cause and a detail message of the cause. - MatrixChecker - Class in com.mitsuki.jmatrix.core
-
Utility class for validating matrix-related parameters.
- MatrixChecker() - Constructor for class com.mitsuki.jmatrix.core.MatrixChecker
-
Hide the constructor because it is a static class
- MatrixDeterminant - Interface in com.mitsuki.jmatrix.core
-
This interface provides methods for calculating the determinant of a matrix using various algorithms.
- MatrixUtils - Interface in com.mitsuki.jmatrix.core
-
Utility interface for matrix operations and other utilities.
- minorMatrix(int, int) - Method in class com.mitsuki.jmatrix.Matrix
-
Calculates and returns a new matrix representing the minor of this matrix.
- minorMatrix(Matrix, int, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Calculates and returns a new matrix representing the minor of the given matrix.
- mult(double) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates scalar multiplication for this matrix.
- mult(double[][]) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates multiplication for this matrix and the given two-dimensional array.
- mult(double[][], double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates matrix multiplication for two two-dimensional arrays from input parameters and produces new two-dimensional array contains the product of given two arrays.
- mult(Matrix) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates multiplication for this matrix and the given matrix.
- mult(Matrix, double) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates scalar multiplication for the given matrix and produces a new scalar matrix.
- mult(Matrix, Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates matrix multiplication for two matrices from input parameters and produces new matrix contains the product of given two matrices.
N
- NullMatrixException - Exception in com.mitsuki.jmatrix.exception
-
Thrown when an operation is attempted on uninitialized matrices.
- NullMatrixException() - Constructor for exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Constructs a new
NullMatrixException
with no detail message. - NullMatrixException(int, String) - Constructor for exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Constructs a new
NullMatrixException
with the specified errno and the detail message. - NullMatrixException(String) - Constructor for exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Constructs a new
NullMatrixException
with the specified detail message. - NullMatrixException(String, Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Constructs a new
NullMatrixException
with the specified cause and a detailed message for later retrieval bygetMessage()
. - NullMatrixException(String, Throwable, boolean, boolean) - Constructor for exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Constructs a new
NullMatrixException
with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled. - NullMatrixException(Throwable) - Constructor for exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Constructs a new
NullMatrixException
with the specified cause. - NULLMT - com.mitsuki.jmatrix.enums.JMErrorCode
-
Error code indicating that the matrix is
null
or the matrix entries isnull
.
P
- prettyDisplay() - Method in class com.mitsuki.jmatrix.Matrix
-
Displays this matrix in a formatted and human-readable manner.
- prettyDisplay(boolean) - Method in class com.mitsuki.jmatrix.Matrix
-
Displays this matrix in a formatted and human-readable manner.
- prettyDisplay(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Displays the two-dimensional array in a formatted and human-readable manner.
- prettyDisplay(double[][], boolean) - Static method in class com.mitsuki.jmatrix.Matrix
-
Displays the two-dimensional array in a formatted and human-readable manner.
- prettyDisplay(double[][], int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Displays a specified row of a two-dimensional array in a formatted and human-readable manner.
- prettyDisplay(double[][], int, boolean) - Static method in class com.mitsuki.jmatrix.Matrix
-
Displays a specified row of a two-dimensional array in a formatted and human-readable manner.
- prettyDisplay(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Displays a specified row of this matrix in a formatted and human-readable manner.
- prettyDisplay(int, boolean) - Method in class com.mitsuki.jmatrix.Matrix
-
Displays a specified row of this matrix in a formatted and human-readable manner.
- printStackTrace() - Method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Prints this throwable and its backtrace to the standard error stream (
System.err
). - printStackTrace(PrintStream) - Method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
R
- raise(RuntimeException) - Static method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Raises an exception based on the specified cause, with an automatically determined error number.
- raise(RuntimeException, int) - Static method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Raises an exception based on the specified cause and error number.
- requireDiagonalMatrix(double[][]) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given matrix is a diagonal matrix.
- requireDiagonalMatrix(double[][], String) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given matrix is a diagonal matrix.
- requireDiagonalMatrix(Matrix) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix is a diagonal matrix.
- requireDiagonalMatrix(Matrix, String) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix is a diagonal matrix.
- requireIdentityMatrix(double[][]) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given 2D array is an identity matrix.
- requireIdentityMatrix(double[][], String) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given 2D array is an identity matrix.
- requireIdentityMatrix(Matrix) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix is an identity matrix.
- requireIdentityMatrix(Matrix, String) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix is an identity matrix.
- requireNonNull(double[][]) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given 2D array and its entries are not
null
. - requireNonNull(double[][], String) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given 2D array and its entries are not
null
. - requireNonNull(Matrix) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix and its entries are not
null
. - requireNonNull(Matrix, String) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix and its entries are not
null
. - requireSameDimensions(double[][], double[][]) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given two 2D arrays have the same dimensions.
- requireSameDimensions(double[][], double[][], String) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given two 2D arrays have the same dimensions.
- requireSameDimensions(Matrix, Matrix) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given two matrices have the same dimensions.
- requireSameDimensions(Matrix, Matrix, String) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given two matrices have the same dimensions.
- requireSquareMatrix(double[][]) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given 2D array is a square matrix.
- requireSquareMatrix(double[][], String) - Static method in class com.mitsuki.jmatrix.core.DoubleArray2DChecker
-
Validates that the given 2D array is a square matrix.
- requireSquareMatrix(Matrix) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix is a square matrix.
- requireSquareMatrix(Matrix, String) - Static method in class com.mitsuki.jmatrix.core.MatrixChecker
-
Validates that the given matrix is a square matrix.
S
- select(int) - Method in class com.mitsuki.jmatrix.Matrix
-
Deprecated.As of the deprecation of
Matrix.change(double...)
methods, this method is no longer in use and no longer recommended. - shape() - Method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the dimensions (size) of this matrix, acting as an alias for the
Matrix.getSize()
method. - shape(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Retrieves the dimensions (size) of the given matrix, acting as an alias for the
Matrix.getSize(Matrix)
method. - sort() - Method in class com.mitsuki.jmatrix.Matrix
-
Sorts the rows of this matrix in ascending order.
- sort(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Sorts the rows of the given two-dimensional array in ascending order.
- sort(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Sorts the rows of the given matrix in ascending order.
- sub(double[][]) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates subtraction for this matrix and the given two-dimensional array.
- sub(double[][], double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates subtraction for two two-dimensional arrays from input parameters and produces new two-dimensional array contains the difference of given two arrays.
- sub(Matrix) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates subtraction for this matrix and the given matrix.
- sub(Matrix, Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates subtraction for two matrices from input parameters and produces new Matrix object contains the difference of given two matrices.
- sum(double[][]) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates addition for this matrix and the given two-dimensional array.
- sum(double[][], double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates addition for two two-dimensional arrays from input parameters and produces new two-dimensional array contains the sum of given two arrays.
- sum(Matrix) - Method in class com.mitsuki.jmatrix.Matrix
-
Operates addition for this matrix and the given matrix.
- sum(Matrix, Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Operates addition for two matrices from input parameters and produces new Matrix object contains the sum of given two matrices.
- swapColumns(int, int) - Method in class com.mitsuki.jmatrix.Matrix
-
Swaps the specified columns in this matrix.
- swapColumns(Matrix, int, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Swaps the specified columns in the given matrix.
- swapRows(int, int) - Method in class com.mitsuki.jmatrix.Matrix
-
Swaps the specified rows in this matrix.
- swapRows(Matrix, int, int) - Static method in class com.mitsuki.jmatrix.Matrix
-
Swaps the specified rows in the given matrix.
T
- THRESHOLD - Static variable in class com.mitsuki.jmatrix.Matrix
-
A threshold for
double
comparison. - toString() - Method in enum com.mitsuki.jmatrix.enums.JMErrorCode
- toString() - Method in exception com.mitsuki.jmatrix.exception.IllegalMatrixSizeException
-
Returns a string representation of this exception, including the class name, error code, and the detail message.
- toString() - Method in exception com.mitsuki.jmatrix.exception.InvalidIndexException
-
Returns a string representation of this exception, including the class name, error code, and the detail message.
- toString() - Method in exception com.mitsuki.jmatrix.exception.JMatrixBaseException
-
Returns a string representation of this exception, including the class name, error code, and the detail message.
- toString() - Method in exception com.mitsuki.jmatrix.exception.MatrixArrayFullException
-
Deprecated.Returns a string representation of this exception, including the class name and the detail message.
- toString() - Method in exception com.mitsuki.jmatrix.exception.NullMatrixException
-
Returns a string representation of this exception, including the class name, error code, and the detail message.
- toString() - Method in class com.mitsuki.jmatrix.Matrix
-
Returns a
String
representation of this matrix. - trace() - Method in class com.mitsuki.jmatrix.Matrix
-
Calculates the trace of this matrix.
- trace(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Calculates the trace of a two-dimensional array that represents a square matrix.
- trace(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Calculates the trace of a square matrix.
- transpose() - Method in class com.mitsuki.jmatrix.Matrix
-
Performs transposition for this matrix.
- transpose(double[][]) - Static method in class com.mitsuki.jmatrix.Matrix
-
Performs transposition for the given two-dimensional array and produces new array with the transposed elements.
- transpose(Matrix) - Static method in class com.mitsuki.jmatrix.Matrix
-
Performs transposition for the given matrix and produces new matrix with the transposed elements.
U
- UNKERR - com.mitsuki.jmatrix.enums.JMErrorCode
-
Error code indicating an unknown error.
V
- valueOf(String) - Static method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(T) - Static method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns the
JMErrorCode
corresponding to the specified value. - values() - Static method in enum com.mitsuki.jmatrix.enums.JMErrorCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages