Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviatedArray(double[], int, int, int, boolean) - Static method in class org.flag4j.io.PrettyPrint
-
Formats array as an abbreviated array so that no more than
maxEntries
is actually printed. - abbreviatedArray(int[][], int, int, int, int, boolean) - Static method in class org.flag4j.io.PrettyPrint
-
Formats array as an abbreviated array so that no more than
maxCols
is actually printed. - abbreviatedArray(int[], int, int, boolean) - Static method in class org.flag4j.io.PrettyPrint
-
Formats array as an abbreviated array so that no more than
maxEntries
is actually printed. - abbreviatedArray(T[], int, int, int, boolean) - Static method in class org.flag4j.io.PrettyPrint
-
Formats array as an abbreviated array so that no more than
maxEntries
is actually printed. - abs() - Method in interface org.flag4j.algebraic_structures.Ring
-
Computes the absolute value of this ring element.
- abs() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.dense.FieldTensor
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.dense.RingMatrix
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.dense.RingTensor
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.dense.RingVector
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Computes the element-wise absolute value of this tensor.
- abs() - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Computes the element-wise absolute value of this tensor.
- abs(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Computes the element-wise absolute value of a tensor.
- abs(T[], double[]) - Static method in class org.flag4j.linalg.ops.common.ring_ops.RingOps
-
Computes the element-wise absolute value of an array.
- AbstractCooFieldMatrix<T,
U, - Class in org.flag4j.arrays.backend.field_arraysV, W> -
A sparse matrix stored in coordinate list (COO) format.
- AbstractCooFieldMatrix(Shape, W[], int[], int[]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- AbstractCooFieldTensor<T,
U, - Class in org.flag4j.arrays.backend.field_arraysV> -
Base class for all sparse
Field
tensors stored in coordinate list (COO) format. - AbstractCooFieldTensor(Shape, V[], int[][]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Creates a tensor with the specified data and shape.
- AbstractCooFieldVector<T,
U, - Class in org.flag4j.arrays.backend.field_arraysV, W, Y> -
A sparse vector stored in coordinate list (COO) format.
- AbstractCooFieldVector(Shape, Y[], int[]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Creates a tensor with the specified data and shape.
- AbstractCooRingMatrix<T,
U, - Class in org.flag4j.arrays.backend.ring_arraysV, W> -
A sparse matrix stored in coordinate list (COO) format.
- AbstractCooRingMatrix(Shape, W[], int[], int[]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- AbstractCooRingTensor<T,
U, - Class in org.flag4j.arrays.backend.ring_arraysV> -
Base class for all sparse
Ring
tensors stored in coordinate list (COO) format. - AbstractCooRingTensor(Shape, V[], int[][]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingTensor
-
Creates a tensor with the specified data and shape.
- AbstractCooRingVector<T,
U, - Class in org.flag4j.arrays.backend.ring_arraysV, W, Y> -
A sparse vector stored in coordinate list (COO) format.
- AbstractCooRingVector(Shape, Y[], int[]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingVector
-
Creates a COO vector with the specified data and shape.
- AbstractCooSemiringMatrix<T,
U, - Class in org.flag4j.arrays.backend.semiring_arraysV, W> -
A sparse matrix stored in coordinate list (COO) format.
- AbstractCooSemiringMatrix(Shape, W[], int[], int[]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- AbstractCooSemiringTensor<T,
U, - Class in org.flag4j.arrays.backend.semiring_arraysV> -
Base class for all sparse tensors stored in coordinate list (COO) format.
- AbstractCooSemiringTensor(Shape, V[], int[][]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Creates a tensor with the specified data and shape.
- AbstractCooSemiringVector<T,
U, - Class in org.flag4j.arrays.backend.semiring_arraysV, W, Y> -
A sparse vector stored in coordinate list (COO) format.
- AbstractCooSemiringVector(Shape, Y[], int[]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Creates a sparse COO semiring vector with the specified data and shape.
- AbstractCsrFieldMatrix<T,
U, - Class in org.flag4j.arrays.backend.field_arraysV, W> - AbstractCsrFieldMatrix(Shape, W[], int[], int[]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - AbstractCsrRingMatrix<T,
U, - Class in org.flag4j.arrays.backend.ring_arraysV, W> -
A sparse matrix stored in compressed sparse row (CSR) format.
- AbstractCsrRingMatrix(Shape, W[], int[], int[]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - AbstractCsrSemiringMatrix<T,
U, - Class in org.flag4j.arrays.backend.semiring_arraysV, W> -
A sparse matrix stored in compressed sparse row (CSR) format.
- AbstractCsrSemiringMatrix(Shape, W[], int[], int[]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - AbstractDenseDoubleTensor<T> - Class in org.flag4j.arrays.backend.primitive_arrays
-
This is the base class of all real primitive double tensors.
- AbstractDenseDoubleTensor(Shape, double[]) - Constructor for class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Creates a tensor with the specified data and shape.
- AbstractDenseFieldMatrix<T,
U, - Class in org.flag4j.arrays.backend.field_arraysV> - AbstractDenseFieldMatrix(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Creates a tensor with the specified data and shape.
- AbstractDenseFieldTensor<T,
V> - Class in org.flag4j.arrays.backend.field_arrays -
The base class for all dense
Field
tensors. - AbstractDenseFieldTensor(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Creates a tensor with the specified data and shape.
- AbstractDenseFieldVector<T,
U, - Class in org.flag4j.arrays.backend.field_arraysV> -
The base class for all dense vectors whose data are
Field
elements. - AbstractDenseFieldVector(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Creates a tensor with the specified data and shape.
- AbstractDenseRingMatrix<T,
U, - Class in org.flag4j.arrays.backend.ring_arraysV> -
The base class for all dense matrices whose elements are members of a
Ring
. - AbstractDenseRingMatrix(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Creates a tensor with the specified data and shape.
- AbstractDenseRingTensor<T,
V> - Class in org.flag4j.arrays.backend.ring_arrays -
The base class for all dense
Ring
tensors. - AbstractDenseRingTensor(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Creates a tensor with the specified data and shape.
- AbstractDenseRingVector<T,
U, - Class in org.flag4j.arrays.backend.ring_arraysV> -
The base class for all dense vectors whose data are
Ring
elements. - AbstractDenseRingVector(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Creates a tensor with the specified data and shape.
- AbstractDenseSemiringMatrix<T,
U, - Class in org.flag4j.arrays.backend.semiring_arraysV> -
The base class for all dense matrices whose elements are members of a
Semiring
. - AbstractDenseSemiringMatrix(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Creates a tensor with the specified data and shape.
- AbstractDenseSemiringTensor<T,
V> - Class in org.flag4j.arrays.backend.semiring_arrays -
The base class for all dense
Semiring
tensors. - AbstractDenseSemiringTensor(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Creates a tensor with the specified data and shape.
- AbstractDenseSemiringVector<T,
U, - Class in org.flag4j.arrays.backend.semiring_arraysV> -
The base class for all dense vectors whose data are
Semiring
elements. - AbstractDenseSemiringVector(Shape, V[]) - Constructor for class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Constructs a dense semiring vector with the specified data and shape.
- AbstractDoubleTensor<T> - Class in org.flag4j.arrays.backend.primitive_arrays
-
This is the base class of all real primitive double tensors, matrices, or vectors.
- AbstractDoubleTensor(Shape, double[]) - Constructor for class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Creates a tensor with the specified data and shape.
- AbstractTensor<T,
U, - Class in org.flag4j.arrays.backendV> -
The base abstract class for all tensors, including matrices and vectors.
- AbstractTensor(Shape, U) - Constructor for class org.flag4j.arrays.backend.AbstractTensor
-
Creates a tensor with the specified data and shape.
- accept(MatrixVisitor<R>) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.dense.CMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.dense.Matrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - accept(MatrixVisitor<R>) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Accepts a visitor that implements the
MatrixVisitor
interface. - acos(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the inverse cosine of a complex value.
- acos(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the inverse cosine of a complex value.
- add(double) - Method in class org.flag4j.algebraic_structures.Complex128
-
Sums an elements of this field with a real number.
- add(double) - Method in interface org.flag4j.algebraic_structures.Field
-
Sums an element of this field with a real number (associative and commutative).
- add(double) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Sums an element of this field with a real number (associative and commutative).
- add(double) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Sums an element of this field with a real number (associative and commutative).
- add(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Adds a primitive scalar value to each entry of this tensor.
- add(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Adds a primitive scalar value to each entry of this tensor.
- add(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Adds a primitive scalar value to each entry of this tensor.
- add(double) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Adds a scalar value to each non-zero element of this tensor.
- add(double) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Adds a scalar value to each non-zero value of this tensor.
- add(double) - Method in class org.flag4j.arrays.sparse.CooVector
-
Adds a scalar value to each non-zero element of this tensor.
- add(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Computes the element-wise addition of two tensors.
- add(double[], double, double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Adds a scalar to every element of a tensor.
- add(double[], T, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Adds a scalar value to all data of a tensor.
- add(double[], T, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseVectorOps
-
Adds a scalar value to all data of a tensor.
- add(double[], V, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Adds a scalar value to each entry of the
src
tensor. - add(float) - Method in class org.flag4j.algebraic_structures.Complex64
-
Sums an elements of this field with a real number.
- add(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Adds a scalar value to each entry of this tensor.
- add(Double) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Adds a scalar field value to each non-zero entry of this tensor.
- add(Double) - Method in class org.flag4j.arrays.sparse.CooVector
-
Adds a scalar field value to each entry of this tensor.
- add(BoolSemiring) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Performs the addition operation of this semiring, defined as logical OR.
- add(Complex128) - Method in class org.flag4j.algebraic_structures.Complex128
-
Sums two elements of this field (associative and commutative).
- add(Complex128) - Method in class org.flag4j.arrays.dense.Matrix
-
Adds a complex-valued scalar to each entry of this matrix.
- add(Complex128) - Method in class org.flag4j.arrays.dense.Tensor
-
Adds a complex-valued scalar value to each entry of this tensor.
- add(Complex128) - Method in class org.flag4j.arrays.dense.Vector
-
Adds a complex-valued scalar value to each entry of this tensor.
- add(Complex128) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Adds a scalar value to each non-zero element of this tensor.
- add(Complex128) - Method in class org.flag4j.arrays.sparse.CooVector
-
Adds a scalar field value to each non-zero entry of this tensor.
- add(Complex128) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Adds a complex-valued scalar to all non-zero data of this sparse matrix.
- add(Complex64) - Method in class org.flag4j.algebraic_structures.Complex64
-
Sums two elements of this field (associative and commutative).
- add(RealFloat32) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Sums two elements of this field (associative and commutative).
- add(RealFloat64) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Sums two elements of this field (associative and commutative).
- add(RealInt16) - Method in class org.flag4j.algebraic_structures.RealInt16
-
Sums two elements of this ring (associative and commutative).
- add(RealInt32) - Method in class org.flag4j.algebraic_structures.RealInt32
-
Sums two elements of this field (associative and commutative).
- add(AbstractCooFieldTensor<?, ?, T>, Field<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Adds a scalar to a complex sparse COO tensor.
- add(AbstractCsrFieldMatrix<?, ?, ?, T>, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Computes the element-wise sum of two matrices.
- add(AbstractDenseFieldMatrix<?, ?, T>, AbstractCooFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Computes the element-wise sum of a dense matrix to a sparse COO matrix.
- add(AbstractDenseFieldMatrix<?, ?, T>, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Adds a real dense matrix to a real sparse matrix.
- add(AbstractDenseFieldTensor<?, T>, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Computes element-wise addition of a dense tensor with a sparse COO tensor.
- add(AbstractDenseFieldTensor<?, T>, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Adds a dense complex tensor to a real sparse tensor.
- add(AbstractDenseFieldVector<?, ?, T>, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the element-wise addition between a dense complex vector and sparse complex vectors.
- add(AbstractDenseFieldVector<?, ?, T>, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Adds a complex dense matrix to a real sparse matrix.
- add(CMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Sums this matrix with a complex dense matrix.
- add(CTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CVector) - Method in class org.flag4j.arrays.dense.Vector
-
Adds a complex dense vector to this vector.
- add(Matrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(Matrix, CooCMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooMatOps
-
Adds a real dense matrix to a complex sparse matrix.
- add(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Adds a real dense matrix to a real sparse matrix.
- add(Tensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(Tensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Adds a real dense tensor to a real sparse tensor.
- add(Vector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise sum between two tensors of the same shape.
- add(Vector, CooCVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseVectorOps
-
Adds a real dense matrix to a complex sparse matrix.
- add(Vector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Adds a real dense vector to a real sparse vector.
- add(Shape, double[], Shape, Complex128[], int[][], Complex128[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Computes element-wise sum between a real dense tensor to a sparse COO complex tensor.
- add(Shape, T[], int[], Shape, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringVectorOps
-
Computes the element-wise vector addition between two real sparse vectors.
- add(Shape, T[], Shape, double[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the element-wise addition of two tensors.
- add(Shape, V[], int[][], Shape, V[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringTensorOps
-
Sums two complex sparse COO tensors and stores result in a new COO tensor.
- add(Shape, V[], int[], int[], Shape, V[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatrixOps
-
Adds two sparse matrices.
- add(SmartMatrix) - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the element-wise sum of two matrices.
- add(CooCMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Sums this matrix with a real sparse COO matrix.
- add(CooCMatrix, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a double all data (including zero values) of a complex sparse matrix.
- add(CooCMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a real sparse matrix to a complex sparse matrix.
- add(CooCTensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooCTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooCTensor) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooCTensor, double) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Adds a scalar to a real sparse COO tensor.
- add(CooCTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooTensorOps
-
Sums two sparse COO tensors and stores result in a new COO tensor.
- add(CooCVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooCVector) - Method in class org.flag4j.arrays.dense.Vector
-
Adds a complex sparse vector to this vector.
- add(CooCVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooCVector, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Adds a real number to each entry of a sparse vector, including the zero data.
- add(CooCVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the element-wise vector addition between a real sparse vector and a complex sparse vector.
- add(CooMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Sums this matrix with a real sparse COO matrix.
- add(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooMatrix, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Adds a double all data (including zero values) of a real sparse matrix.
- add(CooMatrix, Complex128) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a complex number to all data (including zero values) of a real sparse matrix.
- add(CooMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Adds two real sparse matrices.
- add(CooTensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooTensor) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooTensor, double) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Adds a scalar to a real sparse COO tensor.
- add(CooTensor, Complex128) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Adds a scalar to a real sparse COO tensor.
- add(CooTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooTensorOps
-
Sums two sparse COO tensors and stores result in a new COO tensor.
- add(CooVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooVector) - Method in class org.flag4j.arrays.dense.Vector
-
Adds a real sparse vector to this vector.
- add(CooVector) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Computes the element-wise sum of two vectors.
- add(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise sum between two tensors of the same shape.
- add(CooVector, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Adds a real number to each entry of a sparse vector, including the zero data.
- add(CooVector, Complex128) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Adds a real number to each entry of a sparse vector, including the zero data.
- add(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Computes the element-wise vector addition between two real sparse vectors.
- add(CsrCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Sums this matrix with a real sparse CSR matrix.
- add(CsrCMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_complex.RealComplexCsrDenseOps
-
Computes the element-wise sum of two matrices.
- add(CsrCMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Computes the element-wise sum of two matrices.
- add(CsrMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Sums this matrix with a real sparse CSR matrix.
- add(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(CsrMatrix, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Computes the element-wise sum of two matrices.
- add(CsrMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseOps
-
Computes the element-wise sum of two matrices.
- add(T) - Method in interface org.flag4j.algebraic_structures.Semiring
-
Sums two elements of this semiring (associative and commutative).
- add(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the element-wise sum of two matrices.
- add(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the element-wise sum between two tensors of the same shape.
- add(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the element-wise sum between two tensors of the same shape.
- add(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the element-wise sum between two tensors of the same shape.
- add(T) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the element-wise sum between two tensors of the same shape.
- add(T[], double, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Adds a scalar value to all data of a tensor.
- add(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringOps
-
Computes the element-wise addition of two tensors.
- add(T[], T, T[]) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.SemiringOps
-
Sums a value to each entry of tensor.
- add(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Adds a scalar value to each entry of this tensor.
- add(V) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Adds a scalar value to each entry of this tensor.
- add(V) - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Adds a scalar value to each entry of this tensor.
- add(V[], double, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Adds a primitive scalar value to each entry of the
src
tensor. - add(W) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Adds a scalar value to each entry of this tensor.
- addEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Adds a primitive scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Adds a primitive scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Adds a primitive scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(double[], double) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Adds a scalar from each entry of this tensor and stores the result in the tensor.
- addEq(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Computes element-wise addition between tensors and stores the result in the first tensor.
- addEq(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Adds a scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(Double) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Adds a scalar value to each non-zero entry of this tensor and stores the result in this tensor.
- addEq(Double) - Method in class org.flag4j.arrays.sparse.CooVector
-
Adds a scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(AbstractDenseFieldMatrix<?, ?, T>, AbstractCooFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Adds a complex dense matrix to a real sparse matrix and stores the result in the first matrix.
- addEq(AbstractDenseFieldMatrix<?, ?, T>, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Adds a complex dense matrix to a real sparse matrix and stores the result in the first matrix.
- addEq(AbstractDenseFieldTensor<?, T>, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Computes element-wise addition of a dense tensor with a sparse COO tensor.
- addEq(AbstractDenseFieldTensor<?, T>, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Computes element-wise addition between a complex dense tensor and a real sparse tensor.
- addEq(AbstractDenseFieldVector<?, ?, T>, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the element-wise addition between a dense complex vector and sparse complex vectors.
- addEq(AbstractDenseFieldVector<?, ?, T>, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector addition between a dense complex vector and a sparse real vector.
- addEq(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Adds a real dense matrix to a real sparse matrix and stores the result in the first matrix.
- addEq(Tensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise sum between two tensors of the same shape and stores hte result in this tensor.
- addEq(Tensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Adds a real dense tensor to a real sparse tensor and stores the result in the first tensor.
- addEq(Vector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise sum between two tensors of the same shape and stores the result in this tensor.
- addEq(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise sum between two tensors and stores the result in this tensor.
- addEq(Vector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Adds a real dense vector to a real sparse vector and stores the result in the first vector.
- addEq(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise sum between two tensors of the same shape and stores the result in this tensor.
- addEq(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the element-wise sum between two tensors of the same shape and stores the result in this tensor.
- addEq(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Adds a scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(V) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Adds a scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(V) - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Adds a scalar value to each entry of this tensor and stores the result in this tensor.
- addEq(W) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Adds a scalar value to each entry of this tensor and stores the result in this tensor.
- addInv() - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the additive inverse for an element of this field.
- addInv() - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the additive inverse for an element of this field.
- addInv() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the additive inverse for an element of this field.
- addInv() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the additive inverse for an element of this field.
- addInv() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Computes the additive inverse for an element of this ring.
- addInv() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Computes the additive inverse for an element of this field.
- addInv() - Method in interface org.flag4j.algebraic_structures.Ring
-
Computes the additive inverse for an element of this ring.
- addToEachCol(AbstractCooFieldMatrix<?, ?, ?, T>, AbstractDenseFieldVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Adds a dense vector to each column as if the vector is a column vector.
- addToEachCol(CooCMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a sparse vector to each column of a sparse matrix as if the vector is a column vector.
- addToEachCol(CooMatrix, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Adds a dense vector to each column as if the vector is a column vector.
- addToEachCol(CooMatrix, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a sparse vector to each column of a sparse matrix as if the vector is a column vector.
- addToEachCol(CooMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Adds a sparse vector to each column of a sparse matrix as if the vector is a column vector.
- addToEachCol(CsrCMatrix, Vector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Adds a vector to each column of a matrix.
- addToEachCol(CsrCMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Adds a vector to each column of a matrix.
- addToEachRow(AbstractCooFieldMatrix<?, ?, ?, T>, AbstractDenseFieldVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Adds a dense vector to add to each row as if the vector is a row vector.
- addToEachRow(CooCMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a sparse vector to each row of a sparse matrix as if the vector is a row vector.
- addToEachRow(CooMatrix, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Adds a dense vector to add to each row as if the vector is a row vector.
- addToEachRow(CooMatrix, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a sparse vector to each row of a sparse matrix as if the vector is a row vector.
- addToEachRow(CooMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Adds a sparse vector to each row of a sparse matrix as if the vector is a row vector.
- addToEachRow(CsrCMatrix, Vector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Adds a vector to each row of a matrix.
- addToEachRow(CsrCMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Adds a vector to each row of a matrix.
- AddVisitor - Class in org.flag4j.arrays.backend.smart_visitors
- AddVisitor(MatrixMixin<?, ?, ?, ?>) - Constructor for class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- AggregateDenseReal - Class in org.flag4j.linalg.ops.dense.real
-
This class contains several low-level methods useful for computing aggregation ops on dense tensors.
- AggregateReal - Class in org.flag4j.linalg.ops.common.real
-
This utility class contains several low-level methods useful for computing aggregation ops on dense/sparse tensors.
- AggregateSemiring - Class in org.flag4j.linalg.ops.common.semiring_ops
-
This utility class contains methods useful for aggregating arrays of
Semiring
's. - allClose(double[], double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if all data of two arrays are 'close'.
- allClose(double[], double[], double, double) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if all data of two arrays are 'close'.
- allClose(AbstractCsrRingMatrix<?, ?, ?, T>, AbstractCsrRingMatrix<?, ?, ?, T>, double, double) - Static method in class org.flag4j.linalg.ops.sparse.csr.ring_ops.CsrRingProperties
-
Checks if all data of this tensor are close to the data of the argument
tensor
. - allClose(CsrMatrix, CsrMatrix, double, double) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrEquals
-
Checks if all data of this tensor are close to the data of the argument
tensor
. - allClose(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Checks if two sparse CSR ring matrices are element-wise equal within the following tolerance for two entries
x
andy
: - allClose(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Checks if two sparse CSR ring matrices are element-wise equal within the following tolerance for two entries
x
andy
: - allClose(T[], T[]) - Static method in class org.flag4j.linalg.ops.common.ring_ops.RingProperties
-
Checks if all data of two arrays are 'close'.
- allClose(T[], T[], double, double) - Static method in class org.flag4j.linalg.ops.common.ring_ops.RingProperties
-
Checks if all data of two arrays are 'close'.
- allClose(T, double, double) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T, double, double) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T, double, double) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T, double, double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Checks if all data of this matrix are 'close' as defined below.
- allClose(T, double, double) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Checks if two matrices are element-wise equal within the tolerance specified by
relTol
andabsTol
. - allClose(T, double, double) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Checks if two matrices are element-wise equal within the tolerance specified by
relTol
andabsTol
. - allCloseMatrix(CooMatrix, CooMatrix, double, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseEquals
-
Checks that all non-zero data are "close" according to
RealProperties.allClose(double[], double[])
and * all indices are the same. - allCloseTensor(CooTensor, CooTensor, double, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseEquals
-
Checks that all non-zero data are "close" according to
RealProperties.allClose(double[], double[], double, double)
and all indices are the same. - allCloseVector(CooVector, CooVector, double, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseEquals
-
Checks that all non-zero data are "close" according to
RealProperties.allClose(double[], double[])
and all indices are the same. - and(BoolSemiring) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Computes the logical AND of this
BoolSemiring
with another. - apply(double[], Shape, double[], Shape) - Method in interface org.flag4j.linalg.ops.RealDenseTensorBinaryOperation
-
Applies the specified binary operation on the two tensors.
- apply(int, int) - Method in interface org.flag4j.concurrency.TensorOperation
-
Applies a tensor operation over the specified index range.
- apply(T[], Shape, T[], Shape, T[]) - Method in interface org.flag4j.concurrency.DenseSemiringTensorBinaryOperation
-
Applies the specified binary operation on the two dense tensors.
- applyBinOpp(AbstractCsrFieldMatrix<?, ?, ?, T>, double, BinaryOperator<T>, UnaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Applies the specified binary operator element-wise to a matrix and a scalar.
- applyBinOpp(AbstractCsrFieldMatrix<?, ?, ?, T>, AbstractDenseFieldMatrix<?, ?, T>, BinaryOperator<T>, UnaryOperator<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(AbstractCsrFieldMatrix<?, ?, ?, T>, T, BinaryOperator<T>, UnaryOperator<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Applies the specified binary operator element-wise to a matrix and a scalar.
- applyBinOpp(AbstractDenseFieldMatrix<?, ?, T>, AbstractCsrFieldMatrix<?, ?, ?, T>, BinaryOperator<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(AbstractDenseFieldMatrix<?, ?, T>, CsrMatrix, BiFunction<T, Double, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(Matrix, CsrCMatrix, BiFunction<Double, Complex128, Complex128>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_complex.RealComplexCsrDenseOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(Matrix, CsrMatrix, BinaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(Shape, T[], int[], int[], Shape, T[], int[], int[], BinaryOperator<T>, UnaryOperator<T>) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Applies an element-wise binary operation to two csr matrices.
- applyBinOpp(CsrCMatrix, Matrix, BiFunction<Complex128, Double, Complex128>, UnaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_complex.RealComplexCsrDenseOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(CsrCMatrix, CsrMatrix, BiFunction<Complex128, Double, Complex128>, UnaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Applies an element-wise binary operation to two
CSR Matrices
. - applyBinOpp(CsrMatrix, double, BinaryOperator<Double>, UnaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseOps
-
Applies the specified binary operator element-wise to a matrix and a scalar.
- applyBinOpp(CsrMatrix, Complex128, BiFunction<Double, Complex128, Complex128>, UnaryOperator<Complex128>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_complex.RealComplexCsrDenseOps
-
Applies the specified binary operator element-wise to a matrix and a scalar.
- applyBinOpp(CsrMatrix, AbstractDenseFieldMatrix<?, ?, T>, BiFunction<Double, T, T>, UnaryOperator<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(CsrMatrix, Matrix, BinaryOperator<Double>, UnaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseOps
-
Applies the specified binary operator element-wise to the two matrices.
- applyBinOpp(CsrMatrix, CsrCMatrix, BiFunction<Double, Complex128, Complex128>, UnaryOperator<Complex128>) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Applies an element-wise binary operation to two
CSR Matrices
. - applyBinOpp(CsrMatrix, CsrMatrix, BinaryOperator<Double>, UnaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrOps
-
Applies an element-wise binary operation to two
CSR Matrices
. - applyBinOppToSparse(AbstractDenseFieldMatrix<?, ?, T>, AbstractCsrFieldMatrix<?, ?, ?, T>, BinaryOperator<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption that
opp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
. - applyBinOppToSparse(AbstractDenseFieldMatrix<?, ?, T>, CsrMatrix, BiFunction<T, Double, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption that
opp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
. - applyBinOppToSparse(Matrix, AbstractCsrFieldMatrix<?, ?, ?, T>, BiFunction<Double, T, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption that
opp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
. - applyBinOppToSparse(Matrix, CsrMatrix, BinaryOperator<Double>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseOps
-
Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption that
opp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
. - applyBinOppToSparse(CsrMatrix, AbstractDenseFieldMatrix<?, ?, T>, BiFunction<Double, T, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Applies an element-wise binary operation to a real sparse and complex dense CSR matrix under the assumption that
opp.apply(0d, x) = 0d
wherex
is aComplex128
. - applyDoubleShiftReflector(int, boolean) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Applies reflector for the double shift.
- applyDoubleShiftReflector(int, boolean) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Applies reflector for the double shift.
- applyReflector(int, int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Applies the constructed Householder reflector which has been constructed for the given shift size.
- applyReflector(int, int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Applies the constructed Householder reflector which has been constructed for the given shift size.
- applySingleShiftReflector(int, boolean) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Applies reflector for the double shift.
- applySingleShiftReflector(int, boolean) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Applies reflector for the double shift.
- applyTransform(double[], Function<Double, Complex128>) - Static method in class org.flag4j.util.ArrayUtils
-
Applies a transform to an array.
- applyTransform(double[], UnaryOperator<Double>) - Static method in class org.flag4j.util.ArrayUtils
-
Applies a transform to an array.
- applyTransform(Complex128[], Function<Complex128, Double>) - Static method in class org.flag4j.util.ArrayUtils
-
Applies a transform to an array.
- applyTransform(T[], UnaryOperator<T>) - Static method in class org.flag4j.util.ArrayUtils
-
Applies a transform to an array.
- applyUpdate - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Flag indicating if a HouseholderOld reflector was needed for the current column meaning the
UnitaryDecomposition.transformMatrix
should be updated. - arg(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex argument function for a complex number.
- arg(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex argument function for a complex number.
- argEq(double[], double) - Static method in class org.flag4j.linalg.ops.dense.real.AggregateDenseReal
-
Computes the index of the first entry in a tensor which is equal to the specified
value
. - argEq(int[], int) - Static method in class org.flag4j.linalg.ops.dense.real.AggregateDenseReal
-
Computes the index of the first entry in a tensor which is equal to the specified
value
. - argmax() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Finds the indices of the maximum (non-zero) value in this tensor.
- argmax() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.sparse.CooVector
-
Finds the indices of the maximum value in this tensor.
- argmax() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Finds the indices of the maximum value in this tensor.
- argmax(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Finds the index of the maximum value within a tensor.
- argmax(double[]) - Static method in class org.flag4j.linalg.ops.dense.real.AggregateDenseReal
-
Computes the index of the maximum value in this tensor.
- argmax(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the index of the maximum magnitude from an array of complex numbers.
- argmax(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the index of the maximum magnitude from an array of complex numbers.
- argmax(T...) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.CompareSemiring
-
Computes the index of the maximum value in the specified array.
- argmaxAbs() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in class org.flag4j.arrays.sparse.CooVector
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Finds the indices of the maximum absolute value in this tensor.
- argmaxAbs(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Finds the first index of the maximum absolute value within a tensor.
- argmaxAbs(double[]) - Static method in class org.flag4j.linalg.ops.dense.real.AggregateDenseReal
-
Computes the index of the maximum absolute value in this tensor.
- argmaxAbs(T...) - Static method in class org.flag4j.linalg.ops.common.ring_ops.CompareRing
-
Computes the index of the maximum absolute value in the specified array.
- argmaxReal(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the index of the minimum real component from an array of complex numbers.
- argmaxReal(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the index of the minimum real component from an array of complex numbers.
- argmin() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Finds the indices of the minimum (non-zero) value in this tensor.
- argmin() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.sparse.CooVector
-
Finds the indices of the minimum value in this tensor.
- argmin() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Finds the indices of the minimum value in this tensor.
- argmin(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Finds the index of the minimum value within a tensor.
- argmin(double[]) - Static method in class org.flag4j.linalg.ops.dense.real.AggregateDenseReal
-
Computes the index of the minimum value in this tensor.
- argmin(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the index of the minimum magnitude from an array of complex numbers.
- argmin(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the index of the minimum magnitude from an array of complex numbers.
- argmin(T...) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.CompareSemiring
-
Computes the index of the minimum value in the specified array.
- argminAbs() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in class org.flag4j.arrays.sparse.CooVector
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Finds the indices of the minimum absolute value in this tensor.
- argminAbs(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Finds the index of the minimum absolute value within a tensor.
- argminAbs(double[]) - Static method in class org.flag4j.linalg.ops.dense.real.AggregateDenseReal
-
Computes the index of the minimum absolute value in this tensor.
- argminAbs(T...) - Static method in class org.flag4j.linalg.ops.common.ring_ops.CompareRing
-
Computes the index of the minimum absolute value in the specified array.
- argminReal(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the index of the minimum real component from an array of complex numbers.
- argminReal(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the index of the minimum real component from an array of complex numbers.
- ARRAY - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMFormat
- ArrayBuilder - Class in org.flag4j.util
-
The
ArrayBuilder
class provides a collection of static utility methods to construct, initialize, and manipulate arrays in various ways. - ArrayConversions - Class in org.flag4j.util
-
The
ArrayConversions
class provides utility methods for converting between various array types and formats. - arraycopy(double[], int, Complex128[], int, int) - Static method in class org.flag4j.util.ArrayUtils
-
Performs an array copy similar to
System.arraycopy(Object, int, Object, int, int)
but wraps doubles as complex numbers. - arraycopy(float[], int, Complex64[], int, int) - Static method in class org.flag4j.util.ArrayUtils
-
Performs an array copy similar to
System.arraycopy(Object, int, Object, int, int)
but wraps floats as complex numbers. - ArrayJoiner - Class in org.flag4j.util
-
The
ArrayJoiner
class provides utility methods for combining and repeating arrays. - ArrayUtils - Class in org.flag4j.util
-
The
ArrayUtils
class provides a set of utility methods for performing operations on arrays. - asDouble(int[], double[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of ints to an array of doubles.
- asDouble(Integer[], double[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of
Integers
to an array of doubles. - asin(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the inverse sine of a complex value.
- asin(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the inverse sine of a complex value.
- atan(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the inverse tangent of a complex value.
- atan(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the inverse tangent of a complex value.
- atan2(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the 2 argument arc-tangent function for a complex number.
- atan2(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the 2 argument arc-tangent function for a complex number.
- augment(Matrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Stacks matrices along rows.
- augment(Vector) - Method in class org.flag4j.arrays.dense.Matrix
-
Augments a vector to this matrix.
- augment(CooCMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooConcats
-
Augments two matrices.
- augment(CooCMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooConcats
-
Augments a real sparse COO vector to a complex sparse COO matrix.
- augment(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Augments a real COO matrix to this matrix.
- augment(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Stacks matrices along rows.
- augment(CooVector) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Augments a vector to this matrix.
- augment(CooVector) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Augments a vector to this matrix.
- augment(CooVector) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Augments a vector to this matrix.
- augment(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Stacks matrices along rows.
- augment(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Stacks matrices along rows.
- augment(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Stacks matrices along rows.
- augment(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Stacks matrices along rows.
- augment(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Stacks matrices along rows.
- augment(T[], int[], int[], int, T[], int[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConcat
-
Augments two matrices.
- augment(U) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Augments a vector to this matrix.
- augment(V) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Augments a vector to this matrix.
- augment(V) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Augments a vector to this matrix.
- augment(V) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Augments a vector to this matrix.
- augmentVector(T[], int[], int[], int, T[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConcat
-
Augments two matrices.
B
- backSolver - Variable in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Backwards solver for solving system with upper triangular coefficient matrix.
- backSolver - Variable in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Solver for system with an upper triangular coefficient matrix.
- BackSolver<T,
U, - Class in org.flag4j.linalg.solvers.exact.triangularV> -
Base class for solvers which solve a linear system of equations U*x=b or U*X=B where U is an upper triangular matrix.
- BackSolver(boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
Creates a solver for solving linear systems for upper triangular coefficient matrices.
- balancedMatrix - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Stores the balanced matrix.
- Balancer<T> - Class in org.flag4j.linalg.decompositions.balance
-
Base class for all decompositions which implement matrix balancing.
- Balancer(boolean, boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.balance.Balancer
- binarySearchCoo(int[][], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseElementSearch
-
Performs a binary search of the indices of a sparse COO tensor to find a target index.
- blocked(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication of two real dense matrices using a blocked algorithm.
- blocked(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm.
- blocked(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm.
- blocked(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication of two dense matrices using a blocked algorithm.
- BLOCKED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- BLOCKED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- BLOCKED_REORDERED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- BLOCKED_REORDERED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- BLOCKED_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- BLOCKED_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- blockedIntMatrix(int[][]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Transposes an integer matrix using a blocked algorithm.
- blockedMatrix(double[], int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Transposes a matrix using a blocked algorithm.
- blockedMatrix(Object[], int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Transposes a matrix using a blocked algorithm.
- blockedMatrixConcurrent(double[], int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Computes the transpose of a matrix using a blocked concurrent algorithm.
- blockedMatrixConcurrent(Object[], int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Computes the transpose of a matrix using a blocked concurrent algorithm.
- blockedMatrixConcurrentHerm(T[], int, int, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes the complex conjugate transpose of a matrix using a blocked concurrent algorithm.
- blockedMatrixHerm(T[], int, int, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes complex conjugate transpose of a matrix using a blocked algorithm.
- blockedReordered(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication of two real dense matrices using a blocked algorithm with the j-k loops swapped.
- blockedReordered(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm with the j-k loops swapped.
- blockedReordered(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm with the j-k loops swapped.
- blockedReordered(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication of two dense matrices using a blocked algorithm with the j-k loops swapped.
- blockedVector(double[], Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- blockedVector(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the multiplication of a real dense matrix with a real dense vector using a blocked algorithm.
- blockedVector(double[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- blockedVector(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using a blocked algorithm.
- blockedVector(T[], Shape, double[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- blockedVector(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using a blocked algorithm.
- blockedVector(T[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- blockedVector(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the multiplication of a dense matrix with a dense vector using a blocked algorithm.
- BoolSemiring - Class in org.flag4j.algebraic_structures
-
Represents an immutable boolean value within a semiring structure.
- BoolSemiring(boolean) - Constructor for class org.flag4j.algebraic_structures.BoolSemiring
-
Constructs a
BoolSemiring
semiring element with the specified boolean value. - BoolSemiring(int) - Constructor for class org.flag4j.algebraic_structures.BoolSemiring
-
Constructs a
BoolSemiring
semiring element from an integer. - boxed(double[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts a primitive array to an array of equivalent boxed type.
- boxed(int[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts a primitive array to an array of equivalent boxed type.
C
- center(String, int) - Static method in class org.flag4j.util.StringUtils
-
Centers a string within a specified size bin.
- center(String, int, String) - Static method in class org.flag4j.util.StringUtils
-
Centers a string within a specified size bin.
- centerIm - Variable in class org.flag4j.rng.distributions.Complex128UniformDisk
-
Imaginary value of the center of the annulus in the complex plane.
- centerRe - Variable in class org.flag4j.rng.distributions.Complex128UniformDisk
-
Real value of the center of the annulus in the complex plane.
- checkConvergence(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Checks for convergence of lower 2x2 sub-matrix within working matrix to upper triangular or block upper triangular form.
- checkConvergence(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Checks for convergence of lower 2x2 sub-matrix within working matrix to upper triangular or block upper triangular form.
- checkConvergence(int) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Checks for convergence of lower 2x2 sub-matrix within working matrix to upper triangular or block upper triangular form.
- checkFinite - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Flag indicating if a check should be made during the decomposition that the working matrix contains only finite values.
- checkParams(T, int) - Method in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
Ensures passed parameters are valid for the back solver.
- checkParams(T, int) - Method in class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Ensures passed parameters are valid for the back solver.
- checkSingular(double, int, int) - Method in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
Checks if the coefficient matrix is singular based on the computed determinant.
- checkSingular(double, int, int) - Method in class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Checks if the coefficient matrix is singular based on the computed determinant.
- checkSize(int, int) - Method in class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Ensures that
aNumEntries==prod
. - Cholesky<T> - Class in org.flag4j.linalg.decompositions.chol
-
This abstract class specifies methods for computing the Cholesky decomposition of a positive-definite matrix.
- Cholesky(boolean) - Constructor for class org.flag4j.linalg.decompositions.chol.Cholesky
-
Constructs a Cholesky decomposer.
- chooseAlgorithmComplex(Shape, Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses matrix multiply algorithm based on the shapes of the two matrices to multiply.
- chooseAlgorithmComplexTranspose(Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses the matrix multiplication-transpose algorithm to used based on the shape of the first matrix.
- chooseAlgorithmComplexVector(Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses matrix-vector multiply algorithm based on the shapes of the matrix to multiply.
- chooseAlgorithmRealComplex(Shape, Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses matrix multiply algorithm based on the shapes of the two matrices to multiply.
- chooseAlgorithmRealComplexTranspose(Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses the matrix multiplication-transpose algorithm to used based on the shape of the first matrix.
- chooseAlgorithmRealComplexVector(Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses matrix-vector multiply algorithm based on the shapes of the matrix to multiply.
- chooseAlgorithmRealVector(Shape) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses matrix-vector multiply algorithm based on the shapes of the matrix to multiply.
- CMatrix - Class in org.flag4j.arrays.dense
-
Instances of this class represents a complex dense matrix backed by a
Complex128
array. - CMatrix(double[][]) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Constructs a complex matrix from a 2D array of double values.
- CMatrix(int) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a square zero matrix with the specified
size
. - CMatrix(int, int) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a zero matrix with the specified shape.
- CMatrix(int, int, double) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Constructs a matrix with the specified shape filled with
fillValue
. - CMatrix(int, int, Complex128) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a complex matrix with the specified shape and filled with
fillValue
. - CMatrix(int, int, Complex128[]) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a complex matrix with the specified
data
, and shape. - CMatrix(int, Double) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a square matrix with the specified
size
filled withfillValue
. - CMatrix(int, Complex128) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a square matrix with the specified
size
filled withfillValue
. - CMatrix(String[][]) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Constructs a complex matrix from a 2D array of strings.
- CMatrix(Complex128[][]) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Constructs a complex matrix from a 2D array.
- CMatrix(CMatrix) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Constructs a copy of the specified matrix.
- CMatrix(Shape) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a zero matrix with the specified
shape
. - CMatrix(Shape, double[]) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Constructs a complex matrix with specified
shape
anddata
. - CMatrix(Shape, Double) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates matrix with the specified
shape
filled withfillValue
. - CMatrix(Shape, Complex128) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a complex matrix with the specified
shape
filled withfillValue
. - CMatrix(Shape, Complex128[]) - Constructor for class org.flag4j.arrays.dense.CMatrix
-
Creates a complex matrix with the specified
data
andshape
. - coalesce() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Coalesces this sparse COO matrix.
- coalesce() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Coalesces this sparse COO tensor.
- coalesce() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Coalesces this sparse COO vector.
- coalesce() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Coalesces this sparse COO matrix.
- coalesce() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Coalesces this sparse COO tensor.
- coalesce() - Method in class org.flag4j.arrays.sparse.CooVector
-
Coalesces this sparse COO vector.
- coalesce() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Coalesces this sparse CSR matrix.
- coalesce() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Coalesces this sparse CSR matrix.
- coalesce() - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Coalesces this sparse CSR matrix.
- coalesce() - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Coalesces this sparse CSR matrix.
- coalesce(BinaryOperator<Double>) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<Double>) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Coalesces this sparse COO tensor.
- coalesce(BinaryOperator<Double>) - Method in class org.flag4j.arrays.sparse.CooVector
-
Coalesces this sparse COO vector.
- coalesce(BinaryOperator<Double>) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<Double>, Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Coalesces this sparse COO vector.
- coalesce(BinaryOperator<Double>, Shape, double[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Coalesces this sparse COO tensor.
- coalesce(BinaryOperator<Double>, Shape, double[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<T>) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<T>) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<T>) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<T>, Shape, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Coalesces this sparse COO vector.
- coalesce(BinaryOperator<T>, Shape, T[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Coalesces this sparse COO tensor.
- coalesce(BinaryOperator<T>, Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<V>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Coalesces this sparse COO tensor.
- coalesce(BinaryOperator<W>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Coalesces this sparse COO matrix.
- coalesce(BinaryOperator<Y>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Coalesces this sparse COO vector.
- colData() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Returns the value of the
colData
record component. - colIndices - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
column indices for non-zero value of this sparse COO matrix.
- colIndices - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Column indices for non-zero values of this sparse CSR matrix.
- colIndices - Variable in class org.flag4j.arrays.sparse.CooMatrix
-
column indices for non-zero value of this sparse COO matrix.
- colIndices - Variable in class org.flag4j.arrays.sparse.CsrMatrix
-
Column indices for non-zero values of this sparse CSR matrix.
- colIndicesToArray() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Converts the column indices of this sparse matrix data to a primitive integer array.
- colSwaps - Variable in class org.flag4j.linalg.decompositions.lu.LU
- comments() - Method in record class org.flag4j.io.MatrixMarketHeader
-
Returns the value of the
comments
record component. - CompareRing - Class in org.flag4j.linalg.ops.common.ring_ops
-
This utility class provides methods useful for comparing elements of a
Ring
. - CompareSemiring - Class in org.flag4j.linalg.ops.common.semiring_ops
-
This utility class provides methods useful for comparing elements of a
Semiring
. - compareTo(BoolSemiring) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Compares this element of the semiring with
b
. - compareTo(Complex128) - Method in class org.flag4j.algebraic_structures.Complex128
-
Compares this element of the field with
b
. - compareTo(Complex64) - Method in class org.flag4j.algebraic_structures.Complex64
-
Compares this element of the field with
b
. - compareTo(RealFloat32) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Compares this element of the ordered field with
b
. - compareTo(RealFloat64) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Compares this element of the ordered field with
b
. - compareTo(RealInt16) - Method in class org.flag4j.algebraic_structures.RealInt16
-
Compares this element of the ordered ring with
b
. - compareTo(RealInt32) - Method in class org.flag4j.algebraic_structures.RealInt32
-
Compares this element of the ordered ring with
b
. - compareTo(T) - Method in interface org.flag4j.algebraic_structures.Semiring
-
Compares this element of the semiring with
b
. - COMPLEX - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMField
- Complex128 - Class in org.flag4j.algebraic_structures
-
Represents an immutable complex number with double-precision floating point components.
- Complex128(double) - Constructor for class org.flag4j.algebraic_structures.Complex128
-
Constructs a complex number with specified real component and zero imaginary component.
- Complex128(double, double) - Constructor for class org.flag4j.algebraic_structures.Complex128
-
Constructs a complex number with specified complex and real components.
- Complex128(String) - Constructor for class org.flag4j.algebraic_structures.Complex128
-
Constructs a complex number from a string of the form
"a +/- bi"
wherea
andb
are real values where either may be omitted. i.e. - Complex128(Complex64) - Constructor for class org.flag4j.algebraic_structures.Complex128
-
Constructs a 128-bit complex number from a 64-bit complex number.
- Complex128BiGaussian - Class in org.flag4j.rng.distributions
-
A 2D bivariateGaussian distribution on the complex plane.
- Complex128BiGaussian(RandomComplex, double, double, double, double) - Constructor for class org.flag4j.rng.distributions.Complex128BiGaussian
-
Constructs 2D bivariateGaussian distribution on the complex plane with a correlation coefficient of zero.
- Complex128BiGaussian(RandomComplex, double, double, double, double, double) - Constructor for class org.flag4j.rng.distributions.Complex128BiGaussian
-
Constructs 2D bivariateGaussian distribution on the complex plane with a specified correlation coefficient.
- Complex128Ops - Class in org.flag4j.linalg.ops.common.complex
-
This class provides low level methods for computing operations on complex tensors.
- Complex128UniformDisk - Class in org.flag4j.rng.distributions
-
A uniform distribution on an annulus (e.g. washer) in the complex plane.
- Complex128UniformDisk(RandomComplex, double, double) - Constructor for class org.flag4j.rng.distributions.Complex128UniformDisk
-
Constructs a complex annular uniform distribution centered at the origin of the complex plane.
- Complex128UniformDisk(RandomComplex, double, double, double, double) - Constructor for class org.flag4j.rng.distributions.Complex128UniformDisk
-
Constructs a complex annular uniform distribution with specified center on the complex plane.
- Complex128UniformRect - Class in org.flag4j.rng.distributions
-
A rectangular uniform distribution on the complex plane.
- Complex128UniformRect(RandomComplex, double, double, double, double) - Constructor for class org.flag4j.rng.distributions.Complex128UniformRect
-
Constructs a complex rectangular uniform distribution.
- Complex64 - Class in org.flag4j.algebraic_structures
-
Represents an immutable complex number with single-precision floating point components.
- Complex64(float) - Constructor for class org.flag4j.algebraic_structures.Complex64
-
Constructs a complex number with specified real component and zero imaginary component.
- Complex64(float, float) - Constructor for class org.flag4j.algebraic_structures.Complex64
-
Constructs a complex number with specified complex and real components.
- Complex64(String) - Constructor for class org.flag4j.algebraic_structures.Complex64
-
Constructs a complex number from a string of the form
"a +/- bi"
wherea
and {b} are real values and either may be omitted. i.e. - Complex64Ops - Class in org.flag4j.linalg.ops.common.complex
-
This class provides low level methods for computing ops on complex tensors.
- ComplexBackSolver - Class in org.flag4j.linalg.solvers.exact.triangular
-
This solver solves linear systems of equations where the coefficient matrix in an upper triangular complex dense matrix and the constant vector is a complex dense vector.
- ComplexBackSolver() - Constructor for class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Creates a solver for solving linear systems for upper triangular coefficient matrices.
- ComplexBackSolver(boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Creates a solver for solving linear systems for upper triangular coefficient matrices.
- ComplexBalancer - Class in org.flag4j.linalg.decompositions.balance
-
Instances of this class may be used to balance complex dense matrices.
- ComplexBalancer() - Constructor for class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Constructs a complex balancer which will perform both the permutations and scaling steps out-of-place.
- ComplexBalancer(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Constructs a complex balancer optionally performing the permutation and scaling steps out-of-place.
- ComplexBalancer(boolean, boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Constructs a complex balancer optionally performing the permutation and scaling steps in/out-of-place.
- ComplexCholesky - Class in org.flag4j.linalg.decompositions.chol
-
An instance of this class allows for the computation of a Cholesky decomposition of a complex Hermitian positive-definite matrix.
- ComplexCholesky() - Constructor for class org.flag4j.linalg.decompositions.chol.ComplexCholesky
-
Constructs a complex Cholesky decomposer.
- ComplexCholesky(boolean) - Constructor for class org.flag4j.linalg.decompositions.chol.ComplexCholesky
-
Constructs a complex Cholesky decomposer.
- ComplexDenseDeterminant - Class in org.flag4j.linalg.ops.dense.complex
-
This class contains methods for computing the determinant of a complex dense matrix.
- ComplexExactSolver - Class in org.flag4j.linalg.solvers.exact
-
Solver for solving a well determined system of linear equations in an exact sense using the
LU decomposition.
- ComplexExactSolver() - Constructor for class org.flag4j.linalg.solvers.exact.ComplexExactSolver
-
Constructs an exact LU solver where the coefficient matrix is real dense.
- ComplexExactTensorSolver - Class in org.flag4j.linalg.solvers.exact
-
Solver for solving a complex well determined linear tensor equation A*X=B in an exact sense.
- ComplexExactTensorSolver() - Constructor for class org.flag4j.linalg.solvers.exact.ComplexExactTensorSolver
-
Creates an exact tensor solver for solving a well determined linear tensor equation A*X=B for X in an exact sense.
- ComplexForwardSolver - Class in org.flag4j.linalg.solvers.exact.triangular
-
This solver solves linear systems of equations where the coefficient matrix in a lower triangular complex dense matrix and the constant vector/matrix is complex and dense.
- ComplexForwardSolver() - Constructor for class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Creates a solver to solve a linear system where the coefficient matrix is lower triangular.
- ComplexForwardSolver(boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Creates a solver to solve a linear system where the coefficient matrix is lower triangular or unit lower triangular.
- ComplexForwardSolver(boolean, boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Creates a solver to solve a linear system where the coefficient matrix is lower triangular or unit lower triangular.
- ComplexHess - Class in org.flag4j.linalg.decompositions.hess
-
Computes the Hessenburg decomposition of a complex dense square matrix.
- ComplexHess() - Constructor for class org.flag4j.linalg.decompositions.hess.ComplexHess
-
Creates a complex Hessenburg decomposer.
- ComplexHess(boolean) - Constructor for class org.flag4j.linalg.decompositions.hess.ComplexHess
-
Creates a complex Hessenburg decomposer.
- ComplexLstsqSolver - Class in org.flag4j.linalg.solvers.lstsq
-
This class solves a linear system of equations Ax=b in a least-squares sense.
- ComplexLstsqSolver() - Constructor for class org.flag4j.linalg.solvers.lstsq.ComplexLstsqSolver
-
Constructs a least-squares solver to solve a system Ax=b in a least square sense.
- ComplexLU - Class in org.flag4j.linalg.decompositions.lu
-
Complex128his class provides methods for computing the LU decomposition of a complex dense matrix.
- ComplexLU() - Constructor for class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Constructs a LU decomposer to decompose the specified matrix using partial pivoting.
- ComplexLU(LU.Pivoting) - Constructor for class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Constructs a LU decomposer to decompose the specified matrix.
- ComplexLU(LU.Pivoting, double) - Constructor for class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Constructs a LU decomposer to decompose the specified matrix.
- ComplexNumberParser - Class in org.flag4j.io.parsing
-
A parser for parsing complex numbers represented as a string.
- ComplexQR - Class in org.flag4j.linalg.decompositions.qr
-
Instances of this class compute the
QR
decomposition of acomplex dense matrix
. - ComplexQR() - Constructor for class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Creates a
QR
decomposer. - ComplexQR(boolean) - Constructor for class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Creates a
QR
decomposer to compute either the full or reducedQR
decomposition. - ComplexSchur - Class in org.flag4j.linalg.decompositions.schur
-
This class computes the Schur decomposition of a complex dense square matrix.
- ComplexSchur() - Constructor for class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Creates a decomposer to compute the Schur decomposition for a complex dense matrix.
- ComplexSchur(boolean) - Constructor for class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix where the U matrix may or may not be computed.
- ComplexSchur(boolean, long) - Constructor for class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix.
- ComplexSchur(long) - Constructor for class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix.
- ComplexSVD - Class in org.flag4j.linalg.decompositions.svd
-
Instances of this class can be used to compute the singular value decomposition (SVD) of a
complex dense matrix
. - ComplexSVD() - Constructor for class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Creates a decomposer to compute the singular value decomposition of a real matrix.
- ComplexSVD(boolean) - Constructor for class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Creates a decomposer to compute the Schur decomposition.
- ComplexSVD(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Creates a decomposer to compute the singular value decomposition of a real matrix.
- ComplexUnitaryDecomposition - Class in org.flag4j.linalg.decompositions.unitary
-
This class is the base class for complex matrix decompositions which proceed by using unitary transformations (specifically Householder reflectors) to bring a matrix into an upper triangular/Hessenburg matrix.
- ComplexUnitaryDecomposition(int) - Constructor for class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Creates a real unitary decomposer which will reduce the matrix to an upper triangular/Hessenburg matrix which is has zeros below the specified sub-diagonal.
- ComplexUnitaryDecomposition(int, boolean) - Constructor for class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Creates a real unitary decomposer which will reduce the matrix to an upper triangular/Hessenburg matrix which is has zeros below the specified sub-diagonal.
- compute() - Method in class org.flag4j.linalg.ops.dense.real.RealDenseTensorDot
-
Computes this tensor dot product as specified in the constructor.
- compute(double[]) - Method in class org.flag4j.linalg.ops.dense.real.RealDenseTensorDot
-
Computes this tensor dot product as specified in the constructor.
- compute(T) - Method in class org.flag4j.linalg.ops.TensorDot
-
Computes this tensor dot product as specified in the constructor.
- compute(T[]) - Method in class org.flag4j.linalg.ops.dense.DenseSemiringTensorDot
-
Computes this tensor dot product as specified in the constructor.
- compute(T[]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooTensorDot
-
Computes this tensor dot product as specified in the constructor.
- computeExceptionalShift(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Computes a random shift to help the QR algorithm converge if it gets stuck.
- computeExceptionalShift(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Computes a random shift to help the QR algorithm converge if it gets stuck.
- computeHouseholder(int) - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Computes the Householder vector for the first column of the sub-matrix with upper left corner at
(j, j)
. - computeHouseholder(int) - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Computes the HouseholderOld vector for the first column of the sub-matrix with upper left corner at
(j, j)
. - computeHouseholder(int) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Computes the HouseholderOld vector for the first column of the sub-matrix with upper left corner at
(j, j)
. - computeImplicitDoubleShift(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Computes the shifts for a Francis double shift iteration.
- computeImplicitDoubleShift(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Computes the shifts for a Francis double shift iteration.
- computeImplicitSingleShift(int, double) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Computes the non-zero data of the first column for the single shifted QR algorithm.
- computeImplicitSingleShift(int, Complex128) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Computes the non-zero data of the first column for the single shifted QR algorithm.
- computePhasedNorm(int, double) - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Computes the norm of column
j
below thej
th row of the matrix to be decomposed. - computePhasedNorm(int, double) - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Computes the norm of column
j
below thej
th row of the matrix to be decomposed. - computePhasedNorm(int, double) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Computes the norm of column
j
at and below thej
th row of the matrix to be decomposed. - computeRank(int, int, double[]) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Computes the rank of the matrix being decomposed using the singular values of the matrix.
- computeSwaps() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the number of row/column swaps required for this permutation matrix to be converted to the identity matrix.
- computeU - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Flag indicating if the orthogonal matrix
U
in the Schur decomposition should be computed. - computeUV - Variable in class org.flag4j.linalg.decompositions.svd.SVD
-
Flag which indicates if the singular vectors should be computed in addition to the singular values.
- concat(Object[], Object[], Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseConcat
-
Concatenates two arrays and stores the result in
dest
. - CONCURRENT_BLOCKED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- CONCURRENT_BLOCKED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- CONCURRENT_BLOCKED_REORDERED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- CONCURRENT_BLOCKED_REORDERED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- CONCURRENT_BLOCKED_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- CONCURRENT_BLOCKED_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- CONCURRENT_REORDERED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- CONCURRENT_REORDERED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- CONCURRENT_STANDARD - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- CONCURRENT_STANDARD - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- CONCURRENT_STANDARD_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- CONCURRENT_STANDARD_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- concurrentBlocked(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication of two real dense matrices using a concurrent implementation of a blocked algorithm.
- concurrentBlocked(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm.
- concurrentBlocked(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm.
- concurrentBlocked(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication of two dense matrices using a concurrent implementation of a blocked algorithm.
- concurrentBlockedOperation(int, int, TensorOperation) - Static method in class org.flag4j.concurrency.ThreadManager
-
Computes a specified blocked tensor operation concurrently by evenly dividing work among available threads (specified by
Configurations.getNumThreads()
). - concurrentBlockedReordered(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication of two real dense matrices using a concurrent implementation of a blocked algorithm with the j-k loops swapped.
- concurrentBlockedReordered(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm with the j-k loops swapped.
- concurrentBlockedReordered(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm with the j-k loops swapped.
- concurrentBlockedReordered(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication of two dense matrices using a concurrent implementation of a blocked algorithm with the j-k loops swapped.
- concurrentBlockedVector(double[], Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- concurrentBlockedVector(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the multiplication of a real dense matrix with a real dense vector using a concurrent implementation of a blocked algorithm.
- concurrentBlockedVector(double[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- concurrentBlockedVector(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of a blocked algorithm.
- concurrentBlockedVector(T[], Shape, double[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- concurrentBlockedVector(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of a blocked algorithm.
- concurrentBlockedVector(T[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the dense matrix sparse vector multiplication using a blocked algorithm.
- concurrentBlockedVector(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the multiplication of a dense matrix with a dense vector using a concurrent implementation of a blocked algorithm.
- concurrentOperation(int, TensorOperation) - Static method in class org.flag4j.concurrency.ThreadManager
-
Computes a specified tensor operation concurrently by evenly dividing work among available threads (specified by
Configurations.getNumThreads()
). - concurrentReordered(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication of two real dense matrices using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.
- concurrentReordered(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.
- concurrentReordered(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.
- concurrentReordered(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication of two dense matrices using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.
- concurrentStandard(double[], int[], int[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatMult
-
Computes the matrix multiplication between two sparse matrices using a concurrent implementation of the standard algorithm.
- concurrentStandard(double[], int[], int[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the matrix multiplication between a real sparse matrix and a real dense matrix using a concurrent standard algorithm.
- concurrentStandard(double[], int[], int[], Shape, Complex128[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the matrix multiplication between two sparse matrices using a concurrent implementation of the standard algorithm.
- concurrentStandard(double[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a concurrent standard algorithm.
- concurrentStandard(double[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the matrix multiplication between a real dense matrix and a real sparse matrix using a concurrent standard algorithm.
- concurrentStandard(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication of two real dense matrices using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandard(double[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a concurrent standard algorithm.
- concurrentStandard(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandard(Complex128[], int[], int[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the matrix multiplication between two sparse matrices using a concurrent implementation of the standard algorithm.
- concurrentStandard(T[], int[], int[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a concurrent standard algorithm.
- concurrentStandard(T[], int[], int[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatMult
-
Computes the matrix multiplication between two sparse matrices using a concurrent implementation of the standard algorithm.
- concurrentStandard(T[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the matrix multiplication between a real sparse matrix and a real dense matrix using a concurrent standard algorithm.
- concurrentStandard(T[], Shape, double[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a concurrent standard algorithm.
- concurrentStandard(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandard(T[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the matrix multiplication between a real dense matrix and a real sparse matrix using a concurrent standard algorithm.
- concurrentStandard(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication of two dense matrices using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandardVector(double[], int[], int[], Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatMult
-
Computes the multiplication between a sparse matrix and a sparse vector using a concurrent implementation of the standard algorithm.
- concurrentStandardVector(double[], int[], int[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(double[], int[], int[], Shape, Complex128[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the multiplication between a sparse matrix and a sparse vector using a concurrent implementation of the standard algorithm.
- concurrentStandardVector(double[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(double[], Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the multiplication of a real dense matrix with a real dense vector using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandardVector(double[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandardVector(Complex128[], int[], int[], Shape, double[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the multiplication between a sparse matrix and a sparse vector using a concurrent implementation of the standard algorithm.
- concurrentStandardVector(T[], int[], int[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(T[], int[], int[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatMult
-
Computes the multiplication between a sparse matrix and a sparse vector using a concurrent implementation of the standard algorithm.
- concurrentStandardVector(T[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(T[], Shape, double[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of the standard matrix multiplication algorithm.
- concurrentStandardVector(T[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.
- concurrentStandardVector(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the multiplication of a dense matrix with a dense vector using a concurrent implementation of the standard matrix multiplication algorithm.
- cond(CMatrix, double) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix.
- cond(Matrix, double) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix.
- condEntryWise(CMatrix, double) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix using an
entry-wise norm
. - condEntryWise(Matrix, double) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix using an
entry-wise norm
. - condFro(CMatrix) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix using the Frobenius norm.
- condFro(Matrix) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix using the Frobenius norm.
- Condition - Class in org.flag4j.linalg
-
Utility class for computing the condition number of a matrix.
- condSchatten(CMatrix, double) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix using the
Schatten norm
. - condSchatten(Matrix, double) - Static method in class org.flag4j.linalg.Condition
-
Computes the condition number of a matrix using the
Schatten norm
. - Configurations - Class in org.flag4j.concurrency
-
Configurations for standard and concurrent ops.
- conj() - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the conjugate of this field element.
- conj() - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the conjugate of this field element.
- conj() - Method in interface org.flag4j.algebraic_structures.Ring
-
Computes the conjugation of this ring's element.
- conj() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Computes the element-wise conjugation of this tensor.
- conj() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the element-wise conjugation of this tensor.
- conj() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Computes the element-wise conjugation of this tensor.
- conj() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Computes the element-wise conjugation of this tensor.
- conj(T[], T[]) - Static method in class org.flag4j.linalg.ops.common.ring_ops.RingOps
-
Computes the element-wise conjugation of an array.
- conj(V[], V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Computes the element-wise complex conjugate of a tensor.
- Constants: - Search tag in class org.flag4j.algebraic_structures.BoolSemiring
- Section
- contains(double[], double) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if an array contains a specified value.
- contains(double[], double...) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if a set of keys are in an array.
- contains(int[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if an array contains a specified value.
- contains(int[], int...) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if a set of keys is in an array.
- content - Variable in class org.flag4j.io.parsing.Lexer
-
Content of the lexer.
- CooCMatrix - Class in org.flag4j.arrays.sparse
-
A complex sparse matrix stored in coordinate list (COO) format.
- CooCMatrix(int) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a square sparse COO matrix with the specified
size
filled with zeros. - CooCMatrix(int, int) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a zero matrix of the specified shape.
- CooCMatrix(int, int, List<Complex128>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooCMatrix(int, int, Complex128[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooCMatrix(int, Complex128[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a square complex sparse COO matrix with the specified
size
, non-zero values, and non-zero indices. - CooCMatrix(Shape) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a zero matrix of the specified shape.
- CooCMatrix(Shape, double[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooCMatrix(Shape, List<Complex128>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooCMatrix(Shape, Complex128[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooCMatrix(CooCMatrix) - Constructor for class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a copy of the specified complex sparse COO matrix.
- CooConcat - Class in org.flag4j.linalg.ops.sparse.coo
-
This utility class contains methods for combining or joining sparse COO tensors, matrices, and vectors.
- CooConversions - Class in org.flag4j.linalg.ops.sparse.coo
-
Utility class for converting COO tensor to another type of tensor.
- CooCTensor - Class in org.flag4j.arrays.sparse
-
Sparse complex tensor stored in coordinate list (COO) format.
- CooCTensor(Shape) - Constructor for class org.flag4j.arrays.sparse.CooCTensor
-
Creates a tensor with the specified data and shape.
- CooCTensor(Shape, double[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooCTensor
-
Creates a tensor with the specified data and shape.
- CooCTensor(Shape, List<Complex128>, List<int[]>) - Constructor for class org.flag4j.arrays.sparse.CooCTensor
-
Creates a tensor with the specified data and shape.
- CooCTensor(Shape, Complex128[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooCTensor
-
Creates a tensor with the specified data and shape.
- CooCTensor(Shape, Complex64[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooCTensor
-
Creates a tensor with the specified data and shape.
- CooCTensor(CooCTensor) - Constructor for class org.flag4j.arrays.sparse.CooCTensor
-
Constructs a copy of a sparse COO tensor.
- CooCVector - Class in org.flag4j.arrays.sparse
-
A complex sparse vector stored in coordinate list (COO) format.
- CooCVector(int) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Constructs a zero vector of the specified
size
. - CooCVector(int, double[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Constructs a sparse complex COO vector from an array of double values.
- CooCVector(int, List<Complex128>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Constructs a complex COO vector with the specified size, non-zero data, and non-zero indices.
- CooCVector(int, Complex128[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Creates a tensor with the specified data and shape.
- CooCVector(Shape, List<Complex128>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Constructs a complex COO vector with the specified size, non-zero data, and non-zero indices.
- CooCVector(Shape, Complex128[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Creates a tensor with the specified data and shape.
- CooCVector(CooCVector) - Constructor for class org.flag4j.arrays.sparse.CooCVector
-
Constructs a copy of the specified vector.
- CooDataSorter<T> - Class in org.flag4j.linalg.ops.sparse.coo
-
A class which can be used to sort the indices, along with data values, in lexicographical order.
- CooDataSorter(List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Creates a sorter which can sort the indices and values of a COO matrix lexicographically.
- CooFieldMatrix<T> - Class in org.flag4j.arrays.sparse
-
Instances of this class represent a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Field
type. - CooFieldMatrix(int, int, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooFieldMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooFieldMatrix(int, int, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooFieldMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooFieldMatrix(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooFieldMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooFieldMatrix(Shape, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooFieldMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooFieldTensor<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse tensor whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Field
type. - CooFieldTensor(Shape, List<T>, List<int[]>) - Constructor for class org.flag4j.arrays.sparse.CooFieldTensor
-
Creates a tensor with the specified data and shape.
- CooFieldTensor(Shape, T[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooFieldTensor
-
creates a tensor with the specified data and shape.
- CooFieldVector<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Field
type. - CooFieldVector(int) - Constructor for class org.flag4j.arrays.sparse.CooFieldVector
-
Creates a zero vector of the specified
size
. - CooFieldVector(int, List<T>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooFieldVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooFieldVector(int, T[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooFieldVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooFieldVector(Shape, T[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooFieldVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - cooFlattenIndices(Shape, int[][]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Flattens the non-zero indices of a sparse COO tensor.
- cooFlattenIndices(Shape, int[][], int) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Flattens the non-zero indices of a sparse COO tensor along a specified axis.
- CooGetSet - Class in org.flag4j.linalg.ops.sparse.coo
-
A utility class that aids in getting or setting specified elements of a sparse COO tensor, matrix, or vector.
- cooInsertNewValue(T, int[], T[], int[][], int, T[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Inserts a new value into a sparse COO tensor.
- cooInsertNewValue(T, int, int, T[], int[], int[], int, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Inserts a new value into a sparse COO matrix.
- cooInsertNewValue(T, int, T[], int[], int, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Inserts a new value into a sparse COO vector.
- CooManipulations - Class in org.flag4j.linalg.ops.sparse.coo
-
Utility class containing methods for manipulating a sparse COO tensor, matrix, or vector.
- CooMatrix - Class in org.flag4j.arrays.sparse
-
A real sparse matrix stored in coordinate list (COO) format.
- CooMatrix(int) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Constructs a square zero matrix with the specified size.
- CooMatrix(int, double[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Creates a square sparse COO matrix with the specified size, non-zero data, and non-zero indices.
- CooMatrix(int, int) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Constructs a zero matrix with the specified shape.
- CooMatrix(int, int, double[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooMatrix(Shape) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Constructs a zero matrix with the specified shape.
- CooMatrix(Shape, double[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooMatrix(Shape, int[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooMatrix(Shape, List<Double>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooMatrix(CooMatrix) - Constructor for class org.flag4j.arrays.sparse.CooMatrix
-
Constructs a copy of a real sparse COO matrix.
- cooMatrixEquals(AbstractCooSemiringMatrix<?, ?, ?, T>, AbstractCooSemiringMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringEquals
-
Checks if two real sparse matrices are real.
- cooMatrixEquals(CooMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseEquals
-
Checks if two real sparse matrices are real.
- CooProperties - Class in org.flag4j.linalg.ops.sparse.coo
-
Utility class for computing certain properties of COO matrices.
- COORDINATE - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMFormat
- COO Representation: - Search tag in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.sparse.CooCMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.sparse.CooFieldMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.sparse.CooMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.sparse.CooRingMatrix
- Section
- COO Representation: - Search tag in class org.flag4j.arrays.sparse.CooSemiringMatrix
- Section
- cooReshape(Shape, Shape, int[][]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Computes new indices for the reshaping of a sparse COO tensor.
- CooRingHermTranspose - Class in org.flag4j.linalg.ops.sparse.coo.ring_ops
-
Utility class for computing the Hermitian transpose of a COO ring matrix or tensor.
- CooRingMatrix<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Ring
type. - CooRingMatrix(int, int, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooRingMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooRingMatrix(int, int, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooRingMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooRingMatrix(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooRingMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooRingMatrix(Shape, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooRingMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooRingMatrixOps - Class in org.flag4j.linalg.ops.sparse.coo.ring_ops
-
Utility class for computing ops on sparse COO
Ring
matrices. - CooRingNorms - Class in org.flag4j.linalg.ops.sparse.coo.ring_ops
-
This utility class contains low level implementations of norms for sparse COO ring tensors, matrices and vectors.
- CooRingTensor<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse tensor whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Ring
type. - CooRingTensor(Shape, List<T>, List<int[]>) - Constructor for class org.flag4j.arrays.sparse.CooRingTensor
-
Creates a tensor with the specified data and shape.
- CooRingTensor(Shape, T[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooRingTensor
-
Creates a tensor with the specified data and shape.
- CooRingTensorOps - Class in org.flag4j.linalg.ops.sparse.coo.ring_ops
-
Utility class for computing ops on sparse COO
Ring
tensors. - CooRingVector<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Ring
type. - CooRingVector(int) - Constructor for class org.flag4j.arrays.sparse.CooRingVector
-
Creates a zero vector of the specified
size
. - CooRingVector(int, List<T>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooRingVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooRingVector(int, T[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooRingVector
-
Creates a tensor with the specified data and shape.
- CooRingVector(Shape, List<T>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooRingVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooRingVector(Shape, T[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooRingVector
-
Creates a tensor with the specified data and shape.
- CooRingVectorOps - Class in org.flag4j.linalg.ops.sparse.coo.ring_ops
-
Utility class for computing ops on sparse COO
Ring
vectors. - CooSemiringEquals - Class in org.flag4j.linalg.ops.sparse.coo.semiring_ops
-
A utility class for checking equality between COO
Semiring
tensors. - CooSemiringMatMult - Class in org.flag4j.linalg.ops.sparse.coo.semiring_ops
-
This utility class contains methods useful for computing the matrix multiplication between two sparse COO
Semiring
tensors. - CooSemiringMatrix<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Semiring
type. - CooSemiringMatrix(int, int, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooSemiringMatrix(int, int, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooSemiringMatrix(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooSemiringMatrix(Shape, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.
- CooSemiringMatrixOps - Class in org.flag4j.linalg.ops.sparse.coo.semiring_ops
-
Utility class for computing various ops on and between sparse COO
Semiring
matrices. - CooSemiringMatrixProperties - Class in org.flag4j.linalg.ops.sparse.coo.semiring_ops
-
This class contains low level implementations for methods to evaluate certain properties of a sparse COO
Semiring
matrix. - CooSemiringTensor<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse tensor whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Semiring
type. - CooSemiringTensor(Shape, List<T>, List<int[]>) - Constructor for class org.flag4j.arrays.sparse.CooSemiringTensor
-
Creates a tensor with the specified data and shape.
- CooSemiringTensor(Shape, T[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooSemiringTensor
-
Creates a tensor with the specified data and shape.
- CooSemiringTensorOps - Class in org.flag4j.linalg.ops.sparse.coo.semiring_ops
-
This utility class contains methods for computing ops on two
Semiring
tensors. - CooSemiringVector<T> - Class in org.flag4j.arrays.sparse
-
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specified
Semiring
type. - CooSemiringVector(int) - Constructor for class org.flag4j.arrays.sparse.CooSemiringVector
-
Creates a zero vector of the specified
size
. - CooSemiringVector(int, List<T>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooSemiringVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooSemiringVector(int, T[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooSemiringVector
-
Creates a tensor with the specified data and shape.
- CooSemiringVector(Shape, List<T>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooSemiringVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooSemiringVector(Shape, T[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooSemiringVector
-
Creates a tensor with the specified data and shape.
- CooSemiringVectorOps - Class in org.flag4j.linalg.ops.sparse.coo.semiring_ops
-
Utility class for computing ops between sparse COO
Semiring
vectors. - CooTensor - Class in org.flag4j.arrays.sparse
-
A real sparse tensor stored in coordinate list (COO) format.
- CooTensor(Shape) - Constructor for class org.flag4j.arrays.sparse.CooTensor
-
Creates a zero matrix with the specified shape.
- CooTensor(Shape, double[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooTensor
-
Creates a tensor with the specified data and shape.
- CooTensor(Shape, int[], int[][]) - Constructor for class org.flag4j.arrays.sparse.CooTensor
-
Creates a sparse COO matrix with the specified shape, non-zero data, and indices.
- CooTensor(Shape, List<Double>, List<int[]>) - Constructor for class org.flag4j.arrays.sparse.CooTensor
-
Creates a tensor with the specified data and shape.
- CooTensor(CooTensor) - Constructor for class org.flag4j.arrays.sparse.CooTensor
-
Constructs a copy of the specified matrix.
- CooTensorDot<T> - Class in org.flag4j.linalg.ops.sparse.coo
-
Instances of this class can be used to compute the tensor dot product between two sparse COO tensors.
- CooTensorDot(Shape, T[], int[][], Shape, T[], int[][], int[], int[]) - Constructor for class org.flag4j.linalg.ops.sparse.coo.CooTensorDot
-
Constructs a tensor dot product problem for computing the tensor contraction of two tensors over the specified set of axes.
- cooTensorEquals(AbstractCooSemiringTensor<?, ?, T>, AbstractCooSemiringTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringEquals
-
Checks if two real sparse tensors are real.
- cooTensorEquals(CooTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseEquals
-
Checks if two real sparse tensors are real.
- CooTranspose - Class in org.flag4j.linalg.ops.sparse.coo
-
Utility class for computing the transpose of a sparse COO tensor or matrix.
- CooVector - Class in org.flag4j.arrays.sparse
-
A real sparse vector stored in coordinate list (COO) format.
- CooVector(int) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Creates a zero vector of the specified
size
. - CooVector(int, double[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooVector(int, int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooVector(int, List<Double>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooVector(Shape, double[], int[]) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooVector(Shape, List<Double>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Creates sparse COO vector with the specified
size
, non-zero data, and non-zero indices. - CooVector(CooVector) - Constructor for class org.flag4j.arrays.sparse.CooVector
-
Constructs a copy of the specified sparse COO vector.
- cooVectorEquals(AbstractCooSemiringVector<?, ?, ?, ?, T>, AbstractCooSemiringVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringEquals
-
Checks if two real sparse vectors are real.
- cooVectorEquals(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseEquals
-
Checks if two real sparse vectors are real.
- copy() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Creates a deep copy of this tensor.
- copy() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Creates a deep copy of this matrix.
- copy() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Creates a deep copy of this tensor.
- copy() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Creates a copy of this permutation matrix.
- copyRanges(T[], int[], int[], T[], int[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
A helper method which copies from a sparse COO matrix to a set of three arrays (non-zero data, row indices, and column indices) but skips over a specified range.
- cos(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the trigonometric cosine value of a complex value.
- cos(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the trigonometric cosine value of a complex value.
- cosh(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the hyperbolic cosine of a complex value.
- cosh(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the hyperbolic cosine of a complex value.
- createMap(int, int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Creates a HashMap where the keys are row indices and the value is a list of all indices in src with that row index.
- createUniqueMapping(int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Creates a mapping of unique values in {code arr} to integers such that each unique value is mapped to a unique integer and those integers range from
0
tonumUnique(arr) - 1
. - cross(CVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the vector cross product between two vectors.
- cross(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the vector cross product between two vectors.
- CsrCMatrix - Class in org.flag4j.arrays.sparse
-
A complex sparse matrix stored in compressed sparse row (CSR) format.
- CsrCMatrix(int, int) - Constructor for class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a zero matrix of the specified shape.
- CsrCMatrix(int, int, List<Complex128>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CsrCMatrix
-
Creates a complex sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrCMatrix(int, int, Complex128[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrCMatrix
-
Creates a complex sparse CSR matrix with the specified shape, non-zero data, row pointers, and non-zero column indices.
- CsrCMatrix(Shape) - Constructor for class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a zero matrix of the specified shape.
- CsrCMatrix(Shape, List<Complex128>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CsrCMatrix
-
Creates a complex sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrCMatrix(Shape, Complex128[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrCMatrix
-
Creates a complex sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrConversions - Class in org.flag4j.linalg.ops.sparse.csr
-
Utility class for converting CSR matrices to flat matrices, dense matrices, etc.
- CSREquals(AbstractCsrSemiringMatrix<?, ?, ?, T>, AbstractCsrSemiringMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Checks if two
CSR Field matrices
are equal considering the fact that one may explicitly store zeros at some position that the other does not store. - CSREquals(CsrMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Checks if two
CSR Matrices
are equal considering the fact that one may explicitly store zeros at some position that the other does not store. - CsrFieldMatrix<T> - Class in org.flag4j.arrays.sparse
-
Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specified
Field
type. - CsrFieldMatrix(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrFieldMatrix(Shape, T) - Constructor for class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Constructs a sparse CSR matrix representing the zero matrix for the field which
fieldElement
belongs to. - CsrFieldMatrix(Shape, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrMatrix - Class in org.flag4j.arrays.sparse
-
Instances of this class represent a real sparse matrix using the compressed sparse row (CSR) format.
- CsrMatrix(int, int) - Constructor for class org.flag4j.arrays.sparse.CsrMatrix
-
Constructs a zero matrix with the specified shape.
- CsrMatrix(int, int, double[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrMatrix(Shape) - Constructor for class org.flag4j.arrays.sparse.CsrMatrix
-
Constructs zero matrix with the specified
shape
. - CsrMatrix(Shape, double[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrOps - Class in org.flag4j.linalg.ops.sparse.csr
-
Utility class for computing ops on sparse CSR matrices.
- CsrProperties - Class in org.flag4j.linalg.ops.sparse.csr
-
Utility class containing methods useful for determining certain properties of general CSR matrices.
- CSR Representation: - Search tag in class org.flag4j.arrays.sparse.CsrFieldMatrix
- Section
- CSR Representation: - Search tag in class org.flag4j.arrays.sparse.CsrMatrix
- Section
- CSR Representation: - Search tag in class org.flag4j.arrays.sparse.CsrSemiringMatrix
- Section
- CsrRingMatrix<T> - Class in org.flag4j.arrays.sparse
- CsrRingMatrix(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CsrRingMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrRingMatrix(Shape, T) - Constructor for class org.flag4j.arrays.sparse.CsrRingMatrix
-
Constructs a sparse CSR matrix representing the zero matrix for the field which
ringElement
belongs to. - CsrRingMatrix(Shape, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrRingMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrRingProperties - Class in org.flag4j.linalg.ops.sparse.csr.ring_ops
-
This class contains methods to check properties of sparse CSR
Ring
matrices. - CsrSemiringMatrix<T> - Class in org.flag4j.arrays.sparse
-
Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specified
Semiring
type. - CsrSemiringMatrix(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CsrSemiringMatrix(Shape, T) - Constructor for class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Constructs a sparse CSR matrix representing the zero matrix for the field which
semiringElement
belongs to. - CsrSemiringMatrix(Shape, T[], int[], int[]) - Constructor for class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Creates a sparse CSR matrix with the specified
shape
, non-zero data, row pointers, and non-zero column indices. - CTensor - Class in org.flag4j.arrays.dense
-
A dense complex tensor backed by an array of
Complex128
's. - CTensor(Object) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor from an nD array.
- CTensor(CTensor) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Constructs a copy of the specified tensor.
- CTensor(Shape) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a zero tensor with the specified shape.
- CTensor(Shape, double) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified shape and filled with
fillValue
. - CTensor(Shape, double[]) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified data and shape.
- CTensor(Shape, String) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified shape and filled with
fillValue
. - CTensor(Shape, String[]) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified data and shape.
- CTensor(Shape, Complex128) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified shape and filled with
fillValue
. - CTensor(Shape, Complex128[]) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified data and shape.
- CTensor(Shape, Complex64) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified shape and filled with
fillValue
. - CTensor(Shape, Complex64[]) - Constructor for class org.flag4j.arrays.dense.CTensor
-
Creates a tensor with the specified data and shape.
- cumSum(int[], int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Computes the cumulative sum of the elements of an array.
- currentFactor - Variable in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Stores the scalar factor invalid input: '&alpha' for use in computation of the Householder reflector P = I - invalid input: '&alpha' vvH.
- currentFactor - Variable in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Stores the scalar factor invalid input: '&alpha' for use in computation of the Householder reflector P = I - invalid input: '&alpha' vvT.
- currentFactor - Variable in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Scalar factor of the currently computed Householder reflector.
- currentFactor - Variable in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Scalar factor of the currently computed HouseholderOld reflector.
- Currently Supported Matrix Types - Search tag in class org.flag4j.io.MatrixMarketWriter
- Section
- CVector - Class in org.flag4j.arrays.dense
- CVector(double...) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
data
. - CVector(int) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex zero vector with the specified
size
. - CVector(int...) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
data
. - CVector(int, double) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
size
and filled withfillValue
. - CVector(int, Complex128) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
size
and filled withfillValue
. - CVector(int, Complex64) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
size
and filled withfillValue
. - CVector(Complex128...) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
data
. - CVector(Complex64...) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a complex vector with the specified
data
. - CVector(CVector) - Constructor for class org.flag4j.arrays.dense.CVector
-
Creates a copy of the provided vector.
- CVector(Shape) - Constructor for class org.flag4j.arrays.dense.CVector
-
Constructs a zero vector with the specified shape.
- CVector(Shape, Complex128[]) - Constructor for class org.flag4j.arrays.dense.CVector
-
Constructs a dense complex vector with the given shape and entries.
D
- data - Variable in class org.flag4j.arrays.backend.AbstractTensor
-
Entry data of this tensor.
- data() - Method in record class org.flag4j.arrays.IntTuple
-
Returns the value of the
data
record component. - data() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Returns the value of the
data
record component. - data() - Method in record class org.flag4j.arrays.SparseTensorData
-
Returns the value of the
data
record component. - data() - Method in record class org.flag4j.arrays.SparseVectorData
-
Returns the value of the
data
record component. - data() - Method in record class org.flag4j.arrays.Tuple
-
Returns the value of the
data
record component. - dataLength() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the length of the data array which backs this matrix.
- dataLength() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the length of the data array which backs this matrix.
- dataLength() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the length of the data array which backs this matrix.
- dataLength() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets the length of the data array which backs this matrix.
- dataLength() - Method in class org.flag4j.arrays.dense.Matrix
-
Gets the length of the data array which backs this matrix.
- dataLength() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets the length of the data array which backs this matrix.
- dataLength() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets the length of the data array which backs this matrix.
- decompose(CMatrix) - Method in class org.flag4j.linalg.decompositions.chol.ComplexCholesky
-
Decompose a matrix into A=LLH where L is a lower triangular matrix and LH is the conjugate transpose of L.
- decompose(CMatrix) - Method in class org.flag4j.linalg.decompositions.hess.ComplexHess
-
Computes the
QR
decomposition of a real dense matrix. - decompose(CMatrix) - Method in class org.flag4j.linalg.decompositions.hess.HermHess
-
Applies decomposition to the source matrix.
- decompose(CMatrix) - Method in class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Computes the
QR
decomposition of a real dense matrix. - decompose(CMatrix) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Computes the Schur decomposition of the input matrix.
- decompose(Matrix) - Method in class org.flag4j.linalg.decompositions.chol.RealCholesky
-
Decompose a matrix into A=LLT where L is a lower triangular matrix and LT is the transpose of L.
- decompose(Matrix) - Method in class org.flag4j.linalg.decompositions.hess.RealHess
-
Applies decomposition to the source matrix.
- decompose(Matrix) - Method in class org.flag4j.linalg.decompositions.hess.SymmHess
-
Applies decomposition to the source matrix.
- decompose(Matrix) - Method in class org.flag4j.linalg.decompositions.qr.RealQR
-
Computes the
QR
decomposition of a real dense matrix. - decompose(Matrix) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Computes the Schur decomposition of the input matrix.
- decompose(T) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Balances a matrix so that the rows and columns have roughly similar sized norms.
- decompose(T) - Method in interface org.flag4j.linalg.decompositions.Decomposition
-
Applies decomposition to the source matrix.
- decompose(T) - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Applies
LU
decomposition to the source matrix using the pivoting specified in the constructor. - decompose(T) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Applies decomposition to the source matrix.
- decompose(T) - Method in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Decomposes A using an
LU decomposition
. - decompose(T) - Method in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Computes the
QR
decomposition for use in this solver. - decomposeBase(T) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Computes the Schur decomposition of the input matrix.
- decomposeUnitary(T) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Applies the unitary decomposition to the matrix.
- Decomposition<T> - Interface in org.flag4j.linalg.decompositions
-
This interface specifies methods which should be implemented in all decompositions.
- deepCopy2D(int[][], int[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Creates a deep copy of a 2D array.
- deepEquals2D(int[][], int[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if two primitive 2D integer arrays are element-wise equal.
- DEFAULT_BLOCK_SIZE - Static variable in class org.flag4j.concurrency.Configurations
-
The default block size for blocked algorithms.
- DEFAULT_CENTER - Static variable in class org.flag4j.io.PrintOptions
-
Default flag for centering elements when printing.
- DEFAULT_EXCEPTIONAL_ITERS - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Default number of iterations to apply before doing an exceptional shift.
- DEFAULT_MAX_COLS - Static variable in class org.flag4j.io.PrintOptions
-
Default maximum number of columns to print.
- DEFAULT_MAX_ITERS_FACTOR - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Default factor for computing the maximum number of iterations to perform.
- DEFAULT_MAX_ROWS - Static variable in class org.flag4j.io.PrintOptions
-
Default maximum number of rows to print.
- DEFAULT_MIN_RECURSIVE_SIZE - Static variable in class org.flag4j.concurrency.Configurations
-
The default minimum recursive size for recursive algorithms.
- DEFAULT_NUM_THREADS - Static variable in class org.flag4j.concurrency.Configurations
-
The default number of threads to use for concurrent algorithms.
- DEFAULT_PADDING - Static variable in class org.flag4j.io.PrintOptions
-
Default padding between elements when printing.
- DEFAULT_POS_DEF_TOLERANCE - Static variable in class org.flag4j.linalg.decompositions.chol.Cholesky
-
Default tolerance for considering a value along the diagonal of L to be non-positive.
- DEFAULT_PRECISION - Static variable in class org.flag4j.io.PrintOptions
-
Default precision (i.e. number of decimals) to use when printing.
- DenseConcat - Class in org.flag4j.linalg.ops.dense
-
This utility class provides implementations for the concatenation of dense tensors.
- DenseCooFieldEquals - Class in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
-
This class provides methods for checking the equality of a dense field tensor with a sparse field tensor.
- DenseCooFieldMatMult - Class in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
-
This utility class provides low level methods for computing the matrix multiplication between a sparse/dense matrix and dense/sparse matrix/vector.
- DenseCooFieldMatrixOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
-
This class contains low level implementations for ops between a dense and a sparse field matrix.
- DenseCooFieldTensorOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
-
This class contains methods to apply common ops to a dense/sparse field matrix and to a sparse/dense field matrix.
- DenseCooFieldVectorOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
-
This class provides low level methods for computing ops between dense/sparse and sparse/dense field vectors.
- DenseCsrFieldOps - Class in org.flag4j.linalg.ops.dense_sparse.csr.field_ops
-
This class contains low-level ops which act on a dense and a sparse CSR field matrix.
- DenseCsrSemiringMatMult - Class in org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops
-
This class contains low-level implementations of
semiring
sparse-dense matrix multiplication where the sparse matrices are in CSR format. - DenseEquals - Class in org.flag4j.linalg.ops.dense
-
This class provides methods for checking the equality of dense tensors.
- DenseFieldDeterminant - Class in org.flag4j.linalg.ops.dense.field_ops
-
This utility class contains methods for computing the determinant of a dense matrix whose data are elements of a
Field
. - DenseFieldElemDiv - Class in org.flag4j.linalg.ops.dense.field_ops
-
This class contains low-level implementations of element-wise tensor division between two
Field
tensors. - DenseFieldOps - Class in org.flag4j.linalg.ops.dense.field_ops
-
This class provides low level methods for computing ops on dense field tensors.
- DenseFieldVectorOps - Class in org.flag4j.linalg.ops.dense.field_ops
-
This class provides low level implementations for vector ops with two dense
Field
vectors. - DenseOps - Class in org.flag4j.linalg.ops.dense
- DenseRingHermitianTranspose - Class in org.flag4j.linalg.ops.dense.ring_ops
-
Utility class for computing the Hermitian transpose of a dense
Ring
tensor or matrix. - DenseRingTensorOps - Class in org.flag4j.linalg.ops.dense.ring_ops
-
Utility class for computing ops between two dense
Ring
tensors. - DenseRingVectorNorms - Class in org.flag4j.linalg.ops.dense.ring_ops
-
This utility class contains methods for computing norms of dense
Ring
Vectors. - DenseRingVectorOps - Class in org.flag4j.linalg.ops.dense.ring_ops
-
This utility class contains methods for computing ops on dense
Ring
Vectors. - DenseSemiringConversions - Class in org.flag4j.linalg.ops.dense.semiring_ops
-
Utility class for converting dense
Semiring
tensors to another type of tensor. - DenseSemiringElemMult - Class in org.flag4j.linalg.ops.dense.semiring_ops
-
Utility class useful for computing element-wise products between two
Semiring
tensors. - DenseSemiringMatMult - Class in org.flag4j.linalg.ops.dense.semiring_ops
-
This utility class provides methods for computing dense matrix multiplication between matrices whose data are members of a
Semiring
. - DenseSemiringMatMultDispatcher - Class in org.flag4j.linalg.ops.dense.semiring_ops
- DenseSemiringMatMultDispatcher.AlgorithmNames - Enum Class in org.flag4j.linalg.ops.dense.semiring_ops
-
Simple enum class containing all possible choices of real dense matrix multiply algorithms.
- DenseSemiringMatMultTranspose - Class in org.flag4j.linalg.ops.dense.semiring_ops
-
This utility class contains methods for computing the dense matrix multiplication between a matrix and the transpose of a matrix.
- DenseSemiringOps - Class in org.flag4j.linalg.ops.dense.semiring_ops
-
This class provides low level methods for computing ops on dense semiring tensors.
- DenseSemiringTensorBinaryOperation - Interface in org.flag4j.concurrency
-
This interface specifies a binary operation on two dense
Semiring
tensors. - DenseSemiringTensorDot<T> - Class in org.flag4j.linalg.ops.dense
-
Instances of this class can be used to compute the tensor dot product between two dense tensors.
- DenseSemiringTensorDot(Shape, T[], Shape, T[], int[], int[]) - Constructor for class org.flag4j.linalg.ops.dense.DenseSemiringTensorDot
-
Constructs a tensor dot product problem for computing the tensor contraction of two tensors over the specified set of axes.
- DenseSemiringVectorOps - Class in org.flag4j.linalg.ops.dense.semiring_ops
-
This utility class contains methods for computing ops on dense
Semiring
Vectors. - DenseTranspose - Class in org.flag4j.linalg.ops.dense
-
This utility class provides methods for computing the transpose of a dense tensor.
- density() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the density of this matrix as a decimal percentage.
- density() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Gets the density of this tensor as a decimal percentage.
- density() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Gets the density of this matrix as a decimal percentage.
- density() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the density of this matrix as a decimal percentage.
- destLength - Variable in class org.flag4j.linalg.ops.TensorDot
- destShape - Variable in class org.flag4j.linalg.ops.TensorDot
- det - Variable in class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
For computing determinant of coefficient matrix during solve.
- det - Variable in class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
For computing determinant of coefficient matrix during solve.
- det() - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the determinant of a square matrix.
- det() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the determinant of a square matrix.
- det() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the determinant of a square matrix.
- det() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the determinant of this permutation matrix (will be +/- 1).
- det(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Computes the determinant of a square matrix.
- det(CMatrix) - Static method in class org.flag4j.linalg.ops.dense.complex.ComplexDenseDeterminant
-
Computes the determinant of a square matrix using the LU factorization.
- det(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseDeterminant
-
Computes the determinant of a square matrix using the LU factorization.
- det1(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Explicitly computes the determinant of a 1x1 matrix.
- det1(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseDeterminant
-
Explicitly computes the determinant of a 1x1 matrix.
- det2(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Explicitly computes the determinant of a 2x2 matrix.
- det2(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseDeterminant
-
Explicitly computes the determinant of a 2x2 matrix.
- det3(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Explicitly computes the determinant of a 3x3 matrix.
- det3(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseDeterminant
-
Explicitly computes the determinant of a 3x3 matrix.
- detLU(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Computes the determinant of a square matrix using the
LU factorization
. - detLU(CMatrix) - Static method in class org.flag4j.linalg.ops.dense.complex.ComplexDenseDeterminant
-
Computes the determinant of a square matrix using the LU factorization.
- detLU(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseDeterminant
-
Computes the determinant of a square matrix using the LU factorization.
- detTri(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Computes the determinant of a triangular matrix.
- detTri(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseDeterminant
-
Computes the determinant for a triangular matrix.
- detTriUnsafe(AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldDeterminant
-
Computes the determinant of a triangular matrix.
- diag(double...) - Static method in class org.flag4j.arrays.dense.Matrix
-
Constructs a diagonal matrix from an array specifying the diagonal elements of the matrix.
- diag(Complex128...) - Static method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a diagonal matrix from an array specifying the diagonal elements of the matrix.
- diag(CVector) - Static method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a diagonal matrix from a vector specifying the diagonal elements of the matrix.
- diag(Vector) - Static method in class org.flag4j.arrays.dense.Matrix
-
Constructs a diagonal matrix from a vector specifying the diagonal elements of the matrix.
- directSum(CMatrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CMatrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CMatrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(Matrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(Matrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(Matrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooCMatrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooCMatrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooCMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooCMatrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooMatrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooMatrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- directSum(CooMatrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes the direct sum of two matrices.
- DirectSum - Class in org.flag4j.linalg
- dispatch(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseElemDiv
-
Dynamically chooses and applies element-wise division algorithm to use based on the number of data in the tensors.
- dispatch(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseElemMult
-
Dynamically chooses and applies element-wise multiplication algorithm to use based on the number of data in the tensors.
- dispatch(double[], Shape) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a matrix transpose problem to the appropriate algorithm based on its shape and size.
- dispatch(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher
-
Dispatches a matrix multiply problem to the appropriate algorithm based on the size of the matrices.
- dispatch(Object[], Shape, Object[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a matrix transpose problem to the appropriate algorithm based on its shape and size.
- dispatch(CMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.
- dispatch(CMatrix, Vector) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.
- dispatch(FieldMatrix<T>, FieldMatrix<T>) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.
- dispatch(FieldMatrix<T>, FieldVector<T>) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.
- dispatch(Matrix) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a matrix transpose problem to the appropriate algorithm based on its shape and size.
- dispatch(Matrix, CMatrix) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.
- dispatch(Matrix, CVector) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.
- dispatch(Matrix, Matrix) - Static method in class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher
-
Dispatches a matrix multiply problem to the appropriate algorithm based on the size of the matrices.
- dispatch(Matrix, Vector) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.
- dispatch(Shape, double[], Shape, T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemDiv
-
Dynamically chooses and applies the appropriate algorithm for element-wise tensor multiplication.
- dispatch(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemDiv
-
Dynamically chooses and applies the appropriate algorithm for element-wise tensor multiplication.
- dispatch(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemMult
-
Dynamically chooses and applies element-wise multiplication algorithm to use based on the number of data in the tensors.
- dispatch(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldElemDiv
-
Dynamically chooses and applies element-wise division algorithm to use based on the number of data in the tensors.
- dispatch(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringElemMult
-
Dynamically chooses and applies an element-wise multiplication algorithm to use based on the number of data in the tensors.
- dispatch(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher
-
Dispatches a matrix multiply problem to the appropriate algorithm based on the size of the matrices.
- dispatch(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.
- dispatchHermitian(T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a matrix Hermitian transpose (i.e. conjugate transpose) problem to the appropriate algorithm based on its shape and size.
- dispatchOuter(Vector, Vector) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseVectorOps
-
Dispatches an outer product problem to an appropriate implementation based on the size of the vectors involved.
- dispatchTensor(double[], Shape, int[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTensor(Object[], Shape, int[], Object[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTensor(AbstractDenseSemiringTensor<?, V>, int[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTensor(T[], Shape, int, int, T[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTensor(T, int, int) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTensorHermitian(Shape, V[], int[], V[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor Hermitian transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTensorHermitian(Shape, V[], int, int, V[]) - Static method in class org.flag4j.linalg.ops.TransposeDispatcher
-
Dispatches a tensor Hermitian transpose problem to the appropriate algorithm based on its shape and size.
- dispatchTranspose(CMatrix, CMatrix) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication-transpose problem to the appropriate algorithm based on the size.
- dispatchTranspose(CMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication-transpose problem to the appropriate algorithm based on the size.
- dispatchTranspose(Matrix, CMatrix) - Static method in class org.flag4j.linalg.ops.MatrixMultiplyDispatcher
-
Dispatches a matrix multiplication-transpose problem to the appropriate algorithm based on the size.
- dispatchTranspose(Matrix, Matrix) - Static method in class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher
-
Dispatches a matrix multiply-transpose problem equivalent to A.mult(B.T()) to the appropriate algorithm based on the size of the matrices.
- dispatchTranspose(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher
-
Dispatches a matrix multiply-transpose problem equivalent to
src1.mult(src2.T())
to the appropriate algorithm based on the size of the matrices. - dispatchVector(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher
-
Dispatches a matrix-vector multiplication problem to the appropriate algorithm based on the size of the matrix and vector.
- Distribution<T,
U> - Class in org.flag4j.rng.distributions -
Base class for all statistical distributions.
- Distribution(U) - Constructor for class org.flag4j.rng.distributions.Distribution
-
Constructs a distribution with a random number generator to be used for sampling this distribution.
- div(double) - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the quotient of an elements of this field and a real number.
- div(double) - Method in interface org.flag4j.algebraic_structures.Field
-
Computes the quotient of an element of this field and a real number.
- div(double) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the quotient of an element of this field and a real number.
- div(double) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the quotient of an element of this field and a real number.
- div(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Divides each element of this tensor by a primitive scalar value.
- div(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Divides each element of this tensor by a primitive scalar value.
- div(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Divides each element of this tensor by a primitive scalar value.
- div(double[], V, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Divides each entry of the
src
tensor by a scalar. - div(float) - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the quotient of an elements of this field and a real number.
- div(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Divides each element of this tensor by a scalar value.
- div(Complex128) - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the quotient of two elements of this field.
- div(Complex128) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the scalar division of this matrix with a complex number.
- div(Complex128) - Method in class org.flag4j.arrays.dense.Tensor
-
Divides each entry of this tensor by a complex scalar value.
- div(Complex128) - Method in class org.flag4j.arrays.dense.Vector
-
Divides this vector by a complex-valued scalar.
- div(Complex128) - Method in class org.flag4j.arrays.sparse.CooVector
-
Divides each element of this sparse COO vector by a complex-valued scalar.
- div(Complex64) - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the quotient of two elements of this field.
- div(RealFloat32) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the quotient of two elements of this field.
- div(RealFloat64) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the quotient of two elements of this field.
- div(CMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the element-wise division between two tensors.
- div(CTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise division of two tensors.
- div(CVector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise quotient of this vector and a complex dense vector.
- div(CVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise division of two vectors.
- div(Matrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise quotient between two tensors.
- div(RingMatrix<T>) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Computes the element-wise quotient of two matrices.
- div(SemiringMatrix<T>) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Computes the element-wise quotient of two matrices.
- div(Tensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise quotient between two tensors.
- div(Vector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise quotient between two tensors.
- div(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise division between two tensors.
- div(Vector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise division of two vectors.
- div(Shape, T[], Shape, T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldOps
-
Computes the element-wise division between two tensors.
- div(SmartMatrix) - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the element-wise quotient of two matrices.
- div(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise quotient between two tensors.
- div(CooRingMatrix<T>) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Computes the element-wise quotient of two matrices.
- div(CooSemiringMatrix<T>) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Computes the element-wise quotient of two matrices.
- div(CooTensor) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the element-wise quotient between two tensors.
- div(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise quotient between two tensors.
- div(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in interface org.flag4j.algebraic_structures.Field
-
Computes the quotient of two elements of this field.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Computes the element-wise quotient of two matrices.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the element-wise quotient of two matrices.
- div(T) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the element-wise quotient of two matrices.
- div(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise quotient between two tensors.
- div(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Warning: throws
UnsupportedOperationException
as division is not defined for general ring matrices. - div(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Warning: throws
UnsupportedOperationException
as division is not defined for general semiring matrices. - div(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Divides each element of this tensor by a scalar value.
- div(V[], double, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Divides each entry of the
src
tensor by a primitive scalar. - div(V[], V, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Divides each entry of the
src
tensor by a scalar. - div(W) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Divides each element of this tensor by a scalar value.
- divEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Divides each element of this tensor by a primitive scalar value and stores the result in this tensor.
- divEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Divides each element of this tensor by a primitive scalar value and stores the result in this tensor.
- divEq(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Divides each element of this tensor by a primitive scalar value and stores the result in this tensor.
- divEq(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Divides each element of this tensor by a scalar value and stores the result in this tensor.
- divEq(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise division between two tensors and stores the result in this tensor.
- divEq(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise quotient between two tensors and stores the result in this tensor.
- divEq(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Divides each element of this tensor by a scalar value and stores the result in this tensor.
- divEq(W) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Divides each element of this tensor by a scalar value and stores the result in this tensor.
- DivVisitor - Class in org.flag4j.arrays.backend.smart_visitors
- DivVisitor(MatrixMixin<?, ?, ?, ?>) - Constructor for class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- doIterativePermutations() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Performs the permutation step of matrix balancing.
- doIterativeScaling() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Performs the scaling step of matrix balancing.
- doPermutations - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Flag indicating if permutations should be done during balancing.
- doScaling - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Flag indicating if scaling should be done during balancing.
- dot(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the dot product between two vectors.
- dot(Shape, T[], int[], Shape, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringVectorOps
-
Computes the dot product between two sparse COO vectors.
- dot(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the dot product between two vectors.
- dot(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the dot product between two vectors.
- dot(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Computes the dot product between two vectors.
- dot(T) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Computes the dot product between two vectors.
- dotProduct(T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldVectorOps
-
Computes the vector dot product for two vectors.
- dotProduct(T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringVectorOps
-
Computes the vector dot product for two vectors.
- doubleValue() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Converts this semiring value to an equivalent double value.
- doubleValue() - Method in class org.flag4j.algebraic_structures.Complex128
-
Converts this complex number to an equivalent double.
- doubleValue() - Method in class org.flag4j.algebraic_structures.Complex64
-
Converts this complex number to an equivalent double.
- doubleValue() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Converts this semiring value to an equivalent double value.
- doubleValue() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Converts this semiring value to an equivalent double value.
- doubleValue() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Converts this semiring value to an equivalent double value.
- doubleValue() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Converts this semiring value to an equivalent double value.
- doubleValue() - Method in interface org.flag4j.algebraic_structures.Semiring
-
Converts this semiring value to an equivalent double value.
- dropZeros() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Drops any explicit zeros in this sparse COO tensor.
- dropZeros() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Drops any explicit zeros in this sparse COO vector.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Drops any explicit zeros in this sparse COO tensor.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CooVector
-
Drops any explicit zeros in this sparse COO vector.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros() - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros(Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops any explicit zeros in this sparse COO vector.
- dropZeros(Shape, double[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops any explicit zeros in this sparse COO tensor.
- dropZeros(Shape, double[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops any explicit zeros in this sparse COO matrix.
- dropZeros(Shape, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops any explicit zeros in this sparse COO vector.
- dropZeros(Shape, T[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops any explicit zeros in this sparse COO tensor.
- dropZeros(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops any explicit zeros in this sparse COO matrix.
- dropZerosCsr(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops all explicit zeros within a sparse CSR matrix.
- dropZerosCsr(CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Drops all explicit zeros within a sparse CSR matrix.
E
- Eigen - Class in org.flag4j.linalg
-
This class provides several methods useful for computing eigenvalues and eigenvectors.
- elemDiv(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseElemDiv
-
Computes the element-wise division of two tensors.
- elemDiv(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemDiv
-
Computes the element-wise division of two tensors.
- elemDiv(AbstractCooFieldMatrix<?, ?, ?, T>, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Computes the element-wise division between a complex sparse matrix and a complex dense matrix.
- elemDiv(AbstractCooFieldMatrix<?, ?, ?, T>, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Computes the element-wise division between a complex sparse matrix and a real dense matrix.
- elemDiv(AbstractCooFieldTensor<?, ?, T>, AbstractDenseFieldTensor<?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Computes the element-wise division between a complex dense tensor and a complex sparse tensor.
- elemDiv(AbstractCooFieldTensor<?, ?, T>, Tensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Computes the element-wise division between a real dense tensor and a real sparse tensor.
- elemDiv(AbstractCooFieldVector<?, ?, ?, ?, T>, AbstractDenseFieldVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Compute the element-wise division between a complex sparse vector and a complex dense vector.
- elemDiv(AbstractCooFieldVector<?, ?, ?, ?, T>, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Compute the element-wise division between a sparse vector and a dense vector.
- elemDiv(Shape, double[], Shape, T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the element-wise division between two dense tensors.
- elemDiv(Shape, T[], Shape, double[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the element-wise division between two dense tensors.
- elemDiv(CooMatrix, CMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooMatOps
-
Computes the element-wise division between a real sparse matrix and a complex dense matrix.
- elemDiv(CooMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Computes the element-wise division between a real sparse matrix and a real dense matrix.
- elemDiv(CooTensor, CTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Computes the element-wise division between a real dense tensor and a complex sparse tensor.
- elemDiv(CooTensor, Tensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Computes the element-wise division between a real dense tensor and a real sparse tensor.
- elemDiv(CooVector, CVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseVectorOps
-
Compute the element-wise division between a sparse vector and a dense vector.
- elemDiv(CooVector, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Compute the element-wise division between a sparse vector and a dense vector.
- elemDiv(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemDiv
-
Computes the element-wise division of two tensors.
- elemDiv(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldElemDiv
-
Computes the element-wise division of two tensors.
- elemDivConcurrent(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseElemDiv
-
Computes the element-wise division of two tensors using a concurrent algorithm.
- elemDivConcurrent(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemDiv
-
Computes the element-wise division of two tensors using a concurrent algorithm.
- elemDivConcurrent(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemDiv
-
Computes the element-wise division of two tensors using a concurrent algorithm.
- elemDivConcurrent(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldElemDiv
-
Computes the element-wise division of two tensors using a concurrent algorithm.
- elemMult(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseElemMult
-
Computes the element-wise multiplication of two tensors.
- elemMult(AbstractDenseFieldMatrix<?, ?, T>, CooMatrix, Field<T>[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Computes the element-wise multiplication between two matrices.
- elemMult(AbstractDenseFieldTensor<?, T>, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Computes the element-wise tensor multiplication between a complex dense tensor and a complex sparse tensor.
- elemMult(AbstractDenseFieldTensor<?, T>, CooTensor, T[], int[][]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Computes the element-wise multiplication between a real dense tensor and a complex sparse tensor.
- elemMult(AbstractDenseFieldVector<?, ?, T>, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the element-wise multiplication of a complex dense vector with a complex sparse vector.
- elemMult(AbstractDenseFieldVector<?, ?, T>, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the element-wise product between a dense
Field
vector and a real COO vector. - elemMult(CMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the element-wise product of two matrices.
- elemMult(CMatrix) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Computes the element-wise multiplication between two matrices of the same shape.
- elemMult(CMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise product between two matrices.
- elemMult(CMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooMatOps
-
Computes the element-wise multiplication between a complex dense matrix and a real sparse matrix.
- elemMult(CTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise multiplication of two tensors.
- elemMult(CTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Computes the element-wise multiplication between a complex dense tensor and a real sparse matrix.
- elemMult(CVector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise product of this vector and a complex dense vector.
- elemMult(CVector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseVectorOps
-
Computes the element-wise multiplication of a complex dense vector with a real sparse vector.
- elemMult(Matrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(Matrix) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Computes the element-wise multiplication between two matrices of the same shape.
- elemMult(Matrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise product between two matrices.
- elemMult(Matrix, AbstractCooFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Computes the element-wise multiplication between a real dense matrix and a complex sparse matrix.
- elemMult(Matrix, CooCMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooMatOps
-
Computes the element-wise multiplication between a complex dense matrix and a real sparse matrix.
- elemMult(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Computes the element-wise multiplication between a real dense matrix and a real sparse matrix.
- elemMult(Tensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(Tensor, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Computes the element-wise multiplication between a real dense tensor and a complex sparse tensor.
- elemMult(Tensor, CooCTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Computes the element-wise multiplication between a complex dense tensor and a real sparse matrix.
- elemMult(Tensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Computes the element-wise multiplication between a real dense tensor and a real sparse tensor.
- elemMult(Vector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(Vector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise multiplication between this vector and a real dense vector.
- elemMult(Vector, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the element-wise multiplication of a real dense vector with a complex sparse vector.
- elemMult(Vector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Computes the element-wise multiplication of a real dense vector with a real sparse vector.
- elemMult(Shape, T[], int[], Shape, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringVectorOps
-
Computes the element-wise vector multiplication between two real sparse vectors.
- elemMult(Shape, T[], Shape, double[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the element-wise multiplication between two dense tensors.
- elemMult(Shape, T[], Shape, T[], int[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Computes the element-wise multiplication between a real dense matrix and a real sparse matrix.
- elemMult(Shape, V[], int[][], Shape, V[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringTensorOps
-
Computes the element-wise multiplication between two complex sparse COO tensors.
- elemMult(Shape, V[], int[], int[], Shape, V[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatrixOps
-
Multiplies two sparse matrices element-wise.
- elemMult(SmartMatrix) - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the element-wise product of two matrices.
- elemMult(CooCMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the element-wise product of two matrices.
- elemMult(CooCMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise product between two matrices.
- elemMult(CooCMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Multiplies two sparse matrices element-wise.
- elemMult(CooCTensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooCTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise multiplication between two tensors.
- elemMult(CooCTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooTensorOps
-
Computes the element-wise multiplication between two sparse COO tensors.
- elemMult(CooCVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooCVector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise product of this vector and a complex sparse vector.
- elemMult(CooCVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the element-wise vector multiplication between two real sparse vectors.
- elemMult(CooMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the element-wise product of two matrices.
- elemMult(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Computes the element-wise multiplication between this tensor and a real COO matrix.
- elemMult(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Multiplies two sparse matrices element-wise.
- elemMult(CooTensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise multiplication between two tensors.
- elemMult(CooTensor) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooTensor, CooCTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooTensorOps
-
Computes the element-wise multiplication between two sparse COO tensors.
- elemMult(CooTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooTensorOps
-
Computes the element-wise multiplication between two sparse COO tensors.
- elemMult(CooVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooVector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise product of this vector and a real sparse vector.
- elemMult(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Computes the element-wise vector multiplication between two real sparse vectors.
- elemMult(CsrCMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Computes the element-wise multiplication between a complex sparse matrix and a real sparse matrix.
- elemMult(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(CsrMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrOps
-
Computes the element-wise multiplication between two real CSR matrices.
- elemMult(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the element-wise product of two matrices.
- elemMult(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the element-wise multiplication of two tensors of the same shape.
- elemMult(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemMult
-
Computes the element-wise multiplication of two tensors.
- elemMult(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringElemMult
-
Computes the element-wise multiplication of two tensors.
- elemMult(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringOps
-
Computes the element-wise product of two tensors.
- elemMultConcurrent(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseElemMult
-
Computes the element-wise multiplication of two tensors using a concurrent algorithm.
- elemMultConcurrent(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseElemMult
-
Computes the element-wise multiplication of two tensors using a concurrent algorithm.
- elemMultConcurrent(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringElemMult
-
Computes the element-wise multiplication of two tensors using a concurrent algorithm.
- elemMultEq(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise multiplication of two tensors and stores the result in this tensor.
- elemMultEq(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise multiplication of two tensors of the same shape and stores the result in this tensor.
- ElemMultVisitor - Class in org.flag4j.arrays.backend.smart_visitors
- ElemMultVisitor(MatrixMixin<?, ?, ?, ?>) - Constructor for class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- enforceHermitian - Variable in class org.flag4j.linalg.decompositions.hess.HermHess
-
Flag indicating if an explicit check should be made that the matrix to be decomposed is Hermitian.
- enforceLower - Variable in class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Flag indicating if an explicit check should be made that the coefficient matrix is lower triangular.
- enforceSymmetric - Variable in class org.flag4j.linalg.decompositions.hess.SymmHess
-
Flag indicating if an explicit check should be made that the matrix to be decomposed is symmetric.
- enforceTriU - Variable in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
Flag indicating if determinant should be computed.
- ensureAllEqual(int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if a set of values are all equal.
- ensureAllGreaterEq(double, double...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if a set of values is greater than or equal to a specified threshold.
- ensureAllGreaterEq(int, int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if a set of values is greater than or equal to a specified threshold.
- ensureArrayLengthsEq(int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that all array lengths are equal.
- ensureAxis2D(int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that an axis is a valid 2D axis.
- ensureEqualShape(Shape, Shape) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if two
Shape
objects are equivalent. - ensureGreaterEq(double, double, String) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
value >= threshold
. - ensureGreaterEq(int, int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
values[i] >= threshold
for alli = 0, 1, ..., values.length
. - ensureInRange(double, double, double, String) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that a value is within the specified inclusive range.
- ensureLessEq(double, double...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
values[i] <= threshold
for alli = 0, 1, ..., values.length
. - ensureLessEq(double, double, String) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
values <= threshold
. - ensureLessEq(int, int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
values[i] <= threshold
for alli = 0, 1, ..., values.length
. - ensureLessEq(BigInteger, int, String) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
values <= threshold
. - ensureMatMultShapes(Shape, Shape) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if two
Shape
objects satisfy the requirements of matrix-matrix or matrix-vector multiplication. - ensureNonNegative(int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
value >= 0
. - ensureNonNegative(int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
values
contains only non-negative values. - ensureNotEquals(double, double) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that two values are not equal.
- ensurePermutation(int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that a list of
N
axis are a permutation of{0, 1, 2, ..., N-1}
. - ensurePermutation(int[], int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that a list of axis are a permutation of
{0, 1, 2, ..., n-1}
. - ensurePositive(int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if
value > 0
. - ensureRank(Shape, int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that a shape has the specified rank.
- ensureSquare(Shape) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if a shape represents a square tensor.
- ensureSquareMatrix(int, int) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if a shape represents a square matrix.
- ensureSquareMatrix(Shape) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if a shape represents a square matrix.
- ensureTotalEntriesEq(double[][], double[]) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if arrays have the same number of total data.
- ensureTotalEntriesEq(int[][], double[]) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if arrays have the same number of total data.
- ensureTotalEntriesEq(Object[][], double[]) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if arrays have the same number of total data.
- ensureTotalEntriesEqual(Shape, Shape) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that two shapes have the same total number of data.
- ensureTrue(boolean, String) - Static method in class org.flag4j.util.ValidateParameters
-
Ensures that a boolean is true.
- ensureValidAxes(int, int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if all provided
axes
are valid with respect to the rank of the givenrank
. - ensureValidAxes(Shape, int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if all provided
axes
are valid with respect to the rank of the givenshape
. - entryWiseNorm(CMatrix, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the entry-wise p-norm of a complex dense matrix.
- entryWiseNorm(Matrix, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the entry-wise p-norm of a real dense matrix.
- EPS_F32 - Static variable in class org.flag4j.util.Flag4jConstants
-
The rounding error for 32-bit floating point numbers.
- EPS_F64 - Static variable in class org.flag4j.util.Flag4jConstants
-
The rounding error for 64-bit double precision floating point numbers.
- equals(double) - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this complex has zero imaginary part and real part equal to a double.
- equals(double[], T[]) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if a double array is numerically equal to a
complex number
array. - equals(float) - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this complex has zero imaginary part and real part equal to a double.
- equals(Object) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Checks if an object is equal to this semiring element.
- equals(Object) - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if an object is equal to this Field element.
- equals(Object) - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if an object is equal to this Field element.
- equals(Object) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Checks if an object is equal to this Field element.
- equals(Object) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Checks if an object is equal to this Field element.
- equals(Object) - Method in class org.flag4j.algebraic_structures.RealInt16
-
Checks if an object is equal to this ring element.
- equals(Object) - Method in class org.flag4j.algebraic_structures.RealInt32
-
Checks if an object is equal to this ring element.
- equals(Object) - Method in class org.flag4j.arrays.dense.CMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.dense.CTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.dense.CVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.dense.FieldTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.dense.FieldVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.dense.RingTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.dense.RingVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.dense.SemiringTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.dense.SemiringVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.dense.Tensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.dense.Vector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in record class org.flag4j.arrays.IntTuple
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.flag4j.arrays.Pair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.flag4j.arrays.Shape
-
Checks if an object is equal to this shape.
- equals(Object) - Method in class org.flag4j.arrays.SmartMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if an object is equal to this matrix.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Checks if an object is equal to this tensor object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CooVector
-
Checks if an object is equal to this vector object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if an object is equal to this matrix object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Checks if this permutation matrix is equal to the given object.
- equals(Object) - Method in class org.flag4j.arrays.sparse.SymmTriDiag
-
Checks if an object is equal to this symmetric tri-diagonal matrix.
- equals(Object) - Method in record class org.flag4j.arrays.SparseMatrixData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.flag4j.arrays.SparseTensorData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.flag4j.arrays.SparseVectorData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.flag4j.arrays.Triple
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.flag4j.arrays.Tuple
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.flag4j.io.MatrixMarketHeader
-
Indicates whether some other object is "equal to" this one.
- equalShapeErrMsg(Shape, Shape) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for two tensors with mismatching shapes.
- erref(CMatrix) - Static method in class org.flag4j.linalg.RowEchelon
-
Computes the extended reduced row echelon form of a matrix.
- erref(Matrix) - Static method in class org.flag4j.linalg.RowEchelon
-
Computes the extended reduced row echelon form of a matrix.
- error(String) - Static method in class org.flag4j.io.parsing.Lexer
-
Stops execution with an error message
- ErrorMessages - Class in org.flag4j.util
-
Contains error messages for common errors which may occur.
- ExactSolver<T,
U> - Class in org.flag4j.linalg.solvers.exact -
Solves a well determined system of equations Ax=b in an exact sense by using a LU decomposition.
- ExactSolver(LU<T>, LinearMatrixSolver<T, U>, LinearMatrixSolver<T, U>) - Constructor for class org.flag4j.linalg.solvers.exact.ExactSolver
-
Constructs an exact LU solver with a specified
LU
decomposer. - ExactTensorSolver<T,
U, - Class in org.flag4j.linalg.solvers.exactV> -
Solves a well determined system of equations AX=B in an exact sense where A, X, and B are tensors.
- ExactTensorSolver(LinearMatrixSolver<U, V>) - Constructor for class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Creates an exact tensor solver which will use reform the problem as a matrix linear system and use the provided solver to solve the tensor system.
- Examples: - Search tag in class org.flag4j.linalg.transformations.Projection
- Section
- Examples of Fields: - Search tag in interface org.flag4j.algebraic_structures.Field
- Section
- Examples of Rings: - Search tag in interface org.flag4j.algebraic_structures.Ring
- Section
- Examples of Semirings: - Search tag in interface org.flag4j.algebraic_structures.Semiring
- Section
- Example Usage - Search tag in class org.flag4j.linalg.transformations.Rotation
- Section
- Example usage: - Search tag in class org.flag4j.arrays.Shape
- Section
- Example usage: - Search tag in class org.flag4j.arrays.sparse.PermutationMatrix
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.dense.FieldTensor
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.dense.RingMatrix
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.dense.RingTensor
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.dense.SemiringMatrix
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.dense.SemiringTensor
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooFieldMatrix
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooFieldTensor
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooFieldVector
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooRingTensor
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooRingVector
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooSemiringTensor
- Section
- Example Usage: - Search tag in class org.flag4j.arrays.sparse.CooSemiringVector
- Section
- Example Usage: - Search tag in class org.flag4j.linalg.MatrixNorms
- Section
- Example Usage: - Search tag in class org.flag4j.rng.RandomComplex
- Section
- Example Usage: - Search tag in class org.flag4j.rng.RandomDenseTensor
- Section
- Example Usage: - Search tag in class org.flag4j.rng.RandomSparseTensor
- Section
- Example Usage: - Search tag in class org.flag4j.util.ArrayBuilder
- Section
- Example Usage: - Search tag in class org.flag4j.util.ArrayJoiner
- Section
- exceptionalThreshold - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Number of iterations to run without deflation before an exceptional shift is done.
- exp(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the exponential function with the given input.
- exp(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the exponential function with the given input.
- Extended Operations: - Search tag in interface org.flag4j.algebraic_structures.Field
- Section
- extractNormalizedCols(CMatrix, int) - Method in class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Extracts the singular vectors, normalizes them and sets the columns of U and V to be the left/right singular vectors.
- extractNormalizedCols(Matrix, int) - Method in class org.flag4j.linalg.decompositions.svd.RealSVD
-
Extracts the singular vectors, normalizes them and sets the columns of
U
andV
to be the left/right singular vectors. - extractNormalizedCols(T, int) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Extracts the singular vectors, normalizes them and sets the columns of U and V to be the left/right singular vectors.
F
- FALSE - Static variable in class org.flag4j.algebraic_structures.BoolSemiring
-
The boolean value false.
- Features: - Search tag in class org.flag4j.arrays.SmartMatrix
- Section
- Features: - Search tag in class org.flag4j.rng.RandomDenseTensor
- Section
- Features: - Search tag in class org.flag4j.rng.RandomSparseTensor
- Section
- fib(Matrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the Frobenius inner product of two matrices.
- fib(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the Frobenius inner product of two matrices.
- fib(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the Frobenius inner product of two matrices.
- fib(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the Frobenius inner product of two matrices.
- field() - Method in record class org.flag4j.io.MatrixMarketHeader
-
Returns the value of the
field
record component. - Field<T> - Interface in org.flag4j.algebraic_structures
-
Defines a mathematical field structure and specifies the operations that field elements must support.
- FieldLU<T> - Class in org.flag4j.linalg.decompositions.lu
-
This class provides methods for computing the LU decomposition of a dense matrix whose elements are members of a
Field
. - FieldLU() - Constructor for class org.flag4j.linalg.decompositions.lu.FieldLU
-
Constructs a LU decomposer to decompose the specified matrix using partial pivoting.
- FieldLU(LU.Pivoting) - Constructor for class org.flag4j.linalg.decompositions.lu.FieldLU
-
Constructs a LU decomposer to decompose the specified matrix.
- FieldLU(LU.Pivoting, double) - Constructor for class org.flag4j.linalg.decompositions.lu.FieldLU
-
Constructs a LU decomposer to decompose the specified matrix.
- FieldMatrix<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represents a dense matrix backed by a
Field
array. - FieldMatrix(int, int, T) - Constructor for class org.flag4j.arrays.dense.FieldMatrix
-
Creates a dense field matrix with the specified data and filled with
filledValue
. - FieldMatrix(int, int, T[]) - Constructor for class org.flag4j.arrays.dense.FieldMatrix
-
Creates a dense field matrix with the specified data and shape.
- FieldMatrix(int, int, T[][]) - Constructor for class org.flag4j.arrays.dense.FieldMatrix
-
Creates a dense field matrix with the specified data and shape.
- FieldMatrix(Shape, T) - Constructor for class org.flag4j.arrays.dense.FieldMatrix
-
Creates a dense field matrix with the specified data and filled with
filledValue
. - FieldMatrix(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.FieldMatrix
-
Creates a dense field matrix with the specified data and shape.
- FieldMatrix(T[][]) - Constructor for class org.flag4j.arrays.dense.FieldMatrix
-
Creates a dense field matrix with the specified data and shape.
- FieldOps - Class in org.flag4j.linalg.ops.common.field_ops
-
This utility class contains ops for tensors whose elements are members of a
Field
. - FieldTensor<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represent a dense tensor backed by a
Field
array. - FieldTensor(Object) - Constructor for class org.flag4j.arrays.dense.FieldTensor
-
Creates a tensor from an nD array.
- FieldTensor(Shape, T) - Constructor for class org.flag4j.arrays.dense.FieldTensor
-
Creates a tensor with the specified shape filled with
fillValue
. - FieldTensor(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.FieldTensor
-
Creates a tensor with the specified data and shape.
- FieldTensorMixin<T,
U, - Interface in org.flag4j.arrays.backend.field_arraysV> -
This interface provides default functionality for all tensors whose data are elements of a
Field
. - FieldVector<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represents a dense vector backed by a
Field
array. - FieldVector(int, T) - Constructor for class org.flag4j.arrays.dense.FieldVector
-
Creates a vector with the specified size filled with the
fillValue
. - FieldVector(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.FieldVector
-
Constructs a dense complex vector with the given shape and entries.
- FieldVector(T...) - Constructor for class org.flag4j.arrays.dense.FieldVector
-
Creates a vector with the specified data.
- fill(double[][], double) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with the specified value;
- fill(Complex128[], double) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with specified value.
- fill(Complex128[], double, int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills range of an array with specified value.
- fill(T[][], T) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with specified value.
- filledArray(int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Constructs an integer array filled with a specific value.
- fillZeros(Complex128[][]) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array of complex numbers with zeros.
- findFirstLast(int[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Finds the first and last index of a specified key within a sorted array.
- findMaxAndInit(int) - Method in class org.flag4j.linalg.decompositions.hess.HermHess
-
Finds the maximum value in
UnitaryDecomposition.transformMatrix
at columnj
at or below thej
th row. - findMaxAndInit(int) - Method in class org.flag4j.linalg.decompositions.hess.SymmHess
-
Finds the maximum value in
UnitaryDecomposition.transformMatrix
at columnj
at or below thej
th row. - findMaxAndInit(int) - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Finds the maximum value in
UnitaryDecomposition.transformMatrix
at columnj
at or below thej
th row. - findMaxAndInit(int) - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Finds the maximum value in
UnitaryDecomposition.transformMatrix
at columnj
at or below thej
th row. - findMaxAndInit(int) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Finds the maximum value in
UnitaryDecomposition.transformMatrix
at columnj
at or below thej
th row. - first() - Method in record class org.flag4j.arrays.Pair
-
Returns the value of the
first
record component. - first() - Method in record class org.flag4j.arrays.Triple
-
Returns the value of the
first
record component. - Flag4jConstants - Class in org.flag4j.util
-
A simple utility class containing useful constants.
- Flag4jParsingException - Exception Class in org.flag4j.util.exceptions
-
An exception which is thrown when an unexpected error occurs while trying to parse a string representing some algebraic structure (e.g. matrix, complex number, etc.).
- Flag4jParsingException(String) - Constructor for exception class org.flag4j.util.exceptions.Flag4jParsingException
-
Creates a
Flag4jParsingException
to be thrown when an unexpected error occurs while trying to parse a string representing some algebraic structure (e.g. matrix, complex number, etc.). - flatten() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Flattens this matrix to a single row.
- flatten() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Flattens this matrix to a row vector.
- flatten() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.dense.Matrix
-
Flattens this matrix to a row vector.
- flatten() - Method in class org.flag4j.arrays.dense.Tensor
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.dense.Vector
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.Shape
-
Flattens this shape to a rank-1 shape with dimension equal to the product of all of this shape's dimensions.
- flatten() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.sparse.CooVector
-
Flattens tensor to single dimension while preserving order of data.
- flatten() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Flattens tensor to single dimension while preserving order of data.
- flatten(double[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Flattens a two-dimensional array.
- flatten(int) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Flattens this matrix along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Flattens this matrix along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.dense.Tensor
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.dense.Vector
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Flattens a tensor along the specified axis.
- flatten(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Flattens a tensor along the specified axis.
- flatten(int[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Flattens a two-dimensional array.
- flatten(Complex128[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Flattens a two-dimensional array.
- flatten(Shape, T[], int[], int[], int, int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrConversions
-
Computes the new row pointers and column indices for a sparse CSR matrix flattened along some
axis
. - flatten(T[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Flattens a two-dimensional array.
- flatten(T[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Flattens a two-dimensional array.
- Formal Definition: - Search tag in interface org.flag4j.algebraic_structures.Field
- Section
- Formal Definition: - Search tag in interface org.flag4j.algebraic_structures.Ring
- Section
- Formal Definition: - Search tag in interface org.flag4j.algebraic_structures.Semiring
- Section
- format() - Method in record class org.flag4j.io.MatrixMarketHeader
-
Returns the value of the
format
record component. - forwardSolver - Variable in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Forward Solver for solving system with lower triangular coefficient matrix.
- ForwardSolver<T,
U, - Class in org.flag4j.linalg.solvers.exact.triangularV> -
This solver solves linear systems of equations where the coefficient matrix in a lower triangular real dense matrix and the constant vector is a real dense vector.
- ForwardSolver(boolean, boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Creates a solver for solving a lower-triangular system.
- fromColSwaps(int[]) - Static method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Creates a permutation matrix with the specified column permutation.
- fromCsv(String, Class<? extends MatrixMixin<?, ?, ?, ?>>) - Static method in class org.flag4j.io.TensorReader
-
Reads a CSV file into a matrix of the specified type.
- fromCsv(String, String, Class<? extends MatrixMixin<?, ?, ?, ?>>) - Static method in class org.flag4j.io.TensorReader
-
Reads a CSV file into a matrix of the specified type.
- fromDense(Vector) - Static method in class org.flag4j.arrays.sparse.CooVector
-
Creates a sparse tensor from a dense tensor.
- fromDoubleList(List<Double>) - Static method in class org.flag4j.util.ArrayConversions
-
Converts a list of
Doubles
objects to a primitive array. - fromIntegerList(List<Integer>) - Static method in class org.flag4j.util.ArrayConversions
-
Converts a list of
Integer
objects to a primitive array. - fromIntegerList(List<Integer>, int[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts a list of
Integer
objects to a primitive array. - fromList(List<T>, T[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts a list to an array.
- fromPolar(double, double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Converts a complex number expressed in polar from to the rectangular form.
- fromPolar(float, float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Converts a complex number expressed in polar from to the rectangular form.
- FULL - Enum constant in enum class org.flag4j.linalg.decompositions.lu.LU.Pivoting
- fullPivot() - Method in class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Computes the LU decomposition using full/rook pivoting (i.e. row and column swapping).
- fullPivot() - Method in class org.flag4j.linalg.decompositions.lu.FieldLU
-
Computes the LU decomposition using full/rook pivoting (i.e. row and column swapping).
- fullPivot() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Computes the LU decomposition using full/rook pivoting (i.e. row and column swapping).
- fullPivot() - Method in class org.flag4j.linalg.decompositions.lu.RealLU
-
Computes the LU decomposition using full/rook pivoting (i.e. row and column swapping).
G
- GENERAL - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMSymmetry
- get(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Gets the element of this vector at the specified index.
- get(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Gets the element of this vector at the specified index.
- get(int) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Gets the element of this vector at the specified index.
- get(int) - Method in class org.flag4j.arrays.dense.Vector
-
Gets the element of this vector at the specified index.
- get(int) - Method in class org.flag4j.arrays.Shape
-
Get the size of the shape object in the specified dimension.
- get(int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Gets the element of this vector at the specified index.
- get(int...) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the element of this tensor at the specified index.
- get(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Gets the element of this tensor at the specified target.
- get(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Gets the element of this tensor at the specified indices.
- get(int...) - Method in class org.flag4j.arrays.sparse.CooVector
-
Gets the element of this tensor at the specified target index.
- get(int...) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets the element of this tensor at the specified indices.
- get(int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets the element of this matrix at this specified
row
andcol
. - get(int, int) - Method in class org.flag4j.arrays.sparse.SymmTriDiag
-
Gets the entry within this symmetric tri-diagonal matrix at the specified indices.
- get(int, int, Class<T>) - Method in class org.flag4j.arrays.SmartMatrix
-
Gets the element from this matrix at the specified indices.
- get2x2EigenValues(double, double, double, double) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a 2x2 matrix explicitly.
- get2x2EigenValues(Complex128, Complex128, Complex128, Complex128) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a 2-by-2 complex matrix (assumed to be row major).
- get2x2EigenValues(CMatrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a 2x2 matrix explicitly.
- get2x2EigenValues(Matrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a 2x2 matrix explicitly.
- get2x2Rotator(double, double) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G of size 2 such that for a vector v = [a, b] nwe have Gv = [r, 0].
- get2x2Rotator(Complex128, Complex128) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G of size 2 such that for a vector v = [a, b] we have Gv = [r, 0].
- get2x2Rotator(CVector) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G of size 2 such that for a vector v = [a, b] we have Gv = [r, 0].
- get2x2Rotator(Vector) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G of size 2 such that for a vector v = [a, b] we have Gv = [r, 0].
- getArrayHasLengthErr(int, int, String) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for when an array does not have the expected length.
- getArrayLengthsMismatchErr(int...) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for arrays which were expected to be the same length.
- getAxisErr(int) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a disallowed axis.
- getAxisErr(int, int...) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a disallowed axis.
- getB() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the full balanced matrix, B, for the last matrix balanced by this balancer.
- getBlockSize() - Static method in class org.flag4j.concurrency.Configurations
-
Gets the current block size used in blocked algorithms.
- getBSubMatrix() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the sub-matrix B1 of the full balanced matrix which did not isolate eigenvalues.
- getCol(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the column of this matrix at the specified index.
- getCol(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Get the column of this matrix at the specified index.
- getCol(int) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Get the column of this matrix at the specified index.
- getCol(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Get the column of this matrix at the specified index.
- getCol(int, int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets a range of a column of this matrix.
- getCol(int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets a range of a column of this matrix.
- getCol(int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets a specified column of this matrix between
rowStart
(inclusive) androwEnd
(exclusive). - getCol(int, int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Gets a specified column of this matrix between
rowStart
(inclusive) androwEnd
(exclusive). - getCol(int, int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets a specified column of this matrix between
rowStart
(inclusive) androwEnd
(exclusive). - getCol(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Gets a range of a column of this matrix.
- getCol(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Gets a specified column of this matrix between
rowStart
(inclusive) androwEnd
(exclusive). - getCol(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets a specified column of this matrix between
rowStart
(inclusive) androwEnd
(exclusive). - getCol(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Gets a range of a column of this matrix.
- getCol(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Gets a range of a column of this matrix.
- getCol(Shape, T[], int[], int[], int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets a specified column of a COO matrix between
start
(inclusive) andend
(exclusive). - getCol(CooMatrix, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Gets a specified column from this sparse matrix.
- getCol(CooMatrix, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Gets a specified column range from this sparse matrix.
- getColSpace(CMatrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the column space of a specified matrix.
- getColSpace(Matrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the column space of a specified matrix.
- getContent() - Method in class org.flag4j.io.parsing.Lexer
-
Gets the content of this Lexer.
- getCoo(double[], int[][], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets an element of a sparse COO tensor at the specified index.
- getCoo(float[], int[][], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets an element of a sparse COO tensor at the specified index.
- getCoo(int[], int[][], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets an element of a sparse COO tensor at the specified index.
- getCoo(T[], int[][], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets an element of a sparse COO tensor at the specified index.
- getCoo(V[], int[], int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets the specified element from a sparse COO vector.
- getCoo(V[], int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets the specified element from a sparse COO matrix.
- getD() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the diagonal scaling factors for the last matrix balanced by this balancer.
- getD(boolean) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the diagonal scaling matrix for the last matrix balanced by this balancer.
- getData() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Gets the entry data of this tensor as a 1D array.
- getData() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Gets the data of this tensor.
- getDet() - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Gets the determinant computed during the last solve.
- getDet() - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Gets the determinant computed during the last solve.
- getDet() - Method in class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Gets the determinant computed during the last solve.
- getDet() - Method in class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Gets the determinant computed during the last solve.
- getDiag() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the diagonal elements of this matrix.
- getDiag() - Method in class org.flag4j.arrays.dense.Matrix
-
Extracts the diagonal elements of this matrix and returns them as a vector.
- getDiag() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Extracts the diagonal elements of this matrix and returns them as a vector.
- getDiag() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Extracts the diagonal elements of this matrix and returns them as a vector.
- getDiag() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Extracts the diagonal elements of this matrix and returns them as a vector.
- getDiag(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(int) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Gets the elements of this matrix along the specified diagonal.
- getDiag(Shape, T[], int[], int[], int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets the elements of a COO matrix along the specified diagonal.
- getDims() - Method in class org.flag4j.arrays.Shape
-
Gets the shape of a tensor as an array of dimensions.
- getEigenPairs(CMatrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues and eigenvectors of a square real matrix.
- getEigenPairs(CMatrix, long) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues and eigenvectors of a square complex matrix.
- getEigenPairs(Matrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues and eigenvectors of a square complex matrix.
- getEigenPairs(Matrix, long) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues and eigenvectors of a square real matrix.
- getEigenValues(CMatrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a square complex dense matrix.
- getEigenValues(CMatrix, long) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a square complex dense matrix.
- getEigenValues(CMatrix, long, int) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a square complex dense matrix.
- getEigenValues(Matrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a square real dense matrix.
- getEigenValues(Matrix, long) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a square real dense matrix.
- getEigenValues(Matrix, long, int) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvalues of a square real dense matrix.
- getEigenVectors(CMatrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of a square real dense matrix.
- getEigenVectors(CMatrix, long) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of a square real dense matrix.
- getEigenVectors(CMatrix, long, int) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of a square real dense matrix.
- getEigenVectors(Matrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of a square real dense matrix.
- getEigenVectors(Matrix, long) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of a square real dense matrix.
- getEigenVectors(Matrix, long, int) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of a square real dense matrix.
- getEigenVectorsTriu(CMatrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of an upper triangular matrix.
- getEigenVectorsTriu(Matrix) - Static method in class org.flag4j.linalg.Eigen
-
Computes the eigenvectors of an upper triangular matrix.
- getEmpty(int) - Static method in class org.flag4j.arrays.dense.CVector
-
Constructs an empty vector with the specified size.
- getEmpty(int, int) - Static method in class org.flag4j.arrays.dense.CMatrix
-
Constructs an empty matrix with the specified number of rows and columns.
- getFlatIndex(int...) - Method in class org.flag4j.arrays.Shape
-
Computes the index of the 1D data array for a dense tensor from nD indices for a tensor with this shape.
- getGeneralRotator(int, int, int, double) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a general Givens rotation matrix.
- getGreaterEqErr(double, double) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a value which was expected to be greater than of equal to a specified threshold but wasn't.
- getH() - Method in class org.flag4j.linalg.decompositions.hess.ComplexHess
-
Gets the upper Hessenburg matrix
H
from the Hessenburg decomposition. - getH() - Method in class org.flag4j.linalg.decompositions.hess.HermHess
-
Gets the Hessenberg matrix from the decomposition.
- getH() - Method in class org.flag4j.linalg.decompositions.hess.RealHess
-
Gets the upper Hessenburg matrix
H
from the Hessenburg decomposition. - getH() - Method in class org.flag4j.linalg.decompositions.hess.SymmHess
-
Gets the Hessenberg matrix from the decomposition.
- getIHigh() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the starting index (exclusive) for the sub-matrix B1 of the balanced matrix which did not isolate eigenvalues.
- getILow() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the starting index (inclusive) for the sub-matrix B1 of the balanced matrix which did not isolate eigenvalues.
- getIndicesRankErr(int, int) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a tensor being indexed with a number of indices not equal to the rank of the tensor.
- getInstance() - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher
-
Gets the singleton instance of this class.
- getInstance() - Static method in class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher
-
Gets the singleton instance of this class.
- getInvalidOppMessage(MatrixMixin<?, ?, ?, ?>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- getL() - Method in class org.flag4j.linalg.decompositions.chol.Cholesky
-
Gets the L matrix computed by the Cholesky decomposition A=LLH.
- getL() - Method in class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Gets the unit lower triangular matrix of the decomposition.
- getL() - Method in class org.flag4j.linalg.decompositions.lu.FieldLU
-
Gets the unit lower triangular matrix of the decomposition.
- getL() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the unit lower triangular matrix of the decomposition.
- getL() - Method in class org.flag4j.linalg.decompositions.lu.RealLU
-
Gets the unit lower triangular matrix of the decomposition.
- getLeftNullSpace(CMatrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the left null space of a specified matrix.
- getLeftNullSpace(Matrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the left null space of a specified matrix.
- getLessEqErr(double, double) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a value which was expected to be less than of equal to a specified threshold but wasn't.
- getLH() - Method in class org.flag4j.linalg.decompositions.chol.Cholesky
-
Gets the LH matrix computed by the Cholesky decomposition A=LLH.
- getLU() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the
L
andU
matrices of the decomposition combined in a single matrix. - getMatrix() - Method in class org.flag4j.arrays.SmartMatrix
-
Gets reference to the matrix which backs this
SmartMatrix
. - getMaxColumns() - Static method in class org.flag4j.io.PrintOptions
-
Gets the current maximum number of columns to print.
- getMaxRows() - Static method in class org.flag4j.io.PrintOptions
-
Gets the maximum number of rows to print.
- getNamedGreaterEqErr(double, double, String) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a value which was expected to be greater than of equal to a specified threshold but wasn't.
- getNamedLessEqErr(double, double, String) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a value which was expected to be less than of equal to a specified threshold but wasn't.
- getNamedLessEqErr(BigInteger, double, String) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a value which was expected to be less than of equal to a specified threshold but wasn't.
- getNdIndices(int) - Method in class org.flag4j.arrays.Shape
-
Efficiently computes the nD tensor indices based on an index from the internal 1D data array.
- getNegValueErr(double) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a negative value when a non-negative was expected.
- getNextSymbol() - Method in class org.flag4j.io.parsing.Lexer
-
Produces individual symbols from content, left to right, as ascii values.
- getNextToken() - Method in class org.flag4j.io.parsing.Lexer
-
Produces next
Token
from the string being parsed. - getNonPosErr(double) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a non-positive value when a positive, non-zero value was expected.
- getNullSpace(CMatrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the null space of a specified matrix.
- getNullSpace(Matrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the null space of a specified matrix.
- getNumColSwaps() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the number of column swaps used in the last decomposition.
- getNumRowSwaps() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the number of row swaps used in the last decomposition.
- getNumThreads() - Static method in class org.flag4j.concurrency.Configurations
-
Gets the current number of threads to be used.
- getOne() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in class org.flag4j.algebraic_structures.Complex128
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in class org.flag4j.algebraic_structures.Complex64
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Gets the multiplicative identity for this semiring.
- getOne() - Method in interface org.flag4j.algebraic_structures.Semiring
-
Gets the multiplicative identity for this semiring.
- getOrCreateArray(double[], int) - Static method in class org.flag4j.util.ArrayBuilder
-
Checks if an array is
null
and constructs a new array with the specifiedsize
if so. - getOrCreateArray(int[], int) - Static method in class org.flag4j.util.ArrayBuilder
-
Checks if an array is
null
and constructs a new array with the specifiedsize
if so. - getOrCreateArray(T[], Supplier<T[]>) - Static method in class org.flag4j.util.ArrayBuilder
-
Checks if an array is
null
and constructs a new array using the specifiedinitializer
if so. - getOrthogonal(double, double, double, double) - Static method in class org.flag4j.linalg.transformations.Projection
-
Creates a
4x4
orthogonal projection matrix to project a 3D point in homogeneous coordinates onto the specified 2D coordinate grid (i.e. image plane). - getOrthogonal(double, double, double, double, double, double) - Static method in class org.flag4j.linalg.transformations.Projection
-
Creates a
4x4
orthogonal projection matrix to project a 3D point in homogeneous coordinates onto the specified 2D coordinate grid (i.e. image plane). - getOrthogonal2D(double, double) - Static method in class org.flag4j.linalg.transformations.Projection
-
Creates a
4x4
orthogonal projection matrix to project a 2D point in an orthographic viewing region. the minimumx
andy
values are assumed to be zero. - getOrthogonal2D(double, double, double, double) - Static method in class org.flag4j.linalg.transformations.Projection
-
Creates a
4x4
orthogonal projection matrix to project a 2D point in an orthographic viewing region. - getOutputShape() - Method in class org.flag4j.linalg.ops.TensorDot
-
Gets the shape of the tensor resulting from this tensor dot product as specified in the constructor.
- getOutputShape(T, T, int) - Method in class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Constructs the shape of the output.
- getOutputSize() - Method in class org.flag4j.linalg.ops.TensorDot
-
Gets the total number of data in the tensor resulting from this tensor dot product as specified in the constructor.
- getP() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the permutation matrix for the last matrix balanced by this balancer.
- getP() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the row permutation matrix of the decomposition.
- getPadding() - Static method in class org.flag4j.io.PrintOptions
-
Gets the current padding amount for columns.
- getParallelismLevel() - Static method in class org.flag4j.concurrency.ThreadManager
-
Gets the current parallelism level for the ThreadManager.
- getPermutation() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Returns the permutation represented by this permutation matrix.
- getPerspective(double, double, double, double) - Static method in class org.flag4j.linalg.transformations.Projection
-
Creates a
4x4
perspective projection matrix to transform a 3D point represented in homogeneous coordinates. - getPerspective(double, double, double, double, double) - Static method in class org.flag4j.linalg.transformations.Projection
-
Creates a
4x4
perspective projection matrix to transform a 3D point represented in homogeneous coordinates. - getPrecision() - Static method in class org.flag4j.io.PrintOptions
-
Gets the current printing precision.
- getQ() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the column permutation matrix of the decomposition.
- getQ() - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Gets the unitary
Q
matrix from theQR
decomposition. - getQ() - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Gets the unitary
Q
matrix from the unitary decomposition. - getQ() - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Gets the unitary
Q
matrix from the decomposition. - getR() - Method in class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Gets the upper triangular matrix
R
from theQR
decomposition. - getR() - Method in class org.flag4j.linalg.decompositions.qr.RealQR
-
Gets the upper triangular matrix
R
from theQR
decomposition. - getRangeErr(double, double, double, String) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a value which is not within the expected range.
- getRank() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Gets the rank of this tensor.
- getRank() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Gets the rank of this tensor.
- getRank() - Method in class org.flag4j.arrays.Shape
-
Gets the rank of a tensor with this shape.
- getRank() - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the rank of the last matrix decomposed.
- getReflector(CVector) - Static method in class org.flag4j.linalg.transformations.Householder
-
Computes the Householder reflector which describes a reflection through a hyperplane containing the origin which is normal to the specified
normal
vector. - getReflector(Vector) - Static method in class org.flag4j.linalg.transformations.Householder
-
Computes the Householder reflector which describes a reflection through a hyperplane containing the origin which is normal to the specified
normal
vector. - getRotator(double[], int) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G such that for a vector v, Gv = [r1 ... ri ... rn] where ri=0.
- getRotator(CVector, int) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G such that for a vector v, Gv = [r1 ... ri ... rn] where ri=0.
- getRotator(Vector, int) - Static method in class org.flag4j.linalg.transformations.Givens
-
Constructs a Givens rotator G such that for a vector v, Gv = [r1 ... ri ... rn] where ri=0.
- getRow(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the row of this matrix at the specified index.
- getRow(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Get the row of this matrix at the specified index.
- getRow(int) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Get the row of this matrix at the specified index.
- getRow(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Get the row of this matrix at the specified index.
- getRow(int, int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets a range of a row of this matrix.
- getRow(int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets a range of a row of this matrix.
- getRow(int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets a specified row of this matrix between
colStart
(inclusive) andcolEnd
(exclusive). - getRow(int, int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Gets a specified row of this matrix between
colStart
(inclusive) andcolEnd
(exclusive). - getRow(int, int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets a specified row of this matrix between
colStart
(inclusive) andcolEnd
(exclusive). - getRow(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Gets a range of a row of this matrix.
- getRow(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Gets a specified row of this matrix between
colStart
(inclusive) andcolEnd
(exclusive). - getRow(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets a specified row of this matrix between
colStart
(inclusive) andcolEnd
(exclusive). - getRow(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Gets a range of a row of this matrix.
- getRow(int, int, int) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Gets a range of a row of this matrix.
- getRow(Shape, T[], int[], int[], int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets a specified row of a COO matrix between
start
(inclusive) andend
(exclusive). - getRow(CooMatrix, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Gets a specified row from this sparse matrix.
- getRow(CooMatrix, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Gets a specified row range from this sparse matrix.
- getRowSpace(CMatrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the row space of a specified matrix.
- getRowSpace(Matrix) - Static method in class org.flag4j.linalg.SubSpace
-
Computes an orthonormal basis of the row space of a specified matrix.
- getS() - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the diagonal matrix S corresponding to M=USVH in the SVD.
- getScalePerm() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Gets the raw scaling factors and permutation data stored in a single array.
- getShape() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Gets the shape of this tensor.
- getShape() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the shape of this matrix.
- getShape() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Gets the shape of this tensor.
- getShape() - Method in class org.flag4j.arrays.SmartMatrix
-
Gets the shape of this matrix.
- getShape() - Method in class org.flag4j.arrays.sparse.SymmTriDiag
-
Gets the shape of this symmetric tri-diagonal matrix.
- getShapeTotalEntriesErr(Shape, Shape) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for two shapes which cannot be broadcast together.
- getSingularValues() - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the singular values of the last matrix decomposed.
- getSlice(int, int, int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets a specified slice of this matrix.
- getSlice(int, int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets a specified slice of this matrix.
- getSlice(int, int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets a specified slice of this matrix.
- getSlice(int, int, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets a specified slice of this matrix.
- getSlice(int, int, int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Gets a specified slice of this matrix.
- getSlice(int, int, int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets a specified slice of this matrix.
- getSlice(int, int, int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets a specified slice of this matrix.
- getSlice(Shape, T[], int[], int[], int, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Extracts a specified slice from a sparse COO matrix.
- getSlice(Shape, T[], int[], int[], int, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Gets a specified slice of a CSR matrix.
- getSlice(CooMatrix, int, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Gets a specified rectangular slice of a sparse matrix.
- getSlice(CsrMatrix, int, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrOps
-
Gets a specified slice of a CSR matrix.
- getSquareShapeErr(Shape) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a shape which was expected to be square but was not
- getStrides() - Method in class org.flag4j.arrays.Shape
-
Gets the strides of this shape as an array.
- getT() - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Get the combined permutation and diagonal scaling matrix, T, from the last matrix balanced.
- getT() - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Gets the upper, or possibly block-upper, triangular Schur matrix
T
from the Schur decomposition - getTotalEntriesErr() - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for arrays which do not have the same total number of data.
- getTriL() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Extracts the lower-triangular portion of this matrix.
- getTriL(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Extracts the lower-triangular portion of this matrix with a specified diagonal offset.
- getTriL(int, Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets the lower-triangular portion of a sparse COO matrix with a possible diagonal offset.
- getTriU() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Extracts the upper-triangular portion of this matrix.
- getTriU(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Extracts the upper-triangular portion of this matrix with a specified diagonal offset.
- getTriU(int, Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Gets the upper-triangular portion of a sparse COO matrix with a possible diagonal offset.
- getTrShape(Shape, int, int) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringOps
-
Computes the shape of the tensor resulting from the generalized tensor trace along the specified axes for a tensor with the specified shape.
- getU() - Method in class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Gets the upper triangular matrix of the decomposition.
- getU() - Method in class org.flag4j.linalg.decompositions.lu.FieldLU
-
Gets the upper triangular matrix of the decomposition.
- getU() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Gets the upper triangular matrix of the decomposition.
- getU() - Method in class org.flag4j.linalg.decompositions.lu.RealLU
-
Gets the upper triangular matrix of the decomposition.
- getU() - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Gets the unitary matrix
U
from the Schur decomposition containing the Schur vectors as its columns. - getU() - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the unitary matrix U corresponding to M=USVH in the SVD.
- getUpper() - Method in class org.flag4j.linalg.decompositions.hess.ComplexHess
-
Gets the upper Hessenburg matrix from the last decomposition.
- getUpper() - Method in class org.flag4j.linalg.decompositions.hess.RealHess
-
Gets the upper Hessenburg matrix from the last decomposition.
- getUpper() - Method in class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Gets the upper triangular matrix
R
from the last decomposition. - getUpper() - Method in class org.flag4j.linalg.decompositions.qr.RealQR
-
Gets the upper triangular matrix
R
from the last decomposition. - getUpper() - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Gets the upper triangular/Hessenburg matrix from the last decomposition.
- getUpper(CMatrix) - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Gets the upper triangular/Hessenburg matrix from the last decomposition.
- getUpper(Matrix) - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Gets the upper triangular/Hessenburg matrix from the last decomposition.
- getUpper(T) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Gets the upper triangular/Hessenburg matrix from the last decomposition.
- getUtilityClassErrMsg() - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for an attempted instantiation of a utility class.
- getUtilityClassErrMsg(Class) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for an attempted instantiation of a utility class.
- getV() - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the unitary matrix V corresponding to M=USVH in the SVD.
- getValue() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Gets the value of this semiring element.
- getValue() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Gets the value of this field element.
- getValue() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Gets the value of this field element.
- getValue() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Gets the value of this ring element.
- getValue() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Gets the value of this field element.
- getVector(Vector) - Static method in class org.flag4j.linalg.transformations.Householder
-
Computes the vector
v
in of a Householder matrixH=I-2vv
T whereH
is a transformation matrix which reflects a vector across the plane normal tonormal
. - getZero() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Gets the additive identity for this semiring.
- getZero() - Method in class org.flag4j.algebraic_structures.Complex128
-
Gets the additive identity for this semiring.
- getZero() - Method in class org.flag4j.algebraic_structures.Complex64
-
Gets the additive identity for this semiring.
- getZero() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Gets the additive identity for this semiring.
- getZero() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Gets the additive identity for this semiring.
- getZero() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Gets the additive identity for this semiring.
- getZero() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Gets the additive identity for this semiring.
- getZero() - Method in interface org.flag4j.algebraic_structures.Semiring
-
Gets the additive identity for this semiring.
- getZeroElement() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the zero element for the semiring of this tensor.
- getZeroElement() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Gets the zero element for the field of this tensor.
- getZeroElement() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Gets the zero element for the field of this vector.
- getZeroElement() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the zero element for the semiring of this tensor.
- getZeroElement() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Gets the zero element for the field of this tensor.
- Givens - Class in org.flag4j.linalg.transformations
-
This class contains methods for computing real or complex Givens' rotation matrices.
H
- H() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Computes the conjugate transpose of a tensor by exchanging the first and last axes of this tensor and conjugating the exchanged values.
- H() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Computes the Hermitian transpose of this matrix.
- H() - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the conjugate transpose of a tensor by exchanging the first and last axes of this tensor and conjugating the exchanged values.
- H() - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the conjugate transpose of this matrix.
- H() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the conjugate transpose of a tensor by exchanging the first and last axes of this tensor and conjugating the exchanged values.
- H() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the conjugate transpose of a tensor by exchanging the first and last axes of this tensor and conjugating the exchanged values.
- H() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the conjugate transpose of a tensor by exchanging the first and last axes of this tensor and conjugating the exchanged values.
- H(int...) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingTensor
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingVector
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Computes the conjugate transpose of this tensor.
- H(int...) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the conjugate transpose of this tensor.
- H(int, int) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingTensor
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingVector
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - H(int, int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the conjugate transpose of a tensor by conjugating and exchanging
axis1
andaxis2
. - hasEqualSpan(CMatrix, CMatrix) - Static method in class org.flag4j.linalg.SubSpace
-
Checks if two sets of vectors, stored as the columns of matrices, span the same space.
- hasEqualSpan(Matrix, Matrix) - Static method in class org.flag4j.linalg.SubSpace
-
Checks if two sets of vectors, stored as the columns of matrices, span the same space.
- hashCode() - Method in class org.flag4j.algebraic_structures.BoolSemiring
- hashCode() - Method in class org.flag4j.algebraic_structures.Complex128
-
Generates the hashcode for this complex number.
- hashCode() - Method in class org.flag4j.algebraic_structures.Complex64
-
Generates the hashcode for this complex number.
- hashCode() - Method in class org.flag4j.algebraic_structures.RealFloat32
- hashCode() - Method in class org.flag4j.algebraic_structures.RealFloat64
- hashCode() - Method in class org.flag4j.algebraic_structures.RealInt16
- hashCode() - Method in class org.flag4j.algebraic_structures.RealInt32
- hashCode() - Method in class org.flag4j.arrays.dense.CMatrix
- hashCode() - Method in class org.flag4j.arrays.dense.CTensor
- hashCode() - Method in class org.flag4j.arrays.dense.CVector
- hashCode() - Method in class org.flag4j.arrays.dense.FieldMatrix
- hashCode() - Method in class org.flag4j.arrays.dense.FieldTensor
- hashCode() - Method in class org.flag4j.arrays.dense.FieldVector
- hashCode() - Method in class org.flag4j.arrays.dense.Matrix
- hashCode() - Method in class org.flag4j.arrays.dense.RingMatrix
- hashCode() - Method in class org.flag4j.arrays.dense.RingTensor
- hashCode() - Method in class org.flag4j.arrays.dense.RingVector
- hashCode() - Method in class org.flag4j.arrays.dense.SemiringMatrix
- hashCode() - Method in class org.flag4j.arrays.dense.SemiringTensor
- hashCode() - Method in class org.flag4j.arrays.dense.SemiringVector
- hashCode() - Method in class org.flag4j.arrays.dense.Tensor
- hashCode() - Method in class org.flag4j.arrays.dense.Vector
- hashCode() - Method in record class org.flag4j.arrays.IntTuple
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.flag4j.arrays.Pair
-
Returns a hash code value for this object.
- hashCode() - Method in class org.flag4j.arrays.Shape
-
Generates the hashcode for this shape object.
- hashCode() - Method in class org.flag4j.arrays.SmartMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.CooCMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.CooCTensor
- hashCode() - Method in class org.flag4j.arrays.sparse.CooCVector
- hashCode() - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.CooFieldTensor
- hashCode() - Method in class org.flag4j.arrays.sparse.CooFieldVector
- hashCode() - Method in class org.flag4j.arrays.sparse.CooMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.CooRingTensor
- hashCode() - Method in class org.flag4j.arrays.sparse.CooRingVector
- hashCode() - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
- hashCode() - Method in class org.flag4j.arrays.sparse.CooSemiringVector
- hashCode() - Method in class org.flag4j.arrays.sparse.CooTensor
- hashCode() - Method in class org.flag4j.arrays.sparse.CooVector
- hashCode() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.CsrMatrix
- hashCode() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Returns a hashcode for this permutation matrix by calling
Arrays.hashCode(permutation)
. - hashCode() - Method in class org.flag4j.arrays.sparse.SymmTriDiag
-
Creates a hash code for this symmetric tri-diagonal matrix.
- hashCode() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.flag4j.arrays.SparseTensorData
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.flag4j.arrays.SparseVectorData
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.flag4j.arrays.Triple
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.flag4j.arrays.Tuple
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.flag4j.io.MatrixMarketHeader
-
Returns a hash code value for this object.
- HermHess - Class in org.flag4j.linalg.decompositions.hess
-
Computes the Hessenburg decomposition of a complex dense Hermitian matrix.
- HermHess() - Constructor for class org.flag4j.linalg.decompositions.hess.HermHess
-
Constructs a Hessenberg decomposer for Hermitian matrices.
- HermHess(boolean) - Constructor for class org.flag4j.linalg.decompositions.hess.HermHess
-
Constructs a Hessenberg decomposer for Hermitian matrices.
- HermHess(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.hess.HermHess
-
Constructs a Hessenberg decomposer for Hermitian matrices.
- hermLeftRightMultReflector(CMatrix, Complex128[], Complex128, int, Complex128[]) - Static method in class org.flag4j.linalg.transformations.Householder
-
Applies a Householder matrix
H=I-
invalid input: '&alpha'vv
H, represented by the vectorv
to a Hermitian matrixA
on both the left and right side. - hermTranspose(T[], int[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Computes herniation transpose of complex CSR matrix.
- hess - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Decomposer to compute the Hessenburg decomposition as a setup step for the implicit double step QR algorithm.
- Householder - Class in org.flag4j.linalg.transformations
-
This class contains methods for computing real or complex Householder reflectors (also known as elementary reflectors).
- householderVector - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Stores the vector
v
in the Householder reflector P = I - invalid input: '&alpha' vvT. - householderVector - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
For storing a HouseholderOld vectors.
I
- I(int) - Static method in class org.flag4j.arrays.dense.CMatrix
-
Constructs an identity matrix of the specified size.
- I(int) - Static method in class org.flag4j.arrays.dense.Matrix
-
Constructs an identity matrix of the specified size.
- I(int, int) - Static method in class org.flag4j.arrays.dense.CMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(int, int) - Static method in class org.flag4j.arrays.dense.Matrix
-
Constructs an identity-like matrix of the specified shape.
- I(int, int, T) - Static method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(int, int, T) - Static method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(int, int, T) - Static method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(int, T) - Static method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs an identity matrix of the specified size.
- I(int, T) - Static method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs an identity matrix of the specified size.
- I(int, T) - Static method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs an identity matrix of the specified size.
- I(Shape) - Static method in class org.flag4j.arrays.dense.CMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(Shape) - Static method in class org.flag4j.arrays.dense.Matrix
-
Constructs an identity-like matrix of the specified shape.
- I(Shape, T) - Static method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(Shape, T) - Static method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs an identity-like matrix of the specified shape.
- I(Shape, T) - Static method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs an identity-like matrix of the specified shape.
- iHigh - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Tracks the ending row/column index of the un-permuted submatrix to be balanced (exclusive).
- iLow - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Tracks the starting row/column index of the un-permuted submatrix to be balanced (inclusive).
- im - Variable in class org.flag4j.algebraic_structures.Complex128
-
Imaginary component of the complex number.
- im - Variable in class org.flag4j.algebraic_structures.Complex64
-
Imaginary component of the complex number.
- im() - Method in class org.flag4j.algebraic_structures.Complex128
-
Gets the imaginary component of this complex number.
- im() - Method in class org.flag4j.algebraic_structures.Complex64
-
Gets the imaginary component of this complex number.
- IMAGINARY_UNIT - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The imaginary unit i.
- IMAGINARY_UNIT - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The imaginary unit i.
- Implementations: - Search tag in interface org.flag4j.algebraic_structures.Field
- Section
- Implementations: - Search tag in interface org.flag4j.algebraic_structures.Ring
- Section
- Implementations: - Search tag in interface org.flag4j.algebraic_structures.Semiring
- Section
- indexOf(int[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Finds the fist index of the specified
key
within an array. - indices - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
The non-zero indices of this sparse tensor.
- indices - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Indices of the non-zero values of this sparse COO vector.
- indices - Variable in class org.flag4j.arrays.sparse.CooTensor
-
The non-zero indices of this tensor.
- indices - Variable in class org.flag4j.arrays.sparse.CooVector
-
The indices of the non-zero data in this sparse COO vector.
- indices() - Method in record class org.flag4j.arrays.SparseTensorData
-
Returns the value of the
indices
record component. - indices() - Method in record class org.flag4j.arrays.SparseVectorData
-
Returns the value of the
indices
record component. - indicesToArray() - Method in record class org.flag4j.arrays.SparseTensorData
-
Converts the indices of this sparse tensor data to a 2D primitive integer array.
- indicesToArray() - Method in record class org.flag4j.arrays.SparseVectorData
-
Converts the indices of this sparse vector data to a primitive integer array.
- inducedNorm(CMatrix, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the matrix operator norm of a complex dense matrix "induced" by the vector p-norm.
- inducedNorm(Matrix, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the matrix operator norm of a real dense matrix "induced" by the vector p-norm.
- infNorm(AbstractDenseRingMatrix<?, ?, ?>) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the infinite norm of this matrix.
- infNorm(Matrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the infinite norm of this matrix.
- initLU(CMatrix) - Method in class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Initializes the
LU
matrix by copying the source matrix to decompose. - initLU(FieldMatrix<T>) - Method in class org.flag4j.linalg.decompositions.lu.FieldLU
-
Initializes the
LU
matrix by copying the source matrix to decompose. - initLU(Matrix) - Method in class org.flag4j.linalg.decompositions.lu.RealLU
-
Initializes the
LU
matrix by copying the source matrix to decompose. - initLU(T) - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Initializes the
LU
matrix by copying the source matrix to decompose. - initMatrix(CTensor, int) - Method in class org.flag4j.linalg.solvers.exact.ComplexExactTensorSolver
-
Initializes matrix for equivalent linear matrix equation.
- initMatrix(Tensor, int) - Method in class org.flag4j.linalg.solvers.exact.RealExactTensorSolver
-
Initializes matrix for equivalent linear matrix equation.
- initMatrix(T, int) - Method in class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Initializes matrix for equivalent linear matrix equation.
- initQ() - Method in class org.flag4j.linalg.decompositions.hess.ComplexHess
-
Creates and initializes Q to the appropriately sized identity matrix.
- initQ() - Method in class org.flag4j.linalg.decompositions.hess.RealHess
-
Creates and initializes Q to the appropriately sized identity matrix.
- initQ() - Method in class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Creates and initializes Q to the appropriately sized identity matrix.
- initQ() - Method in class org.flag4j.linalg.decompositions.qr.RealQR
-
Creates and initializes Q to the appropriately sized identity matrix.
- initQ() - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Creates and initializes Q to the appropriately sized identity matrix.
- initUV(Shape, int) - Method in class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Initializes the unitary U and V matrices for the SVD.
- initUV(Shape, int) - Method in class org.flag4j.linalg.decompositions.svd.RealSVD
-
Initializes the unitary
U
andV
matrices for the SVD. - initUV(Shape, int) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Initializes the unitary U and V matrices for the SVD.
- initVector(CTensor) - Method in class org.flag4j.linalg.solvers.exact.ComplexExactTensorSolver
-
Initializes vector for equivalent linear matrix equation.
- initVector(Tensor) - Method in class org.flag4j.linalg.solvers.exact.RealExactTensorSolver
-
Initializes vector for equivalent linear matrix equation.
- initVector(T) - Method in class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Initializes vector for equivalent linear matrix equation.
- initWorkArrays(int) - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Initialized any work arrays to be used in computing the decomposition with the proper size.
- initWorkArrays(int) - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Initialized any work arrays to be used in computing the decomposition with the proper size.
- initWorkArrays(int) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Initialized any work arrays to be used in computing the decomposition with the proper size.
- inner(double[], double[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Computes the vector inner product between a real dense vector and a real sparse vector.
- inner(double[], int[], int, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector inner product between a complex dense vector and a real sparse vector.
- inner(double[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseVectorOps
-
Computes the vector inner product for a real dense vector and a complex dense vector.
- inner(double[], T[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector inner product between a real dense vector and a complex sparse vector.
- inner(AbstractCooRingVector<?, ?, ?, ?, T>, AbstractCooRingVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingVectorOps
-
Computes the inner product of two complex sparse vectors.
- inner(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the inner product between two vectors.
- inner(CooCVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the inner product of a real and complex sparse vector.
- inner(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the inner product between two vectors.
- inner(CooVector, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the inner product of a real and complex sparse vector.
- inner(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Computes the inner product of two real sparse vectors.
- inner(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the inner product between two vectors.
- inner(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingVector
-
Computes the inner product between two vectors.
- inner(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the inner product between two vectors.
- inner(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Computes the inner product between two vectors.
- inner(T) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Computes the inner product between two vectors.
- inner(T[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseVectorOps
-
Computes the vector inner product for a complex dense vector and a real dense vector.
- inner(T[], double[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector inner product between a complex dense vector and a real sparse vector.
- innerProduct(double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseVectorOps
-
Computes the vector inner product for two real dense vectors.
- innerProduct(T[], int[], int, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the vector inner product between a complex dense vector and a complex sparse vector.
- innerProduct(T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldVectorOps
-
Computes the vector inner product for two vectors.
- innerProduct(T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingVectorOps
-
Computes the vector inner product for two vectors.
- innerProduct(T[], T[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the vector inner product between a complex dense vector and a complex sparse vector.
- innerSelf() - Method in class org.flag4j.arrays.dense.CVector
-
Compute the inner product of this vector with itself.
- innerSelfProduct(Complex128[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldVectorOps
-
Computes the inner product (dot product) of a vector with itself.
- inPlace - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Flag indicating if the balancing should be done in-place or if a copy should be made.
- insertNewValue(T[], int[], int[], T[], int[], int[], int, int, int, T) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Copies and inserts a new value into a sparse CSR matrix.
- INTEGER - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMField
- Interface Methods: - Search tag in interface org.flag4j.algebraic_structures.Field
- Section
- Interface Methods: - Search tag in interface org.flag4j.algebraic_structures.Ring
- Section
- Interface Methods: - Search tag in interface org.flag4j.algebraic_structures.Semiring
- Section
- intRange(int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Gets an array filled with integers from
start
(inclusive) toend
(exclusive) - intRange(int, int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Gets an array filled with integers from
start
(inclusive) toend
(exclusive) where each int is repeatedstride
times. - IntTuple - Record Class in org.flag4j.arrays
-
Data record to store an ordered list of integers (i.e., an n-tuple).
- IntTuple(int[]) - Constructor for record class org.flag4j.arrays.IntTuple
-
Creates an instance of a
IntTuple
record class. - inv() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the inverse/transpose of this permutation matrix.
- inv(AbstractDenseDoubleTensor<T>, int) - Static method in class org.flag4j.linalg.TensorInvert
-
Computes the 'inverse' of a tensor.
- inv(CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Computes the inverse of this matrix.
- inv(CTensor, int) - Static method in class org.flag4j.linalg.TensorInvert
-
Deprecated.
- inv(Matrix) - Static method in class org.flag4j.linalg.Invert
-
Computes the inverse of this matrix.
- inv(Tensor, int) - Static method in class org.flag4j.linalg.TensorInvert
-
Deprecated.
- INV_IMAGINARY_UNIT - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The additive inverse of the imaginary unit, -i.
- INV_IMAGINARY_UNIT - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The additive inverse of the imaginary unit, -i.
- invDiag(CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts a diagonal matrix.
- invDiag(Matrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts a diagonal matrix.
- invDirectSum(CMatrix) - Method in class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Computes the inverse direct sum of a matrix and its Hermitian transpose.
- invDirectSum(CMatrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CMatrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CMatrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(Matrix) - Method in class org.flag4j.linalg.decompositions.svd.RealSVD
-
Computes the inverse direct sum of a matrix and its Hermitian transpose.
- invDirectSum(Matrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(Matrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(Matrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooCMatrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooCMatrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooCMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooCMatrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooMatrix, CMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooMatrix, Matrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(CooMatrix, CooMatrix) - Static method in class org.flag4j.linalg.DirectSum
-
Computes direct sum from bottom left to top right of two matrices.
- invDirectSum(T) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Computes the inverse direct sum of a matrix and its Hermitian transpose.
- Invert - Class in org.flag4j.linalg
-
This class provides methods for computing the inverse of a matrix.
- invHermPosDef(CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts a Hermitian positive definite matrix.
- invHermPosDef(CMatrix, boolean) - Static method in class org.flag4j.linalg.Invert
-
Inverts a Hermitian positive definite matrix.
- invSymPosDef(Matrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts a symmetric positive definite matrix.
- invSymPosDef(Matrix, boolean) - Static method in class org.flag4j.linalg.Invert
-
Inverts a symmetric positive definite matrix.
- invTriL(CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts a lower triangular matrix.
- invTriL(Matrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts a lower triangular matrix.
- invTriU(CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts an upper triangular matrix.
- invTriU(Matrix) - Static method in class org.flag4j.linalg.Invert
-
Inverts an upper triangular matrix.
- isAntiSymmetric() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if a matrix is anti-symmetric.
- isAntiSymmetric() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if a matrix is anti-symmetric.
- isAntiSymmetric(double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseProperties
-
Checks if a real dense matrix is anti-symmetric.
- isAntiSymmetric(Shape, double[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixProperties
-
Checks if a sparse COO matrix is symmetric.
- isAntiSymmetric(CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrProperties
-
Checks if the
src
matrix is anti-symmetric. - isCloseToI() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Checks if the matrix is "close" to an identity matrix.
- isCloseToI() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks that this matrix is close to the identity matrix.
- isCloseToI() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks that this matrix is close to the identity matrix.
- isCloseToI() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks that this matrix is close to the identity matrix.
- isCloseToIdentity() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Checks if the matrix is "close" to an identity matrix.
- isCloseToIdentity(AbstractCooRingMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingMatrixOps
-
Checks if a real sparse matrix is close to the identity matrix.
- isCloseToIdentity(AbstractCsrRingMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.csr.ring_ops.CsrRingProperties
-
Checks if the
src
matrix is close to the identity matrix. - isCloseToIdentity(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseProperties
-
Checks if a matrix is the identity matrix approximately.
- isCloseToIdentity(Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingTensorOps
-
Checks if a matrix is the identity matrix approximately.
- isCloseToIdentity(CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixProperties
-
Checks if a real sparse matrix is close to the identity matrix.
- isCloseToIdentity(CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrProperties
-
Checks if the
src
matrix is close to the identity matrix. - isComplex() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this complex number has non-zero imaginary part.
- isComplex() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this complex number has non-zero imaginary part.
- isComplex() - Method in class org.flag4j.arrays.dense.CMatrix
-
Checks if any entry within this matrix has non-zero imaginary component.
- isComplex() - Method in class org.flag4j.arrays.dense.CTensor
-
Checks if any entry within this tensor has non-zero imaginary component.
- isComplex() - Method in class org.flag4j.arrays.dense.CVector
-
Checks if any entry within this vector has non-zero imaginary component.
- isComplex() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Checks if any entry within this matrix has non-zero imaginary component.
- isComplex() - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Checks if any entry within this matrix has non-zero imaginary component.
- isComplex() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Checks if any entry within this matrix has non-zero imaginary component.
- isComplex() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Checks if any entry within this matrix has non-zero imaginary component.
- isComplex(Complex128[]) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Checks whether a tensor contains at least one non-real value.
- isComplex(Complex64[]) - Static method in class org.flag4j.linalg.ops.common.complex.Complex64Ops
-
Checks whether a tensor contains at least one non-real value.
- isDiag() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is diagonal.
- isDigit(int) - Method in class org.flag4j.io.parsing.Lexer
- isDouble() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this complex number is a real valued double.
- isFinite() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this field element is finite in magnitude.
- isFinite() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this field element is finite in magnitude.
- isFinite() - Method in interface org.flag4j.algebraic_structures.Field
-
Checks if this field element is finite in magnitude.
- isFinite() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Checks if this field element is finite in magnitude.
- isFinite() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Checks if this field element is finite in magnitude.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Checks if this tensor only contains finite values.
- isFinite() - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Checks if this tensor only contains finite values.
- isFinite() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor only contains finite values.
- isFinite(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if all elements of a tensor are finite.
- isFinite(V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Checks if all elements of a tensor are finite.
- isFloat() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this complex number is a real valued float.
- isHermitian() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if a matrix is Hermitian.
- isHermitian() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if a matrix is Hermitian.
- isHermitian(Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingTensorOps
-
Checks if a complex dense matrix is Hermitian.
- isHermitian(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingMatrixOps
-
Checks if a sparse COO
Ring
matrix is Hermitian. - isHermitian(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.ring_ops.CsrRingProperties
-
Checks if a sparse CSR matrix is Hermitian.
- isHermPosDef(CMatrix) - Static method in class org.flag4j.linalg.PositiveDefiniteness
-
Checks if the matrix is symmetric positive definite.
- isHermPosDef(Matrix) - Static method in class org.flag4j.linalg.PositiveDefiniteness
-
Checks if the matrix is symmetric positive definite.
- isI() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is the identity matrix.
- isI() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Checks if this matrix is the identity matrix.
- isI() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Checks if this matrix is the identity matrix.
- isI() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Checks if this matrix is the identity matrix.
- isI() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if this matrix is the identity matrix.
- isI() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if this matrix is the identity matrix.
- isI() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if this matrix is the identity matrix.
- isIdentity(AbstractCooSemiringMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatrixOps
-
Checks if a complex sparse matrix is the identity matrix.
- isIdentity(AbstractCsrSemiringMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrProperties
-
Checks if the
src
matrix is the identity matrix. - isIdentity(Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseProperties
-
Checks if a matrix is the identity matrix exactly.
- isIdentity(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatrixProperties
-
Checks if a complex sparse COO matrix is the identity matrix.
- isIdentity(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrProperties
-
Checks if the
src
matrix is the identity matrix. - isIdentity(CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixProperties
-
Checks if a real sparse matrix is the identity matrix.
- isIdentity(CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrProperties
-
Checks if the
src
matrix is the identity matrix. - isImaginary() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this complex number has zero real part.
- isImaginary() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this complex number has zero real part.
- isInfinite() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this field element is infinite in magnitude.
- isInfinite() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this field element is infinite in magnitude.
- isInfinite() - Method in interface org.flag4j.algebraic_structures.Field
-
Checks if this field element is infinite in magnitude.
- isInfinite() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Checks if this field element is infinite in magnitude.
- isInfinite() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Checks if this field element is infinite in magnitude.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Checks if this tensor contains at least one infinite value.
- isInfinite() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor contains at least one infinite value.
- isInfinite(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if any of the elements of a tensor is infinite.
- isInfinite(V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Checks if any element of a tensor is infinite.
- isInt() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this complex number is a real valued integer.
- isInt() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this complex number is a real valued integer.
- isInv(CMatrix, CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Checks if matrices are inverses of each other.
- isInv(Matrix, Matrix) - Static method in class org.flag4j.linalg.Invert
-
Checks if matrices are inverses of each other.
- isNaN() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this field element is NaN in magnitude.
- isNaN() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this field element is NaN in magnitude.
- isNaN() - Method in interface org.flag4j.algebraic_structures.Field
-
Checks if this field element is NaN in magnitude.
- isNaN() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Checks if this field element is NaN in magnitude.
- isNaN() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Checks if this field element is NaN in magnitude.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Checks if this tensor contains at least one NaN value.
- isNaN() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor contains at least one NaN value.
- isNaN(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if any of the elements of a tensor contain a
Double.NaN
. - isNaN(V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Checks if any element of a tensor is NaN.
- isNeg() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor only contains negative values.
- isNeg(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if a tensor only contain negative values.
- isOne() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Checks if this value is a multiplicative identity for this semiring.
- isOne() - Method in interface org.flag4j.algebraic_structures.Semiring
-
Checks if this value is a multiplicative identity for this semiring.
- isOnes() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Checks if this tensor only contains ones.
- isOnes() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor only contains ones.
- isOnes() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Checks if this tensor only contains ones.
- isOnes() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Checks if this tensor only contains ones.
- isOnes() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Checks if this tensor only contains ones.
- isOnes(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if this tensor only contains ones.
- isOnes(T[]) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.SemiringProperties
-
Checks if an array contains only ones.
- isOrthogonal() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is orthogonal.
- isOrthogonal() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Checks if this matrix is orthogonal.
- isOrthogonal() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Checks if this matrix is orthogonal.
- isOrthogonal() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Checks if this matrix is orthogonal.
- isOrthogonal() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if this matrix is orthogonal.
- isOrthogonal() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if this matrix is orthogonal.
- isOrthogonal() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if this matrix is orthogonal.
- isParallel(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Checks if a vector is parallel to this vector.
- isParallel(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Checks if a vector is parallel to this vector.
- isPerp(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Checks if a vector is perpendicular to this vector.
- isPerp(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Checks if a vector is perpendicular to this vector.
- isPos() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor only contains positive values.
- isPos(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if a tensor only contain positive values.
- isPosDef(CMatrix) - Static method in class org.flag4j.linalg.PositiveDefiniteness
-
Checks if the matrix is positive definite.
- isPosDef(Matrix) - Static method in class org.flag4j.linalg.PositiveDefiniteness
-
Checks if the matrix is positive definite.
- isPosSemiDef(CMatrix) - Static method in class org.flag4j.linalg.PositiveDefiniteness
-
Checks if the matrix is positive semi-definite.
- isPosSemiDef(Matrix) - Static method in class org.flag4j.linalg.PositiveDefiniteness
-
Checks if the matrix is positive semi-definite.
- isReal() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this complex number has zero imaginary part.
- isReal() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this complex number has zero imaginary part.
- isReal() - Method in class org.flag4j.arrays.dense.CMatrix
-
Checks if all data of this matrix are real.
- isReal() - Method in class org.flag4j.arrays.dense.CTensor
-
Checks if all data of this tensor are real.
- isReal() - Method in class org.flag4j.arrays.dense.CVector
-
Checks if all data of this vector are real.
- isReal() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Checks if all data of this matrix are real.
- isReal() - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Checks if all data of this matrix are real.
- isReal() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Checks if all data of this matrix are real.
- isReal() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Checks if all data of this matrix are real.
- isReal(Complex128[]) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Checks whether a tensor contains only real values.
- isReal(Complex64[]) - Static method in class org.flag4j.linalg.ops.common.complex.Complex64Ops
-
Checks whether a tensor contains only real values.
- isSquare() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is square.
- isSymmetric() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if a matrix is symmetric.
- isSymmetric() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Checks if a matrix is symmetric.
- isSymmetric() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Checks if a matrix is symmetric.
- isSymmetric() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Checks if a matrix is symmetric.
- isSymmetric() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if a matrix is symmetric.
- isSymmetric() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if a matrix is symmetric.
- isSymmetric() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if a matrix is symmetric.
- isSymmetric(double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseProperties
-
Checks if a real dense matrix is symmetric.
- isSymmetric(Shape, double[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixProperties
-
Checks if a sparse COO matrix is symmetric.
- isSymmetric(Shape, T[], int[], int[], T) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooProperties
-
Checks if a sparse COO matrix is symmetric.
- isSymmetric(Shape, T[], int[], int[], T) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrProperties
-
Checks if a sparse CSR matrix is symmetric.
- isSymmetric(CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrProperties
-
Checks if the
src
matrix is symmetric. - isTri() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is triangular (i.e. upper triangular, diagonal, lower triangular).
- isTriL() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is lower triangular.
- isTriL() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Checks if this matrix is lower triangular.
- isTriL() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Checks if this matrix is lower triangular.
- isTriL() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Checks if this matrix is lower triangular.
- isTriL() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if this matrix is lower triangular.
- isTriL() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if this matrix is lower triangular.
- isTriL() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if this matrix is lower triangular.
- isTriL(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrProperties
-
Checks if a sparse CSR matrix is lower-triangular.
- isTriU() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if this matrix is upper triangular.
- isTriU() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Checks if this matrix is upper triangular.
- isTriU() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Checks if this matrix is upper triangular.
- isTriU() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Checks if this matrix is upper triangular.
- isTriU() - Method in class org.flag4j.arrays.dense.Matrix
-
Checks if this matrix is upper triangular.
- isTriU() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Checks if this matrix is upper triangular.
- isTriU() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Checks if this matrix is upper triangular.
- isTriU(Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrProperties
-
Checks if a sparse CSR matrix is upper-triangular.
- isUnit - Variable in class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Flag indicating if lower-triangular matrices passed to this solver will be unit lower-triangular (true) or simply lower-triangular (false).
- isUnitary() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Checks if this matrix is orthogonal.
- isUnitary() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Checks if this matrix is unitary.
- isUnitary() - Method in class org.flag4j.arrays.dense.CMatrix
-
Checks if this matrix is unitary.
- isVector() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks if a matrix can be represented as a vector.
- isZero() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in class org.flag4j.algebraic_structures.Complex128
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in class org.flag4j.algebraic_structures.Complex64
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Checks if this value is an additive identity for this semiring.
- isZero() - Method in interface org.flag4j.algebraic_structures.Semiring
-
Checks if this value is an additive identity for this semiring.
- isZero(int) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Checks if a value within
Balancer.balancedMatrix
is zero. - isZero(int) - Method in class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Checks if a value within
Balancer.balancedMatrix
is zero. - isZero(int) - Method in class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Checks if a value within
Balancer.balancedMatrix
is zero. - isZeros() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Checks if this tensor only contains zeros.
- isZeros() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Checks if this tensor only contains zeros.
- isZeros() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Checks if this tensor only contains zeros.
- isZeros() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Checks if this tensor only contains zeros.
- isZeros() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Checks if this tensor only contains zeros.
- isZeros(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Checks if an array contains only zeros.
- isZeros(T[]) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.SemiringProperties
-
Checks if an array contains only zeros.
J
- join(double[], double[]) - Static method in class org.flag4j.util.ArrayJoiner
-
Joins two arrays together.
- join(int[], int[]) - Static method in class org.flag4j.util.ArrayJoiner
-
Joins two arrays together.
- join(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Joints specified vector with this vector.
- join(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Joints specified vector with this vector.
- join(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Joints specified vector with this vector.
- join(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Joints specified vector with this vector.
- join(T) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Joints specified vector with this vector.
- join(T[], int[], int, T[], int[], T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConcat
-
Joins two sparse COO vectors into one vector.
K
- Key Features: - Search tag in class org.flag4j.arrays.dense.FieldTensor
- Section
- Key Features: - Search tag in class org.flag4j.arrays.dense.RingMatrix
- Section
- Key Features: - Search tag in class org.flag4j.arrays.dense.RingTensor
- Section
- Key Features: - Search tag in class org.flag4j.arrays.dense.SemiringMatrix
- Section
- Key Features: - Search tag in class org.flag4j.arrays.dense.SemiringTensor
- Section
- Key Features: - Search tag in class org.flag4j.util.ArrayUtils
- Section
L
- L - Variable in class org.flag4j.linalg.decompositions.chol.Cholesky
-
The lower triangular matrix, L, resulting from the Cholesky decomposition A=LLH.
- leftMult(CMatrix) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Left multiplies this permutation matrix to the specified matrix.
- leftMult(CVector) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Left multiplies this permutation matrix to the specified vector.
- leftMult(Matrix) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Left multiplies this permutation matrix to the specified matrix.
- leftMult(Vector) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Left multiplies this permutation matrix to the specified vector.
- leftMult2x2Rotator(CMatrix, CMatrix, int, Complex128[]) - Static method in class org.flag4j.linalg.transformations.Givens
-
Left multiplies a 2x2 Givens rotator to a matrix at the specified row.
- leftMult2x2Rotator(Matrix, Matrix, int, double[]) - Static method in class org.flag4j.linalg.transformations.Givens
-
Left multiplies a 2x2 Givens rotator to a matrix at the specified row.
- leftMultReflector(CMatrix, Complex128[], Complex128, int, int, int, Complex128[]) - Static method in class org.flag4j.linalg.transformations.Householder
-
Left multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
H, represented by the vectorv
, to another matrixA
. - leftMultReflector(CMatrix, CVector, Complex128, int, int, int) - Static method in class org.flag4j.linalg.transformations.Householder
-
Left multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
H, represented by the vectorv
, to another matrixA
. - leftMultReflector(Matrix, double[], double, int, int, int, double[]) - Static method in class org.flag4j.linalg.transformations.Householder
-
Left multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
T, represented by the vectorv
, to another matrixA
. - leftMultReflector(Matrix, Vector, double, int, int, int) - Static method in class org.flag4j.linalg.transformations.Householder
-
Left multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
T, represented by the vectorv
, to another matrixA
. - length() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Gets the length of a vector.
- length() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Gets the length of a vector.
- length() - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Gets the length of a vector.
- length() - Method in class org.flag4j.arrays.dense.Vector
-
Gets the length of a vector.
- length() - Method in class org.flag4j.arrays.sparse.CooVector
-
Gets the length of a vector.
- length(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Gets the length of the string representation of this complex number.
- length(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Gets the length of the string representation of this complex number.
- Lexer - Class in org.flag4j.io.parsing
- Lexer(String) - Constructor for class org.flag4j.io.parsing.Lexer
- LinearAlgebraException - Exception Class in org.flag4j.util.exceptions
-
An exception which is thrown when a linear algebra related error occurs at runtime.
- LinearAlgebraException(String) - Constructor for exception class org.flag4j.util.exceptions.LinearAlgebraException
-
Creates a
LinearAlgebraException
to be thrown for a linear algebra related error. - LinearMatrixSolver<T,
U> - Interface in org.flag4j.linalg.solvers -
Interface representing a solver for linear systems involving matrices and vectors.
- LinearSolver<T> - Interface in org.flag4j.linalg.solvers
-
Interface representing a linear system solver for tensor equations.
- ln(double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the natural logarithm of a double.
- ln(float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the natural logarithm of a float.
- ln(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex natural logarithm of a complex number.
- ln(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex natural logarithm of a complex number.
- log(double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex logarithm base 10 of a complex number.
- log(double, double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex logarithm, with specified base, of a complex number.
- log(double, Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex logarithm, with specified base, of a complex number.
- log(float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex logarithm base 10 of a complex number.
- log(float, float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex logarithm, with specified base, of a complex number.
- log(float, Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex logarithm, with specified base, of a complex number.
- log(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex logarithm base 10 of a complex number.
- log(Complex128, Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the complex logarithm, with specified base, of a complex number.
- log(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex logarithm base 10 of a complex number.
- log(Complex64, Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the complex logarithm, with specified base, of a complex number.
- lookAt(Vector, Vector, Vector) - Static method in class org.flag4j.linalg.transformations.View
-
Constructs a view matrix for a camera at world position
cameraPos
, looking at the pointcenter
whereup
is the direction of the upwards vector in world coordinates. - LstsqSolver<T,
U> - Class in org.flag4j.linalg.solvers.lstsq -
This class solves a linear system of equations Ax=b in a least-squares sense.
- LstsqSolver(UnitaryDecomposition<T, ?>, LinearMatrixSolver<T, U>) - Constructor for class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Constructs a least-squares solver with a specified decomposer to use in the
QR
decomposition. - lu - Variable in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Decomposer to compute
LU
decomposition. - LU<T> - Class in org.flag4j.linalg.decompositions.lu
-
This abstract class specifies methods for computing the LU decomposition of a matrix.
- LU - Variable in class org.flag4j.linalg.decompositions.lu.LU
-
Storage for L and U matrices.
- LU - Variable in class org.flag4j.linalg.solvers.exact.ExactSolver
-
The unit-lower and upper triangular matrices from the
LU
decomposition stored in a single matrix. - LU(LU.Pivoting) - Constructor for class org.flag4j.linalg.decompositions.lu.LU
-
Constructs a LU decomposer to decompose the specified matrix.
- LU(LU.Pivoting, double) - Constructor for class org.flag4j.linalg.decompositions.lu.LU
-
Constructs a LU decomposer to decompose the specified matrix.
- LU.Pivoting - Enum Class in org.flag4j.linalg.decompositions.lu
-
Simple enum containing pivoting options for pivoting in LU decomposition.
M
- mag() - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the magnitude of this field element.
- mag() - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the magnitude of this field element.
- mag() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the magnitude of this field element.
- mag() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the magnitude of this field element.
- mag() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Computes the magnitude of this ring element.
- mag() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Computes the magnitude of this ring element.
- mag() - Method in interface org.flag4j.algebraic_structures.Ring
-
Computes the magnitude of this ring element.
- mag() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Computes the magnitude of this vector.
- mag() - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.dense.CVector
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.dense.Vector
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Computes the magnitude of this vector.
- mag() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the magnitude of this vector.
- magAsDouble() - Method in class org.flag4j.arrays.dense.CVector
-
Computes the magnitude of this vector as a double value.
- magAsDouble() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Computes the magnitude of this vector as a double value.
- magSquared() - Method in class org.flag4j.algebraic_structures.Complex128
-
Squares this magnitude of this complex number.
- magSquared() - Method in class org.flag4j.algebraic_structures.Complex64
-
Squares this magnitude of this complex number.
- main(String[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
- makeDenseTensor(Shape, double[]) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Makes a dense tensor with the specified shape and data which is a similar type to this sparse tensor.
- makeEigenPairs(CMatrix, double[]) - Method in class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Gets the eigen values and vectors of symmetric the block matrix which corresponds to the singular values and vectors of the matrix being decomposed.
- makeEigenPairs(Matrix, double[]) - Method in class org.flag4j.linalg.decompositions.svd.RealSVD
-
Gets the eigen values and vectors of symmetric the block matrix which corresponds to the singular values and vectors of the matrix being decomposed.
- makeEigenPairs(T, double[]) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the eigen values and vectors of symmetric block matrix which corresponds to the singular values and vectors of the matrix being decomposed.
- makeEigenVals(CMatrix, double[]) - Method in class org.flag4j.linalg.decompositions.svd.ComplexSVD
-
Gets the eigen values of the symmetric block matrix which corresponds to the singular values of the matrix being decomposed.
- makeEigenVals(Matrix, double[]) - Method in class org.flag4j.linalg.decompositions.svd.RealSVD
-
Gets the eigen values of the symmetric block matrix which corresponds to the singular values of the matrix being decomposed.
- makeEigenVals(T, double[]) - Method in class org.flag4j.linalg.decompositions.svd.SVD
-
Gets the eigen values of the symmetric block matrix which corresponds to the singular values of the matrix being decomposed.
- makeEmptyDataArray(int) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Creates an empty array of the same type as the data array of this tensor.
- makeEmptyDataArray(int) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Creates an empty array of the same type as the data array of this tensor.
- makeEmptyDataArray(int) - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Creates an empty array of the same type as the data array of this tensor.
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.dense.CMatrix
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.dense.CTensor
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.dense.CVector
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.sparse.CooCMatrix
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.sparse.CooCTensor
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.sparse.CooCVector
- makeEmptyDataArray(int) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
- makeLikeCooMatrix(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a sparse COO matrix which is of a similar type as this dense matrix.
- makeLikeCooMatrix(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.
- makeLikeCooMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs a sparse COO matrix of similar type to this dense matrix.
- makeLikeCooMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs a sparse COO matrix which is of a similar type as this dense matrix.
- makeLikeCooMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs a sparse COO matrix which is of a similar type as this dense matrix.
- makeLikeCooMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.
- makeLikeCooMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.
- makeLikeCooMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.
- makeLikeCooMatrix(Shape, V[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Constructs a sparse COO matrix which is of a similar type as this dense matrix.
- makeLikeCooMatrix(Shape, W[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.
- makeLikeCooTensor(Shape, Complex128[], int[][]) - Method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, Complex128[], int[][]) - Method in class org.flag4j.arrays.dense.CTensor
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, Complex128[], int[][]) - Method in class org.flag4j.arrays.dense.CVector
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.FieldTensor
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.FieldVector
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.RingTensor
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.RingVector
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.SemiringTensor
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.dense.SemiringVector
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCooTensor(Shape, V[], int[][]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Constructs a sparse COO tensor which is of a similar type as this dense tensor.
- makeLikeCsrMatrix(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a sparse CSR matrix which is of a similar type as this dense matrix.
- makeLikeCsrMatrix(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeCsrMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs a sparse CSR matrix of similar type to this dense matrix.
- makeLikeCsrMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs a sparse CSR matrix which is of a similar type as this dense matrix.
- makeLikeCsrMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs a sparse CSR matrix which is of a similar type as this dense matrix.
- makeLikeCsrMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeCsrMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeCsrMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeCsrMatrix(Shape, V[], int[], int[]) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Constructs a sparse CSR matrix which is of a similar type as this dense matrix.
- makeLikeCsrMatrix(Shape, V[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Constructs a sparse CSR matrix which is of a similar type as this dense matrix.
- makeLikeCsrMatrix(Shape, W[], int[], int[]) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeCsrMatrix(Shape, W[], int[], int[]) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeCsrMatrix(Shape, W[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.
- makeLikeDenseMatrix(Shape, Complex128...) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Constructs a dense matrix of a similar type as this vector with the specified shape and data.
- makeLikeDenseMatrix(Shape, T...) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Constructs a dense matrix of a similar type as this vector with the specified shape and data.
- makeLikeDenseMatrix(Shape, T...) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Constructs a dense matrix of a similar type as this vector with the specified shape and data.
- makeLikeDenseMatrix(Shape, T...) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Constructs a dense matrix of a similar type as this vector with the specified shape and data.
- makeLikeDenseMatrix(Shape, Y...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Constructs a dense matrix of a similar type as this vector with the specified shape and data.
- makeLikeDenseTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a dense tensor with the specified
shape
anddata
which is a similar type to this sparse tensor. - makeLikeDenseTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Constructs a dense tensor that is a similar type as this sparse COO tensor.
- makeLikeDenseTensor(Shape, Complex128...) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Constructs a dense vector of a similar type as this vector with the specified shape and data.
- makeLikeDenseTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a dense matrix which is of a similar type to this sparse CSR matrix.
- makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Constructs a dense tensor with the specified
shape
anddata
which is a similar type to this sparse tensor. - makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Constructs a dense tensor that is a similar type as this sparse COO tensor.
- makeLikeDenseTensor(Shape, T...) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Constructs a dense vector of a similar type as this vector with the specified shape and data.
- makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Constructs a dense tensor with the specified
shape
anddata
which is a similar type to this sparse tensor. - makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Constructs a dense tensor that is a similar type as this sparse COO tensor.
- makeLikeDenseTensor(Shape, T...) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Constructs a dense vector of a similar type as this vector with the specified shape and data.
- makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Constructs a dense tensor with the specified
shape
anddata
which is a similar type to this sparse tensor. - makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Constructs a dense tensor that is a similar type as this sparse COO tensor.
- makeLikeDenseTensor(Shape, T...) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Constructs a dense vector of a similar type as this vector with the specified shape and data.
- makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Constructs a dense matrix which is of a similar type to this sparse CSR matrix.
- makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Constructs a dense matrix which is of a similar type to this sparse CSR matrix.
- makeLikeDenseTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Constructs a dense matrix which is of a similar type to this sparse CSR matrix.
- makeLikeDenseTensor(Shape, V[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Constructs a dense tensor that is a similar type as this sparse COO tensor.
- makeLikeDenseTensor(Shape, W[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Constructs a dense tensor with the specified
shape
anddata
which is a similar type to this sparse tensor. - makeLikeDenseTensor(Shape, W[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Constructs a dense matrix which is of a similar type to this sparse CSR matrix.
- makeLikeDenseTensor(Shape, Y...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Constructs a dense vector of a similar type as this vector with the specified shape and data.
- makeLikeMatrix(Shape, Complex128[]) - Method in class org.flag4j.arrays.dense.CVector
-
Constructs a matrix of similar type to this vector with the specified
shape
anddata
. - makeLikeMatrix(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.
- makeLikeMatrix(Shape, T[]) - Method in class org.flag4j.arrays.dense.FieldVector
-
Constructs a matrix of similar type to this vector with the specified
shape
anddata
. - makeLikeMatrix(Shape, T[]) - Method in class org.flag4j.arrays.dense.RingVector
-
Constructs a matrix of similar type to this vector with the specified
shape
anddata
. - makeLikeMatrix(Shape, T[]) - Method in class org.flag4j.arrays.dense.SemiringVector
-
Constructs a matrix of similar type to this vector with the specified
shape
anddata
. - makeLikeMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.
- makeLikeMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.
- makeLikeMatrix(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.
- makeLikeMatrix(Shape, V[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Constructs a matrix of similar type to this vector with the specified
shape
anddata
. - makeLikeMatrix(Shape, Y[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.
- makeLikeTensor(int, double[], int[]) - Method in class org.flag4j.arrays.sparse.CooVector
-
Constructs a vector of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Complex128[]) - Method in class org.flag4j.arrays.dense.CVector
-
Constructs a dense vector with the specified
data
of the same type as the vector. - makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.dense.Matrix
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.dense.Tensor
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.dense.Vector
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Constructs a sparse COO matrix of the same type as this tensor with the given the shape and data and indices copied from this matrix.
- makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Constructs a sparse tensor of the same type as this tensor with the same indices as this sparse tensor and with the provided the shape and data.
- makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.sparse.CooVector
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, double[]) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Constructs a CSR matrix of the same type as this matrix with the given the
shape
anddata
and the same row pointers and column indices as this matrix. - makeLikeTensor(Shape, double[], int[][]) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Constructs a sparse tensor of the same type as this tensor with the given the shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<Double>, List<int[]>) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Constructs a sparse tensor of the same type as this tensor with the given the shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<Complex128>, List<int[]>) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, List<Complex128>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Constructs a COO vector with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<Complex128>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a COO matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<Complex128>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a CSR matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<int[]>) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Constructs a sparse tensor of the same type as this tensor with the given the shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<int[]>) - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, List<T>, List<int[]>) - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, List<T>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Constructs a COO vector with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Constructs a COO vector with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Constructs a COO vector with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Constructs a COO matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Constructs a COO matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Constructs a COO matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Constructs a CSR matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Constructs a CSR matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<T>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Constructs a CSR matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<V>, List<int[]>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, List<W>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Constructs a COO matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<W>, List<Integer>, List<Integer>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Constructs a CSR matrix with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, List<Y>, List<Integer>) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Constructs a COO vector with the specified shape, non-zero data, and non-zero indices.
- makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.dense.CTensor
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.dense.CVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, Complex128[]) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, Complex128[], int[]) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.
- makeLikeTensor(Shape, Complex128[], int[][]) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, Complex128[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.FieldTensor
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.FieldVector
-
Constructs a tensor of the same type as this tensor with the given the shape and data.
- makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.RingTensor
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.RingVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.SemiringTensor
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.dense.SemiringVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Constructs a sparse tensor of the same type as this tensor with the same indices as this sparse tensor and with the provided the shape and data.
- makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[]) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, T[], int[]) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[]) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[]) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, T[], int[][]) - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, T[], int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, U) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, V) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Constructs a tensor of the same type as this tensor with the given the
shape
anddata
. - makeLikeTensor(Shape, V[], int[][]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.
- makeLikeTensor(Shape, W[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, W[], int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.
- makeLikeTensor(Shape, Y[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.
- makeLikeTensor(T...) - Method in class org.flag4j.arrays.dense.FieldVector
-
Creates a vector with the specified
data
. - makeLikeTensor(T[]) - Method in class org.flag4j.arrays.dense.RingVector
-
Constructs a dense vector with the specified
data
of the same type as the vector. - makeLikeTensor(T[]) - Method in class org.flag4j.arrays.dense.SemiringVector
-
Constructs a dense vector with the specified
data
of the same type as the vector. - makeLikeTensor(V[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Constructs a dense vector with the specified
data
of the same type as the vector. - makeLikeVector(Complex128[]) - Method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(Shape, Complex128[]) - Method in class org.flag4j.arrays.dense.CMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(Shape, Complex128[], int[]) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Constructs a sparse COO vector of a similar type to this COO matrix.
- makeLikeVector(Shape, T[]) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(Shape, T[]) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(Shape, T[]) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(Shape, T[], int[]) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Constructs a sparse COO vector of a similar type to this COO matrix.
- makeLikeVector(Shape, T[], int[]) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Constructs a sparse COO vector of a similar type to this COO matrix.
- makeLikeVector(Shape, T[], int[]) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Constructs a sparse COO vector of a similar type to this COO matrix.
- makeLikeVector(Shape, V[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(Shape, W[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Constructs a sparse COO vector of a similar type to this COO matrix.
- makeLikeVector(T...) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Constructs a vector of similar type to this matrix with the given
data
. - makeLikeVector(T[]) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(T[]) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Constructs a vector of a similar type as this matrix.
- makeLikeVector(V[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Constructs a vector of a similar type as this matrix.
- makeReflector(int, double, double) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Constructs a householder reflector given specified values for a column to apply the reflector to.
- makeReflector(int, double, double, double) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Constructs a householder reflector given specified values for a column to apply the reflector to.
- makeReflector(int, Complex128, Complex128) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Constructs a householder reflector given specified values for a column to apply the reflector to.
- makeReflector(int, Complex128, Complex128, Complex128) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Constructs a householder reflector given specified values for a column to apply the reflector to.
- map(T[], Function<T, T>) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.TransformSemiRing
-
Applies a specified function to each element of the given array and returns a new array containing the results of the mapping operation.
- mapReduce(T[], Function<T, T>, BinaryOperator<T>) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.TransformSemiRing
-
Applies a map-reduce procedure to an array of
Semiring
values. - Mathematical Functions: - Search tag in class org.flag4j.algebraic_structures.Complex128
- Section
- Mathematical Functions: - Search tag in class org.flag4j.algebraic_structures.Complex64
- Section
- matMultShapeErrMsg(Shape, Shape) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for two matrices with shapes not conducive with matrix multiplication.
- MatMultVisitor - Class in org.flag4j.arrays.backend.smart_visitors
- MatMultVisitor(MatrixMixin<?, ?, ?, ?>) - Constructor for class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- Matrix - Class in org.flag4j.arrays.dense
-
Instances of this class represents a complex dense matrix backed by a
double[]
array. - Matrix(double[][]) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix whose data are specified by a double array.
- Matrix(int) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Constructs a square real dense matrix of a specified size.
- Matrix(int[][]) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix whose data are specified by a double array.
- Matrix(int, double) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a square real dense matrix with a specified fill value.
- Matrix(int, int) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix of a specified shape filled with zeros.
- Matrix(int, int, double) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix with a specified shape and fills the matrix with the specified value.
- Matrix(int, int, double...) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Constructs a matrix with specified shape and data.
- Matrix(Double[][]) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix whose data are specified by a double array.
- Matrix(Integer[][]) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix whose data are specified by a double array.
- Matrix(Matrix) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix which is a copy of a specified matrix.
- Matrix(Shape) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix with specified shape filled with zeros.
- Matrix(Shape, double) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a real dense matrix with specified shape filled with a specific value.
- Matrix(Shape, double...) - Constructor for class org.flag4j.arrays.dense.Matrix
-
Creates a tensor with the specified data and shape.
- MATRIX - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMObject
- matrixBinarySearch(int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.SparseElementSearch
-
Preforms a binary search along the row and column indices of the non-zero values of a sparse matrix for the location of an entry with the specified target indices.
- matrixEquals(AbstractDenseFieldMatrix<?, ?, T>, AbstractCooFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldEquals
-
Checks if two real dense matrices are equal.
- matrixEquals(CMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseEquals
-
Checks if a dense complex matrix is equal to a real sparse matrix.
- matrixEquals(Matrix, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseEquals
-
Checks if two real dense matrices are equal.
- matrixEquals(Matrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseEquals
-
Checks if two real dense matrices are equal.
- matrixEquals(Matrix, CooCMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseEquals
-
Checks if a real dense matrix is equal to a sparse complex matrix.
- matrixEquals(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseEquals
-
Checks if a real dense matrix is equal to a real sparse matrix.
- matrixEquals(CooMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseEquals
-
Checks if a real sparse matrix and complex sparse matrix are equal.
- matrixFindRowStartEnd(int[], int) - Static method in class org.flag4j.linalg.ops.sparse.SparseElementSearch
-
Finds the indices of the first and last non-zero element in the specified row of a sparse matrix.
- matrixGet(CooMatrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Gets the specified element from a sparse matrix.
- MatrixMarketHeader - Record Class in org.flag4j.io
-
A data record for storing the tokens of a Matrix Market Exchange Format file header.
- MatrixMarketHeader(MatrixMarketHeader.MMObject, MatrixMarketHeader.MMFormat, MatrixMarketHeader.MMField, MatrixMarketHeader.MMSymmetry, String...) - Constructor for record class org.flag4j.io.MatrixMarketHeader
-
Creates an instance of a
MatrixMarketHeader
record class. - MatrixMarketHeader.MMField - Enum Class in org.flag4j.io
-
Enum containing valid field types in a Matrix Market file.
- MatrixMarketHeader.MMFormat - Enum Class in org.flag4j.io
-
Enum containing valid formats in a Matrix Market file.
- MatrixMarketHeader.MMObject - Enum Class in org.flag4j.io
-
Enum containing valid object types in a Matrix Market file.
- MatrixMarketHeader.MMSymmetry - Enum Class in org.flag4j.io
-
Enum containing valid symmetry in a Matrix Market file.
- MatrixMarketReader - Class in org.flag4j.io
-
Instances of this class may be used to parse a file containing matrix or vector data in Matrix Market Exchange Format.
- MatrixMarketReader() - Constructor for class org.flag4j.io.MatrixMarketReader
- MatrixMarketWriter - Class in org.flag4j.io
- MatrixMixin<T,
U, - Interface in org.flag4j.arrays.backendV, W> -
The
MatrixMixin
interface defines methods that any matrix implementation must support. - MatrixMultiplyDispatcher - Class in org.flag4j.linalg.ops
-
Dispatches matrix multiplication to the appropriate algorithm based on the size of the matrices to be multiplied.
- matrixNormL2(CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseNorms
-
Computes the L2 norm of a matrix.
- matrixNormL22(AbstractCooRingMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingNorms
-
Computes the L2, 2 norm of a matrix.
- matrixNormLp(CooMatrix, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseNorms
-
Computes the Lp norm of a matrix.
- matrixNormLpq(AbstractCooRingMatrix<?, ?, ?, T>, double, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingNorms
-
Computes the Lp, q norm of a matrix.
- matrixNormLpq(CooMatrix, double, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseNorms
-
Computes the Lp, q norm of a matrix.
- MatrixNorms - Class in org.flag4j.linalg
-
A utility class providing a range of matrix norm computations for both real and complex matrices.
- matrixRank() - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the rank of this matrix (i.e. the number of linearly independent rows/columns in this matrix).
- matrixSet(CooMatrix, int, int, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Sets the specified element from a sparse matrix.
- matrixToString(Shape, double[]) - Static method in class org.flag4j.io.PrettyPrint
-
Converts a matrix into a "pretty" string using parameters set in the
PrintOptions
class. - matrixToString(Shape, T[]) - Static method in class org.flag4j.io.PrettyPrint
-
Converts a matrix into a "pretty" string using parameters set in the
PrintOptions
class. - MatrixVisitor<T> - Class in org.flag4j.arrays.backend.smart_visitors
- MatrixVisitor(T) - Constructor for class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- max - Variable in class org.flag4j.rng.distributions.Complex128UniformDisk
-
Outer radius of the annulus (exclusive).
- max - Variable in class org.flag4j.rng.distributions.RealUniform
-
Upper bound of the uniform distribution (exclusive).
- max() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the maximum value in this tensor.
- max() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Finds the maximum value in this tensor.
- max() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the maximum value in this tensor.
- max() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the maximum value in this tensor.
- max() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Finds the maximum value in this tensor.
- max() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Finds the maximum (non-zero) value in this tensor.
- max() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Finds the maximum value in this tensor.
- max() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Finds the maximum value in this tensor.
- max(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Computes the maximum value in a tensor.
- max(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the maximum magnitude from an array of complex numbers.
- max(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the maximum magnitude from an array of complex numbers.
- max(T...) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.CompareSemiring
-
Computes the maximum value in the specified array.
- maxAbs() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the maximum absolute value in this tensor.
- maxAbs() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Finds the maximum absolute value in this tensor.
- maxAbs() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Finds the maximum absolute value in this tensor.
- maxAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the maximum absolute value in this tensor.
- maxAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the maximum absolute value in this tensor.
- maxAbs(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Computes the maximum absolute value in a tensor.
- maxAbs(double[], int, int, int) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Returns the maximum absolute value among
n
elements in the arraysrc
, starting at indexstart
and advancing bystride
for each subsequent element. - maxAbs(T...) - Static method in class org.flag4j.linalg.ops.common.ring_ops.CompareRing
-
Computes the maximum absolute value in the specified array.
- maxAbs(T[], int, int, int) - Static method in class org.flag4j.linalg.ops.common.ring_ops.CompareRing
-
Returns the maximum absolute value among
n
elements in the arraysrc
, starting at indexstart
and advancing bystride
for each subsequent element. - maxIm - Variable in class org.flag4j.rng.distributions.Complex128UniformRect
-
Upper bound of the imaginary component of the uniform distribution (exclusive).
- maxIterations - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Maximum number of iterations to run QR algorithm for.
- maxIterationsFactor - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Factor for computing the maximum number of iterations to run the QR algorithm for.
- maxNorm(AbstractDenseRingMatrix<?, ?, ?>) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the maximum norm of this matrix.
- maxNorm(Matrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the maximum norm of this matrix.
- maxNorm(CooCMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the max norm of a matrix.
- maxNorm(CooMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the max norm of a matrix.
- maxNorm(CsrCMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the max norm of a matrix.
- maxNorm(CsrMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the max norm of a matrix.
- maxRe - Variable in class org.flag4j.rng.distributions.Complex128UniformRect
-
Upper bound of the real component of the uniform distribution (exclusive).
- maxRe(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the minimum real component from an array of complex numbers.
- maxRe(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the minimum real component from an array of complex numbers.
- maxStringLengthRounded(double[], int) - Static method in class org.flag4j.io.PrettyPrint
-
Computes the maximum length of the string representation of a double in an array of doubles up until stopping index.
- maxStringLengthRounded(double[], int, int, int, int) - Static method in class org.flag4j.io.PrettyPrint
-
Computes the maximum length of the string representation of an element in an array over a specified range with elements spaced by some specified
stride
. - maxStringLengthRounded(T[], int) - Static method in class org.flag4j.io.PrettyPrint
-
Computes the maximum length of the string representation of an element in an array up until some stopping index.
- maxStringLengthRounded(T[], int, int, int, int) - Static method in class org.flag4j.io.PrettyPrint
-
Computes the maximum length of the string representation of an element in an array over a specified range with elements spaced by some specified
stride
. - mean - Variable in class org.flag4j.rng.distributions.RealGaussian
-
Mean of the Gaussian distribution.
- min - Variable in class org.flag4j.rng.distributions.Complex128UniformDisk
-
Inner radius of the annulus (inclusive).
- min - Variable in class org.flag4j.rng.distributions.RealUniform
-
Lower bound of the uniform distribution (inclusive).
- min() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the minimum value in this tensor.
- min() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Finds the minimum value in this tensor.
- min() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the minimum value in this tensor.
- min() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the minimum value in this tensor.
- min() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Finds the minimum value in this tensor.
- min() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Finds the minimum (non-zero) value in this tensor.
- min() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Finds the minimum value in this tensor.
- min() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Finds the minimum value in this tensor.
- min(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Computes the minimum value in a tensor.
- min(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the minimum magnitude from an array of complex numbers.
- min(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the minimum magnitude from an array of complex numbers.
- min(T...) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.CompareSemiring
-
Computes the minimum value in the specified array.
- minAbs() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Finds the minimum value, in absolute value, in this tensor.
- minAbs() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Finds the minimum value, in absolute value, in this tensor.
- minAbs() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Finds the minimum value, in absolute value, in this tensor.
- minAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Finds the minimum value, in absolute value, in this tensor.
- minAbs() - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Finds the minimum value, in absolute value, in this tensor.
- minAbs(double...) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Computes the minimum absolute value in a tensor.
- minAbs(double[], int, int, int) - Static method in class org.flag4j.linalg.ops.common.real.RealProperties
-
Returns the minimum absolute value among
n
elements in the arraysrc
, starting at indexstart
and advancing bystride
for each subsequent element. - minAbs(T...) - Static method in class org.flag4j.linalg.ops.common.ring_ops.CompareRing
-
Computes the minimum absolute value in the specified array.
- minAbs(T[], int, int, int) - Static method in class org.flag4j.linalg.ops.common.ring_ops.CompareRing
-
Returns the minimum absolute value among
n
elements in the arraysrc
, starting at indexstart
and advancing bystride
for each subsequent element. - minAxisSize - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
The minimum of rows and columns in the matrix to be decomposed.
- minIm - Variable in class org.flag4j.rng.distributions.Complex128UniformRect
-
Lower bound of the imaginary component of the uniform distribution (inclusive).
- minRe - Variable in class org.flag4j.rng.distributions.Complex128UniformRect
-
Lower bound of the real component of the uniform distribution (inclusive).
- minRe(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the minimum real component from an array of complex numbers.
- minRe(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the minimum real component from an array of complex numbers.
- mult(double) - Method in class org.flag4j.algebraic_structures.Complex128
-
Multiplies an element of this field with a real number.
- mult(double) - Method in interface org.flag4j.algebraic_structures.Field
-
Multiplies an element of this field with a real number (associative and commutative).
- mult(double) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Multiplies an element of this field with a real number (associative and commutative).
- mult(double) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Multiplies an element of this field with a real number (associative and commutative).
- mult(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Multiplies a primitive scalar value to each entry of this tensor.
- mult(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Multiplies a primitive scalar value to each entry of this tensor.
- mult(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Multiplies a primitive scalar value to each entry of this tensor.
- mult(double[], V, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Multiplies a scalar value to each entry of the
src
tensor. - mult(float) - Method in class org.flag4j.algebraic_structures.Complex64
-
Multiplies an element of this field and a real number (associative and commutative).
- mult(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Multiplies a scalar value to each entry of this tensor.
- mult(BoolSemiring) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Performs the multiplication operation of this semiring, defined as logical AND.
- mult(Complex128) - Method in class org.flag4j.algebraic_structures.Complex128
-
Multiplies two elements of this field (associative and commutative).
- mult(Complex128) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the scalar multiplication of this matrix with a complex number.
- mult(Complex128) - Method in class org.flag4j.arrays.dense.Tensor
-
Multiplies a complex scalar value to each entry of this tensor.
- mult(Complex128) - Method in class org.flag4j.arrays.dense.Vector
-
Multiplies this vector by a complex-valued scalar.
- mult(Complex128) - Method in class org.flag4j.arrays.sparse.CooVector
-
Multiplies this vector by a complex scalar value.
- mult(Complex64) - Method in class org.flag4j.algebraic_structures.Complex64
-
Multiplies two elements of this field (associative and commutative).
- mult(RealFloat32) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Multiplies two elements of this field (associative and commutative).
- mult(RealFloat64) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Multiplies two elements of this field (associative and commutative).
- mult(RealInt16) - Method in class org.flag4j.algebraic_structures.RealInt16
-
Multiplies two elements of this ring (associative and commutative).
- mult(RealInt32) - Method in class org.flag4j.algebraic_structures.RealInt32
-
Multiplies two elements of this field (associative and commutative).
- mult(CMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication between this matrix and a complex dense matrix.
- mult(CMatrix) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CVector) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix-vector product of this matrix and a dense complex vector.
- mult(CVector) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(Matrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix multiplication between two matrices.
- mult(Matrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication between two matrices.
- mult(Matrix) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix multiplication between two matrices.
- mult(Matrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Multiplies this sparse CSR matrix with a real dense matrix.
- mult(Vector) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix-vector multiplication between this matrix and a vector.
- mult(Vector) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes matrix-vector multiplication.
- mult(SmartMatrix) - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the matrix multiplication of two matrices.
- mult(CooCMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CooCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication between this matrix and a complex sparse COO matrix.
- mult(CooCMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CooCVector) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix-vector multiplication between this matrix and a vector.
- mult(CooCVector) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix-vector product of this matrix and a complex sparse vector.
- mult(CooCVector) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooCVector) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooFieldVector<T>) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooFieldVector<T>) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CooMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication between this matrix and a real sparse COO matrix.
- mult(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CooRingVector<T>) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooRingVector<T>) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooSemiringVector<T>) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooSemiringVector<T>) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(CooVector) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix-vector multiplication between this matrix and a vector.
- mult(CooVector) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix-vector product of this matrix and a real sparse vector.
- mult(CooVector) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes matrix-vector multiplication.
- mult(CooVector) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes matrix-vector multiplication.
- mult(CsrCMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CsrCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication between this matrix and a complex sparse CSR matrix.
- mult(CsrCMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CsrMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CsrMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication between this matrix and a real sparse CSR matrix.
- mult(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix multiplication between two matrices.
- mult(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the matrix multiplication between two matrices.
- mult(PermutationMatrix) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the matrix-matrix multiplication between two permutation matrices.
- mult(T) - Method in interface org.flag4j.algebraic_structures.Semiring
-
Multiplies two elements of this semiring (associative).
- mult(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the matrix multiplication between two matrices.
- mult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the matrix multiplication between two matrices.
- mult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the matrix multiplication between two matrices.
- mult(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Computes the matrix multiplication between two matrices.
- mult(U) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Multiplies a scalar value to each entry of this tensor.
- mult(V) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the matrix-vector multiplication of a vector with this matrix.
- mult(V) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Multiplies a scalar value to each entry of this tensor.
- mult(V) - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Multiplies a scalar value to each entry of this tensor.
- mult(V[], double, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Multiplies a primitive scalar value to each entry of the
src
tensor. - mult(W) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Multiplies a scalar value to each entry of this tensor.
- MULT_T - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- MULT_T - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- MULT_T_BLOCKED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- MULT_T_BLOCKED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- MULT_T_BLOCKED_CONCURRENT - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- MULT_T_BLOCKED_CONCURRENT - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- MULT_T_CONCURRENT - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- MULT_T_CONCURRENT - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- mult2Csr(CsrCMatrix) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix multiplication between two matrices.
- mult2Csr(CsrCMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the matrix multiplication between two sparse CSR matrices and stores the result in a CSR matrix.
- mult2Csr(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the matrix multiplication between two matrices.
- mult2Csr(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the matrix multiplication between two sparse CSR matrices and stores the result in a CSR matrix.
- mult2Csr(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the matrix multiplication between two sparse CSR matrices and stores the result in a sparse matrix.
- multEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Multiplies a primitive scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Multiplies a primitive scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Multiplies a primitive scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Multiplies a scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Multiplies a scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(V) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Multiplies a scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(V) - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Multiplies a scalar value to each entry of this tensor and stores the result in this tensor.
- multEq(W) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Multiplies a scalar value to each entry of this tensor and stores the result in this tensor.
- multInv() - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the multiplicative inverse of this complex number.
- multInv() - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the multiplicative inverse of this complex number.
- multInv() - Method in interface org.flag4j.algebraic_structures.Field
-
Computes the multiplicative inverse for an element of this field.
- multInv() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the multiplicative inverse for an element of this field.
- multInv() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the multiplicative inverse for an element of this field.
- multToSparse(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the matrix multiplication between two sparse CSR matrices and stores the result in a sparse matrix.
- multTranspose(double[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixMultTranspose
-
Multiplies a real dense matrix to the transpose of a real sparse matrix.
- multTranspose(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix.
- multTranspose(double[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMultTranspose
-
Multiplies a real dense matrix to the transpose of a sparse field matrix.
- multTranspose(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix.
- multTranspose(Matrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.H())
. - multTranspose(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Multiplies this matrix with the transpose of the
b
tensor as if bythis.mult(b.T())
. - multTranspose(T[], Shape, double[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMultTranspose
-
Multiplies a dense field matrix to the transpose of a real sparse matrix.
- multTranspose(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix.
- multTranspose(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix.
- multTransposeBlocked(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.
- multTransposeBlocked(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.
- multTransposeBlocked(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.
- multTransposeBlocked(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.
- multTransposeBlockedConcurrent(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.
- multTransposeBlockedConcurrent(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.
- multTransposeBlockedConcurrent(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.
- multTransposeBlockedConcurrent(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.
- multTransposeConcurrent(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.
- multTransposeConcurrent(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.
- multTransposeConcurrent(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.
- multTransposeConcurrent(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultTranspose
-
Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.
N
- NaN - Static variable in class org.flag4j.algebraic_structures.Complex128
-
Complex number with real and imaginary parts equal to
Double.NaN
. - NaN - Static variable in class org.flag4j.algebraic_structures.Complex64
-
Complex number with real and imaginary parts equal to
Float.NaN
. - nDArrayShape(Object) - Static method in class org.flag4j.util.ArrayUtils
-
Infers the shape of a rectangular nD Java array.
- nDFlatten(Object, Shape, double[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Recursively validates the shape of the nD array and flattens it into the provided 1D array.
- nDFlatten(Object, Shape, T[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Recursively validates the shape of the nD array and flattens it into the provided 1D array.
- nearZero(Complex128, double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Checks if a number is near zero in magnitude.
- nearZero(Complex64, float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Checks if a number is near zero in magnitude.
- NEGATIVE_INFINITY - Static variable in class org.flag4j.algebraic_structures.Complex128
-
Complex number with real part equal to
Double.NEGATIVE_INFINITY
. - NEGATIVE_INFINITY - Static variable in class org.flag4j.algebraic_structures.Complex64
-
Complex number with real part equal to
Float.NEGATIVE_INFINITY
. - NEGATIVE_ONE - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value
-1.0
. - NEGATIVE_ONE - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value
-1.0
. - NEGATIVE_ONE - Static variable in class org.flag4j.algebraic_structures.RealInt16
-
The numerical value -1.
- NEGATIVE_ONE - Static variable in class org.flag4j.algebraic_structures.RealInt32
-
The numerical value -1.
- negativeDimErrMsg(int[]) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for an attempted construction of a tensor with a negative dimension.
- newShape1 - Variable in class org.flag4j.linalg.ops.TensorDot
- newShape2 - Variable in class org.flag4j.linalg.ops.TensorDot
- nnz - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Number of non-zero data in this COO matrix.
- nnz - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
The number of non-zero data in this sparse tensor.
- nnz - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
The number of non-zero data in this sparse COO vector.
- nnz - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Number of non-zero data in this CSR matrix.
- nnz - Variable in class org.flag4j.arrays.sparse.CooMatrix
-
Number of non-zero data in this COO matrix.
- nnz - Variable in class org.flag4j.arrays.sparse.CooTensor
-
The number of non-zero data in this tensor.
- nnz - Variable in class org.flag4j.arrays.sparse.CooVector
-
The number of non-zero values in this sparse COO vector.
- nnz - Variable in class org.flag4j.arrays.sparse.CsrMatrix
-
Number of non-zero data in this CSR matrix.
- NONE - Enum constant in enum class org.flag4j.linalg.decompositions.lu.LU.Pivoting
- noPivot() - Method in class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Computes the LU decomposition using no pivoting (i.e. rows and columns are not swapped).
- noPivot() - Method in class org.flag4j.linalg.decompositions.lu.FieldLU
-
Computes the LU decomposition using no pivoting (i.e. rows and columns are not swapped).
- noPivot() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Computes the LU decomposition using no pivoting (i.e. rows and columns are not swapped).
- noPivot() - Method in class org.flag4j.linalg.decompositions.lu.RealLU
-
Computes the LU decomposition using no pivoting (i.e. rows and columns are not swapped).
- norm - Variable in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
For computing the norm of a column for use when computing Householder reflectors.
- norm - Variable in class org.flag4j.linalg.decompositions.schur.RealSchur
-
For computing the norm of a column for use when computing Householder reflectors.
- norm - Variable in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
For storing the scaled, phase-adjusted norm.
- norm - Variable in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
To store norms of columns in
UnitaryDecomposition.transformMatrix
. - norm() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the Euclidean norm of this vector.
- norm() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Computes the Euclidean norm of this vector.
- norm() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Computes the Euclidean norm of this vector.
- norm() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Computes the Euclidean norm of this vector.
- norm() - Method in class org.flag4j.arrays.dense.CMatrix
-
// TODO: Update javadoc.
- norm() - Method in class org.flag4j.arrays.dense.Vector
-
Computes the Euclidean norm of this vector.
- norm() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the Euclidean norm of this vector.
- norm(double) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the p-norm of this vector.
- norm(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Computes the p-norm of this vector.
- norm(double) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Computes the p-norm of this vector.
- norm(double) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Computes the p-norm of this vector.
- norm(double) - Method in class org.flag4j.arrays.dense.CMatrix
-
// TODO: Update javadoc.
- norm(double...) - Static method in class org.flag4j.linalg.VectorNorms
-
Computes the Euclidean (ℓ2) norm of a real dense or sparse vector.
- norm(double[], double) - Static method in class org.flag4j.linalg.VectorNorms
-
Computes the ℓp norm (or p-norm) of a real dense or sparse vector.
- norm(double[], int, int, int) - Static method in class org.flag4j.linalg.VectorNorms
-
Computes the ℓ2 (Euclidean) norm of a sub-vector within
src
, starting at indexstart
and consideringn
elements spaced bystride
. - norm(double, double) - Method in class org.flag4j.arrays.dense.CMatrix
-
// TODO: Update javadoc.
- norm(int) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the p-norm of this vector.
- norm(int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the p-norm of this vector.
- norm(int, int) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Computes the p-norm of this vector.
- norm(AbstractDenseRingMatrix<?, ?, ?>) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Frobenius (or L2, 2) norm of a real dense matrix.
- norm(AbstractDenseRingMatrix<?, ?, ?>, double, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Lp, q norm of a real dense matrix.
- norm(Matrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Frobenius (or L2, 2) norm of a real dense matrix.
- norm(Matrix, double, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Lp, q norm of a real dense matrix.
- norm(CooCMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Frobenius (L2, 2) norm of this complex COO matrix.
- norm(CooCMatrix, double, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Lp, q norm of a complex COO matrix.
- norm(CooMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Frobenius (L2, 2) norm of this complex COO matrix.
- norm(CooMatrix, double, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Lp, q norm of a real COO matrix.
- norm(CsrCMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Frobenius of this matrix.
- norm(CsrCMatrix, double, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Lp, q norm of a complex CSR matrix.
- norm(CsrMatrix) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Frobenius (L2, 2) of this matrix.
- norm(CsrMatrix, double, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Lp, q norm of a real CSR matrix.
- norm(T...) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingVectorNorms
-
Computes the 2-norm of a vector.
- norm(T...) - Static method in class org.flag4j.linalg.VectorNorms
-
Computes the Euclidean (ℓ2) norm of a dense or sparse vector whose entries are members of a
Ring
. - norm(T[], double) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingVectorNorms
-
Computes the
p
-norm of a vector. - norm(T[], double) - Static method in class org.flag4j.linalg.VectorNorms
-
Computes the ℓp norm (or p-norm) of a dense or sparse vector whose entries are members of a
Ring
. - norm(T[], int, int, int) - Static method in class org.flag4j.linalg.VectorNorms
-
Computes the ℓ2 (Euclidean) norm of a sub-vector within
src
, starting at indexstart
and consideringn
elements spaced bystride
. - normalize() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.dense.CVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.dense.Vector
-
Computes a unit vector in the same direction as this vector.
- normalize() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Normalizes this vector to a unit length vector.
- normalize() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes a unit vector in the same direction as this vector.
- normRe - Variable in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
To store norms of columns in
UnitaryDecomposition.transformMatrix
. - not() - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Computes the logical NOT (negation) of this
BoolSemiring
. - notContains(int[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Checks if a key is in an array.
- Notes: - Search tag in class org.flag4j.arrays.SmartMatrix
- Section
- notInAxes(int[], int) - Static method in class org.flag4j.util.ArrayUtils
-
Given a list of integers,
srcAxes
, which is a subset of{0, 1, 2, ...., dim-1}
in no particular order, compute the integers which are in{0, 1, 2, ...., dim-1}
but not insrcAxes
. - numCols - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
The number of columns in this matrix.
- numCols - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
The number of columns in this matrix.
- numCols - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
The number of columns in this matrix.
- numCols - Variable in class org.flag4j.arrays.dense.Matrix
-
The number of columns in this matrix.
- numCols - Variable in class org.flag4j.arrays.sparse.CooMatrix
-
The number of columns in this matrix.
- numCols - Variable in class org.flag4j.arrays.sparse.CsrMatrix
-
The number of columns in this matrix.
- numCols - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Number of columns in
UnitaryDecomposition.transformMatrix
. - numCols() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the number of columns in this matrix.
- numCols() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the number of columns in this matrix.
- numCols() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the number of columns in this matrix.
- numCols() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets the number of columns in this matrix.
- numCols() - Method in class org.flag4j.arrays.dense.Matrix
-
Gets the number of columns in this matrix.
- numCols() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets the number of columns in this matrix.
- numCols() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets the number of columns in this matrix.
- numColSwaps - Variable in class org.flag4j.linalg.decompositions.lu.LU
- numExceptional - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
The total number of exceptional shifts that have been used during the decomposition.
- numRows - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
The number of rows in this matrix.
- numRows - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
The number of rows in this matrix.
- numRows - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
The number of rows in this matrix.
- numRows - Variable in class org.flag4j.arrays.dense.Matrix
-
The number of rows in this matrix.
- numRows - Variable in class org.flag4j.arrays.sparse.CooMatrix
-
The number of rows in this matrix.
- numRows - Variable in class org.flag4j.arrays.sparse.CsrMatrix
-
The number of rows in this matrix.
- numRows - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Stores the number of rows in the matrix being decomposed.
- numRows - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Number of rows in
UnitaryDecomposition.transformMatrix
. - numRows() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Gets the number of rows in this matrix.
- numRows() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the number of rows in this matrix.
- numRows() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the number of rows in this matrix.
- numRows() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Gets the number of rows in this matrix.
- numRows() - Method in class org.flag4j.arrays.dense.Matrix
-
Gets the number of rows in this matrix.
- numRows() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Gets the number of rows in this matrix.
- numRows() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Gets the number of rows in this matrix.
- numRowSwaps - Variable in class org.flag4j.linalg.decompositions.lu.LU
- numUnique(double[]) - Static method in class org.flag4j.util.ArrayUtils
-
Counts the number of unique elements in an array.
- numUnique(int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Counts the number of unique elements in an array.
O
- object() - Method in record class org.flag4j.io.MatrixMarketHeader
-
Returns the value of the
object
record component. - ONE - Static variable in class org.flag4j.algebraic_structures.BoolSemiring
-
The boolean value true.
- ONE - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The complex number with zero imaginary part and one real part.
- ONE - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The complex number with zero imaginary part and one real part.
- ONE - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value
1.0
. - ONE - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value
1.0
. - ONE - Static variable in class org.flag4j.algebraic_structures.RealInt16
-
The numerical value 1.
- ONE - Static variable in class org.flag4j.algebraic_structures.RealInt32
-
The numerical value 1.
- or(BoolSemiring) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Computes the logical OR of this
BoolSemiring
with another. - org.flag4j.algebraic_structures - package org.flag4j.algebraic_structures
-
Provides algebraic structures such as semirings, rings, and fields, along with their concrete implementations.
- org.flag4j.arrays - package org.flag4j.arrays
- org.flag4j.arrays.backend - package org.flag4j.arrays.backend
- org.flag4j.arrays.backend.field_arrays - package org.flag4j.arrays.backend.field_arrays
- org.flag4j.arrays.backend.primitive_arrays - package org.flag4j.arrays.backend.primitive_arrays
- org.flag4j.arrays.backend.ring_arrays - package org.flag4j.arrays.backend.ring_arrays
- org.flag4j.arrays.backend.semiring_arrays - package org.flag4j.arrays.backend.semiring_arrays
- org.flag4j.arrays.backend.smart_visitors - package org.flag4j.arrays.backend.smart_visitors
- org.flag4j.arrays.dense - package org.flag4j.arrays.dense
-
Provides implementations for dense tensors, matrices, and vectors.
- org.flag4j.arrays.sparse - package org.flag4j.arrays.sparse
-
Contains implementations for sparse tensors, matrices, and vectors.
- org.flag4j.concurrency - package org.flag4j.concurrency
-
Utilities, configurations, and management for multithreaded implementations.
- org.flag4j.io - package org.flag4j.io
-
IO for vector, matrix, and tensor objects.
- org.flag4j.io.parsing - package org.flag4j.io.parsing
- org.flag4j.linalg - package org.flag4j.linalg
- org.flag4j.linalg.decompositions - package org.flag4j.linalg.decompositions
- org.flag4j.linalg.decompositions.balance - package org.flag4j.linalg.decompositions.balance
- org.flag4j.linalg.decompositions.chol - package org.flag4j.linalg.decompositions.chol
- org.flag4j.linalg.decompositions.hess - package org.flag4j.linalg.decompositions.hess
- org.flag4j.linalg.decompositions.lu - package org.flag4j.linalg.decompositions.lu
- org.flag4j.linalg.decompositions.qr - package org.flag4j.linalg.decompositions.qr
- org.flag4j.linalg.decompositions.schur - package org.flag4j.linalg.decompositions.schur
- org.flag4j.linalg.decompositions.svd - package org.flag4j.linalg.decompositions.svd
- org.flag4j.linalg.decompositions.unitary - package org.flag4j.linalg.decompositions.unitary
- org.flag4j.linalg.ops - package org.flag4j.linalg.ops
- org.flag4j.linalg.ops.common - package org.flag4j.linalg.ops.common
-
This package contains ops which can be applied to both dense or sparse tensors.
- org.flag4j.linalg.ops.common.complex - package org.flag4j.linalg.ops.common.complex
- org.flag4j.linalg.ops.common.field_ops - package org.flag4j.linalg.ops.common.field_ops
- org.flag4j.linalg.ops.common.real - package org.flag4j.linalg.ops.common.real
- org.flag4j.linalg.ops.common.ring_ops - package org.flag4j.linalg.ops.common.ring_ops
- org.flag4j.linalg.ops.common.semiring_ops - package org.flag4j.linalg.ops.common.semiring_ops
- org.flag4j.linalg.ops.dense - package org.flag4j.linalg.ops.dense
- org.flag4j.linalg.ops.dense_sparse.coo.field_ops - package org.flag4j.linalg.ops.dense_sparse.coo.field_ops
- org.flag4j.linalg.ops.dense_sparse.coo.real - package org.flag4j.linalg.ops.dense_sparse.coo.real
- org.flag4j.linalg.ops.dense_sparse.coo.real_complex - package org.flag4j.linalg.ops.dense_sparse.coo.real_complex
- org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops - package org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
- org.flag4j.linalg.ops.dense_sparse.csr.field_ops - package org.flag4j.linalg.ops.dense_sparse.csr.field_ops
- org.flag4j.linalg.ops.dense_sparse.csr.real - package org.flag4j.linalg.ops.dense_sparse.csr.real
- org.flag4j.linalg.ops.dense_sparse.csr.real_complex - package org.flag4j.linalg.ops.dense_sparse.csr.real_complex
- org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops - package org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops
- org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops - package org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops
- org.flag4j.linalg.ops.dense.complex - package org.flag4j.linalg.ops.dense.complex
- org.flag4j.linalg.ops.dense.field_ops - package org.flag4j.linalg.ops.dense.field_ops
- org.flag4j.linalg.ops.dense.real - package org.flag4j.linalg.ops.dense.real
- org.flag4j.linalg.ops.dense.real_field_ops - package org.flag4j.linalg.ops.dense.real_field_ops
- org.flag4j.linalg.ops.dense.ring_ops - package org.flag4j.linalg.ops.dense.ring_ops
- org.flag4j.linalg.ops.dense.semiring_ops - package org.flag4j.linalg.ops.dense.semiring_ops
- org.flag4j.linalg.ops.sparse - package org.flag4j.linalg.ops.sparse
- org.flag4j.linalg.ops.sparse.coo - package org.flag4j.linalg.ops.sparse.coo
- org.flag4j.linalg.ops.sparse.coo.real - package org.flag4j.linalg.ops.sparse.coo.real
- org.flag4j.linalg.ops.sparse.coo.real_complex - package org.flag4j.linalg.ops.sparse.coo.real_complex
- org.flag4j.linalg.ops.sparse.coo.ring_ops - package org.flag4j.linalg.ops.sparse.coo.ring_ops
- org.flag4j.linalg.ops.sparse.coo.semiring_ops - package org.flag4j.linalg.ops.sparse.coo.semiring_ops
- org.flag4j.linalg.ops.sparse.csr - package org.flag4j.linalg.ops.sparse.csr
- org.flag4j.linalg.ops.sparse.csr.real - package org.flag4j.linalg.ops.sparse.csr.real
- org.flag4j.linalg.ops.sparse.csr.real_complex - package org.flag4j.linalg.ops.sparse.csr.real_complex
- org.flag4j.linalg.ops.sparse.csr.ring_ops - package org.flag4j.linalg.ops.sparse.csr.ring_ops
- org.flag4j.linalg.ops.sparse.csr.semiring_ops - package org.flag4j.linalg.ops.sparse.csr.semiring_ops
- org.flag4j.linalg.solvers - package org.flag4j.linalg.solvers
- org.flag4j.linalg.solvers.exact - package org.flag4j.linalg.solvers.exact
- org.flag4j.linalg.solvers.exact.triangular - package org.flag4j.linalg.solvers.exact.triangular
- org.flag4j.linalg.solvers.lstsq - package org.flag4j.linalg.solvers.lstsq
- org.flag4j.linalg.transformations - package org.flag4j.linalg.transformations
- org.flag4j.rng - package org.flag4j.rng
-
This package contains classes for Pseudo-random generation of real/complex numbers, and arrays, vectors, matrices, and tensors.
- org.flag4j.rng.distributions - package org.flag4j.rng.distributions
-
Distributions useful for repeated random sampling from the same distribution.
- org.flag4j.util - package org.flag4j.util
- org.flag4j.util.exceptions - package org.flag4j.util.exceptions
- other - Variable in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- outer(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the outer product of two vectors.
- outer(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the outer product of two vectors.
- outer(T) - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the outer product of two vectors.
- outer(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the outer product of two vectors.
- outer(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Computes the outer product of two vectors.
- outer(T) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Computes the outer product of two vectors.
- outerProduct(double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProduct(double[], double[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Computes the vector outer product between a real dense vector and a real sparse vector.
- outerProduct(double[], int[], int, double[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Computes the vector outer product between a real dense vector and a real sparse vector.
- outerProduct(double[], int[], int, T[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector outer product between a complex dense vector and a real sparse vector.
- outerProduct(double[], T[], int[], int, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector outer product between a real dense vector and a complex sparse vector.
- outerProduct(double[], T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProduct(CooCVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the vector outer product between a complex sparse vector and a real sparse vector.
- outerProduct(CooVector, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the vector outer product between a complex sparse vector and a real sparse vector.
- outerProduct(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Computes the vector outer product between two real sparse vectors.
- outerProduct(T[], double[], int[], int, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector outer product between a complex dense vector and a real sparse vector.
- outerProduct(T[], double[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProduct(T[], int[], int, double[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector outer product between a rea; dense vector and a complex sparse vector.
- outerProduct(T[], int[], int, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the vector outer product between a complex dense vector and a real sparse vector.
- outerProduct(T[], int[], int, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringVectorOps
-
Computes the vector outer product between two sparse COO vectors.
- outerProduct(T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProduct(T[], T[], int[], int, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the vector outer product between a complex dense vector and a real sparse vector.
- outerProduct(T[], T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProduct(T[], T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProductConcurrent(double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseVectorOps
-
Computes the vector outer product between two real dense vectors.
- outerProductConcurrent(T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingVectorOps
-
Computes the vector outer product between two real dense vectors using a concurrent implementation.
- outerProductConcurrent(T[], T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.field_ops.DenseFieldVectorOps
-
Computes the vector outer product between two real dense vectors using a concurrent implementation.
- outerProductConcurrent(T[], T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringVectorOps
-
Computes the vector outer product between two real dense vectors using a concurrent implementation.
- OVERFLOW_THRESH_F32 - Static variable in class org.flag4j.util.Flag4jConstants
-
Overflow threshold for 42-bit floating point values.
- OVERFLOW_THRESH_F64 - Static variable in class org.flag4j.util.Flag4jConstants
-
Overflow threshold for 64-bit floating point values.
- Overview - Search tag in class org.flag4j.linalg.MatrixNorms
- Section
P
- P - Variable in class org.flag4j.linalg.decompositions.lu.LU
-
Permutation matrix to store row swaps if partial pivoting is used.
- Package Contents - Search tag in package org.flag4j.arrays.dense
- Section
- Pair<T,
V> - Record Class in org.flag4j.arrays -
Data record to store a pair of values (i.e., a 2-tuple).
- Pair(T, V) - Constructor for record class org.flag4j.arrays.Pair
-
Creates an instance of a
Pair
record class. - parseHeader(String) - Static method in record class org.flag4j.io.MatrixMarketHeader
-
Parses a string representing the header of a Matrix Market file and stores in a
MatrixMarketHeader
object. - parseNumberToComplex128(String) - Static method in class org.flag4j.io.parsing.ComplexNumberParser
-
Parses a complex number in the form of a string into its real and imaginary parts.
- parseNumberToComplex64(String) - Static method in class org.flag4j.io.parsing.ComplexNumberParser
-
Parses a complex number in the form of a string into its real and imaginary parts.
- PARTIAL - Enum constant in enum class org.flag4j.linalg.decompositions.lu.LU.Pivoting
- partialPivot() - Method in class org.flag4j.linalg.decompositions.lu.ComplexLU
-
Computes the LU decomposition using partial pivoting (i.e. row swapping).
- partialPivot() - Method in class org.flag4j.linalg.decompositions.lu.FieldLU
-
Computes the LU decomposition using partial pivoting (i.e. row swapping).
- partialPivot() - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Computes the LU decomposition using partial pivoting (i.e. row swapping).
- partialPivot() - Method in class org.flag4j.linalg.decompositions.lu.RealLU
-
Computes the LU decomposition using partial pivoting (i.e. row swapping).
- performDoubleShift(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Performs a full iteration of the Francis implicit double shifted QR algorithm (this includes the bulge chase).
- performDoubleShift(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Performs a full iteration of the Francis implicit double shifted QR algorithm (this includes the bulge chase).
- performDoubleShift(int) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Performs a full iteration of the Francis implicit double shifted QR algorithm (this includes the bulge chase).
- performExceptionalShift(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Performs a full iteration of the single shifted QR algorithm (this includes the bulge chase) where the shift is chosen to be a random value with the same magnitude as the lower right element of the working matrix.
- performExceptionalShift(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Performs a full iteration of the single shifted QR algorithm (this includes the bulge chase) where the shift is chosen to be a random value with the same magnitude as the lower right element of the working matrix.
- performExceptionalShift(int) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Performs a full iteration of the single shifted QR algorithm (this includes the bulge chase) where the shift is chosen to be a random value with the same magnitude as the lower right element of the working matrix.
- performSingleShift(int, double) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Performs a full iteration of the implicit single shifted QR algorithm (this includes the bulge chase).
- performSingleShift(int, Complex128) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Performs a full iteration of the implicit single shifted QR algorithm (this includes the bulge chase).
- permutation - Variable in class org.flag4j.arrays.sparse.PermutationMatrix
-
Describes the permutation represented by this permutation matrix.
- PermutationMatrix - Class in org.flag4j.arrays.sparse
-
Represents a square permutation matrix with rows and columns equal to
PermutationMatrix.size
, where each row and column contains exactly one entry of1
, and all other entries are0
. - PermutationMatrix(int) - Constructor for class org.flag4j.arrays.sparse.PermutationMatrix
-
Creates a permutation matrix which is equivalent to the identity matrix of the specified size.
- PermutationMatrix(int...) - Constructor for class org.flag4j.arrays.sparse.PermutationMatrix
-
Constructs a permutation matrix from the specified
permutation
. - PermutationMatrix(int[], boolean) - Constructor for class org.flag4j.arrays.sparse.PermutationMatrix
-
Constructs a permutation matrix from the specified
permutation
. - PermutationMatrix(Shape) - Constructor for class org.flag4j.arrays.sparse.PermutationMatrix
-
Creates a permutation matrix which is equivalent to the identity matrix of the specified size.
- PermutationMatrix(PermutationMatrix) - Constructor for class org.flag4j.arrays.sparse.PermutationMatrix
-
Copy constructor which creates a deep copy of the
src
permutation matrix. - permute(int[], int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Swaps elements in an array according to a specified permutation.
- permuteAxes(int...) - Method in class org.flag4j.arrays.Shape
-
Permutes the axes of this shape.
- permuteRows(int[]) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Permutes rows of this permutation matrix.
- permuteRows(CMatrix) - Method in class org.flag4j.linalg.solvers.exact.ComplexExactSolver
-
Permute the rows of a matrix using the row permutation matrix from the LU decomposition.
- permuteRows(CVector) - Method in class org.flag4j.linalg.solvers.exact.ComplexExactSolver
-
Permute the rows of a vector using the row permutation matrix from the LU decomposition.
- permuteRows(Matrix) - Method in class org.flag4j.linalg.solvers.exact.RealExactSolver
-
Permute the rows of a matrix using the row permutation matrix from the LU decomposition.
- permuteRows(Vector) - Method in class org.flag4j.linalg.solvers.exact.RealExactSolver
-
Permute the rows of a vector using the row permutation matrix from the LU decomposition.
- permuteRows(T) - Method in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Permute the rows of a matrix using the row permutation matrix from the LU decomposition.
- permuteRows(U) - Method in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Permute the rows of a vector using the row permutation matrix from the LU decomposition.
- permuteUnsafe(int[], int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Swaps elements in an array according to a specified permutation.
- PI - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value representing pi (Ï€), the ratio of the circumference of a circle to its diameter.
- PI - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value representing pi (Ï€), the ratio of the circumference of a circle to its diameter.
- pInv(CMatrix) - Static method in class org.flag4j.linalg.Invert
-
Computes the pseudo-inverse of this matrix.
- pInv(Matrix) - Static method in class org.flag4j.linalg.Invert
-
Computes the pseudo-inverse of this matrix.
- pivotFlag - Variable in class org.flag4j.linalg.decompositions.lu.LU
-
Flag indicating what pivoting to use.
- POSITIVE_INFINITY - Static variable in class org.flag4j.algebraic_structures.Complex128
-
Complex number with real part equal to
Double.POSITIVE_INFINITY
. - POSITIVE_INFINITY - Static variable in class org.flag4j.algebraic_structures.Complex64
-
Complex number with real part equal to
Float.POSITIVE_INFINITY
. - PositiveDefiniteness - Class in org.flag4j.linalg
-
This class contains several methods for determining the positive definiteness of a matrix.
- pow(double, Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Compute a raised to the power of
b
. - pow(float, Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Compute a raised to the power of b.
- pow(int) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the matrix multiplication of this matrix with itself
n
times. - pow(int) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Computes the matrix multiplication of this matrix with itself
n
times. - pow(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the matrix multiplication of this matrix with itself
n
times. - pow(int) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Computes the matrix multiplication of this matrix with itself
n
times. - pow(int) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Computes the matrix multiplication of this matrix with itself
n
times. - pow(Complex128, double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes
a
raised to the power ofb
. - pow(Complex128, Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Compute a raised to the power of b.
- pow(Complex64, float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes
a
raised to the power ofb
. - pow(Complex64, Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes
a
raised to the power ofb
. - PrettyPrint - Class in org.flag4j.io
-
Utility class for formatting arrays as ★★pretty★★ human-readable strings.
- PrintOptions - Class in org.flag4j.io
-
Printing and formating options for tensors, matrices, and vectors.
- prod() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Computes the product of all values in this tensor (or non-zero values if this tensor is sparse).
- prod() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the product of all values in this tensor.
- prod() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Computes the product of all values in this tensor (or non-zero values if this tensor is sparse).
- prod() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Computes the product of all values in this tensor (or non-zero values if this tensor is sparse).
- prod() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the product of all values in this tensor.
- prod() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the product of all non-zero values in this tensor.
- prod() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the product of all non-zero values in this tensor.
- prod() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the product of all non-zero values in this tensor.
- prod(double...) - Static method in class org.flag4j.linalg.ops.common.real.AggregateReal
-
Computes the sum of all data in this tensor.
- prod(double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Multiplies all data in a tensor.
- prod(int[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Multiplies all data in a tensor.
- prod(RealFloat32...) - Static method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the product of all data of specified array.
- prod(RealFloat64...) - Static method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the product of all data of specified array.
- prod(T...) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.AggregateSemiring
-
Computes the sum of all data in this tensor.
- Projection - Class in org.flag4j.linalg.transformations
-
A utility class for generating projection matrices used in 3D graphics transformations.
- putBackSymbol(int) - Method in class org.flag4j.io.parsing.Lexer
-
Replaces unneeded symbol back into content string.
Q
- Q - Variable in class org.flag4j.linalg.decompositions.lu.LU
-
Permutation matrix to store column swaps if full pivoting is used.
- qFactors - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Storage of the scalar factors for the HouseholderOld reflectors used in the decomposition.
- Qh - Variable in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Q
The Hermitian transpose of the orthonormal matrix from theQR
decomposition. - qr - Variable in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Decomposer to compute the
QR
decomposition for using the least-squares solver.
R
- R - Variable in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
R
The upper triangular matrix from theQR
decomposition. - randnCMatrix(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values sampled from a bivariate standard Gaussian (normal) distribution with mean zero and standard deviation one along both the real and imaginary axes.
- randnCMatrix(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values sampled from a bivariate Gaussian (normal) distribution with specified mean and standard deviation along both the real and imaginary axes.
- randnCMatrix(Shape, double, double, double, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values sampled from a bivariate Gaussian (normal) distribution.
- randnComplex128() - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a 2D circular standard Gaussian (normal) distribution on the complex plain.
- randnComplex128(double, double) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a 2D circular Gaussian (normal) distribution on the complex plain.
- randnComplex128(double, double, double, double) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a 2D elliptical Gaussian (normal) distribution on the complex plain.
- randnComplex128(double, double, double, double, double) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a bivariate Gaussian (normal) distribution on the complex plain.
- randnComplex64() - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a 2D circular standard Gaussian (normal) distribution on the complex plain.
- randnComplex64(float, float) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a 2D circular Gaussian (normal) distribution on the complex plain.
- randnComplex64(float, float, float, float) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a 2D elliptical Gaussian (normal) distribution on the complex plain.
- randnComplex64(float, float, float, float, float) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number sampled from a bivariate Gaussian (normal) distribution on the complex plain.
- randnCTensor(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values sampled from a bivariate standard Gaussian (normal) distribution with mean zero and standard deviation one along both the real and imaginary axes.
- randnCTensor(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values sampled from a bivariate Gaussian (normal) distribution with specified mean and standard deviation along both the real and imaginary axes.
- randnCTensor(Shape, double, double, double, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values sampled from a bivariate Gaussian (normal) distribution.
- randnCVector(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values sampled from a bivariate standard Gaussian (normal) distribution with mean zero and standard deviation one along both the real and imaginary axes.
- randnCVector(int, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values sampled from a bivariate Gaussian (normal) distribution with specified mean and standard deviation along both the real and imaginary axes.
- randnCVector(int, double, double, double, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values sampled from a bivariate Gaussian (normal) distribution.
- randnMatrix(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values sampled from a normal distribution with mean of 0.0 and standard deviation of 1.0.
- randnMatrix(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values sampled from a normal distribution with specified mean and standard deviation.
- randnTensor(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values sampled from a normal distribution with mean of 0.0 and standard deviation of 1.0.
- randnTensor(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values sampled from a normal distribution with specified mean and standard deviation.
- randnVector(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values sampled from a normal distribution with mean of 0.0 and standard deviation of 1.0.
- randnVector(int, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values sampled from a normal distribution with specified mean and standard deviation.
- RandomArray - Class in org.flag4j.rng
- RandomArray() - Constructor for class org.flag4j.rng.RandomArray
-
Creates a RandomArrayOld object to generate arrays filled with random values using a default random number generator.
- RandomArray(RandomComplex) - Constructor for class org.flag4j.rng.RandomArray
-
Creates a RandomArrayOld object to generate arrays filled with random values using the specified complex random number generator.
- randomCartComplex64() - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number distributed uniformly in the unit square on the complex plane centered at (0.0, 0.0).
- randomCartComplex64(float, float, float, float) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number distributed uniformly in a rectangle on the complex plane.
- randomCMatrix(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom complex values uniformly distributed in the unit disk centered at the origin of the complex plane.
- randomCMatrix(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom complex values uniformly distributed in an annulus (i.e. washer) centered at the origin of the complex plane.
- RandomComplex - Class in org.flag4j.rng
-
The
RandomComplex
class provides methods to generate pseudorandom complex numbers under a variety of distributions and constraints. - RandomComplex() - Constructor for class org.flag4j.rng.RandomComplex
-
Constructs a complex value random number generator.
- RandomComplex(long) - Constructor for class org.flag4j.rng.RandomComplex
-
Constructs a complex value random number generator.
- randomComplex128() - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number which is uniformly distributed on the unit disk within the complex plane.
- randomComplex128(double) - Method in class org.flag4j.rng.RandomComplex
-
Generates pseudorandom complex number with specified magnitude which is uniformly distributed around the origin.
- randomComplex128(double, double) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number with magnitude in
[min, max)
which is uniformly distributed in the annulus (i.e. washer) with minimum and maximum radii equal tomin
andmax
respectively. - randomComplex64() - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number which is uniformly distributed on the unit disk within the complex plane.
- randomComplex64(float) - Method in class org.flag4j.rng.RandomComplex
-
Generates pseudorandom complex number with specified magnitude which is uniformly distributed around the origin.
- randomComplex64(float, float) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number with magnitude in
[min, max)
which is uniformly distributed in the annulus (i.e. washer) with minimum and maximum radii equal tomin
andmax
respectively. - randomCooMatrix(int, int, double, double, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified sparsity.
- randomCooMatrix(int, int, double, double, int) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified number of non-zero data.
- randomCooMatrix(Shape, double, double, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified sparsity.
- randomCooMatrix(Shape, double, double, int) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified number of non-zero data.
- randomCsrMatrix(int, int, double, double, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified sparsity.
- randomCsrMatrix(int, int, double, double, int) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified number of non-zero data.
- randomCsrMatrix(Shape, double, double, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified sparsity.
- randomCsrMatrix(Shape, double, double, int) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified number of non-zero data.
- randomCTensor(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom complex values uniformly distributed in the unit disk centered at the origin of the complex plane.
- randomCTensor(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom complex values uniformly distributed in an annulus (i.e. washer) centered at the origin of the complex plane.
- randomCVector(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom complex values uniformly distributed in the unit disk centered at the origin of the complex plane.
- randomCVector(int, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom complex values uniformly distributed in an annulus (i.e. washer) centered at the origin of the complex plane.
- RandomDenseTensor - Class in org.flag4j.rng
-
A utility class for generating random dense tensors, matrices, and vectors with customizable distributions.
- RandomDenseTensor() - Constructor for class org.flag4j.rng.RandomDenseTensor
-
Constructs a new pseudorandom tensor generator with a seed which is unlikely to be the same as other from any other invocation of this constructor.
- RandomDenseTensor(long) - Constructor for class org.flag4j.rng.RandomDenseTensor
-
Constructs a pseudorandom tensor generator with a specified seed.
- randomDiagMatrix(int, int, int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a random diagonal matrix whose diagonal entries are uniformly distributed in [
min
,max
). - randomFill(double[], Distribution<Double, Random>) - Static method in class org.flag4j.rng.RandomArray
-
Fills an array with pseudorandom values sampled from the specified
distribution
. - randomFill(int[], Distribution<Integer, Random>) - Static method in class org.flag4j.rng.RandomArray
-
Fills an array with pseudorandom values sampled from the specified
distribution
. - randomFill(Complex128[], Distribution<Complex128, RandomComplex>) - Static method in class org.flag4j.rng.RandomArray
-
Fills an array with pseudorandom values sampled from the specified
distribution
. - randomFill(Complex64[], Distribution<Complex64, RandomComplex>) - Static method in class org.flag4j.rng.RandomArray
-
Fills an array with pseudorandom values sampled from the specified
distribution
. - randomHermPosDefMatrix(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a pseudorandom symmetric positive definite matrix.
- randomMatrix(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values uniformly distributed in
[0, 1)
. - randomMatrix(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a matrix filled with pseudorandom values uniformly distributed in
[min, max)
. - randomOrthogonalMatrix(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Gets a pseudorandom orthogonal matrix.
- randomRectComplex128() - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number distributed uniformly in the unit square on the complex plane centered at (0.0, 0.0).
- randomRectComplex128(double, double, double, double) - Method in class org.flag4j.rng.RandomComplex
-
Generates a pseudorandom complex number distributed uniformly in a rectangle on the complex plane.
- randomSparseCMatrix(int, int, double, double, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified sparsity.
- randomSparseCMatrix(int, int, double, double, int) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified number of non-zero data.
- randomSparseCMatrix(Shape, double, double, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified sparsity.
- randomSparseCMatrix(Shape, double, double, int) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a random sparse matrix with the specified number of non-zero data.
- RandomSparseTensor - Class in org.flag4j.rng
-
A utility class for generating random sparse tensors and matrices with customizable sparsity and distributions.
- RandomSparseTensor() - Constructor for class org.flag4j.rng.RandomSparseTensor
-
Constructs a new pseudorandom tensor generator with a seed which is unlikely to be the same as other from any other invocation of this constructor.
- RandomSparseTensor(long) - Constructor for class org.flag4j.rng.RandomSparseTensor
-
Constructs a pseudorandom tensor generator with a specified seed.
- randomSymmetricCooMatrix(int, int, int, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a symmetric
COO matrix
filled with pseudorandom values uniformly distributed in[min, max)
. - randomSymmetricCsrMatrix(int, int, int, double) - Method in class org.flag4j.rng.RandomSparseTensor
-
Generates a symmetric
CSR matrix
filled with pseudorandom values uniformly distributed in[min, max)
. - randomSymmetricMatrix(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a symmetric matrix filled with pseudorandom values uniformly distributed in
[0, 1)
. - randomSymmPosDefMatrix(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a pseudorandom symmetric positive definite matrix.
- randomTensor(Shape) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values uniformly distributed in
[0, 1)
. - randomTensor(Shape, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a tensor filled with pseudorandom values uniformly distributed in
[min, max)
. - randomTrilMatrix(int, int, int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Gets a pseudorandom lower triangular matrix of the specified
size
. - randomTriuMatrix(int, int, int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Gets a pseudorandom upper triangular matrix of the specified
size
. - randomUniqueIndices(int, int, int) - Method in class org.flag4j.rng.RandomArray
-
Creates unique indices in [start, end).
- randomUniqueIndices2D(int, int, int, int, int) - Method in class org.flag4j.rng.RandomArray
-
Creates a list of unique two-dimensional indices.
- randomUnitaryMatrix(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Gets a pseudorandom unitary matrix.
- randomVector(int) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values uniformly distributed in
[0, 1)
. - randomVector(int, double, double) - Method in class org.flag4j.rng.RandomDenseTensor
-
Generates a vector filled with pseudorandom values uniformly distributed in
[min, max)
. - range(int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Gets an array filled with integers from
start
(inclusive) toend
(exclusive) - rank - Variable in class org.flag4j.arrays.backend.AbstractTensor
-
The rank of this tensor.
- rank - Variable in class org.flag4j.linalg.decompositions.svd.SVD
-
The rank of the matrix being decomposed.
- RANK_CONDITION - Static variable in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
Threshold for determining if a determinant is to be considered zero when checking if the coefficient matrix is full rank.
- RANK_CONDITION - Static variable in class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Threshold for determining if a determinant is to be considered zero when checking if the coefficient matrix is full rank.
- re - Variable in class org.flag4j.algebraic_structures.Complex128
-
Real component of the complex number.
- re - Variable in class org.flag4j.algebraic_structures.Complex64
-
Real component of the complex number.
- re() - Method in class org.flag4j.algebraic_structures.Complex128
-
Gets the real component of this complex number.
- re() - Method in class org.flag4j.algebraic_structures.Complex64
-
Gets the real component of this complex number.
- read(String) - Method in class org.flag4j.io.MatrixMarketReader
-
Loads Matrix Market data from the file specified on instantiation of this
MatrixMarketReader
. - read(String) - Static method in class org.flag4j.io.TensorReader
-
Reads a serialized
AbstractTensor
from a specified file using aObjectInputStream
. - REAL - Enum constant in enum class org.flag4j.io.MatrixMarketHeader.MMField
- real2ComplexSchur() - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
- real2ComplexSchur() - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Converts the real schur form computed in the last decomposition to the complex Schur form.
- RealBackSolver - Class in org.flag4j.linalg.solvers.exact.triangular
-
This solver solves linear systems of equations where the coefficient matrix in an
upper triangular
real dense matrix and the constant vector is a real dense vector or matrix. - RealBackSolver() - Constructor for class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Creates a solver for solving linear systems for upper triangular coefficient matrices.
- RealBackSolver(boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Creates a solver for solving linear systems for upper triangular coefficient matrices.
- RealBalancer - Class in org.flag4j.linalg.decompositions.balance
-
Instances of this class may be used to balance real dense matrices.
- RealBalancer() - Constructor for class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Constructs a real balancer which will perform both the permutations and scaling steps out-of-place.
- RealBalancer(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Constructs a real balancer optionally performing the permutation and scaling steps out-of-place.
- RealBalancer(boolean, boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Constructs a real balancer optionally performing the permutation and scaling steps in/out-of-place.
- RealCholesky - Class in org.flag4j.linalg.decompositions.chol
-
An instance of this class allows for the computation of a Cholesky decomposition for a real dense
matrix
. - RealCholesky() - Constructor for class org.flag4j.linalg.decompositions.chol.RealCholesky
-
Constructs a Cholesky decomposer.
- RealCholesky(boolean) - Constructor for class org.flag4j.linalg.decompositions.chol.RealCholesky
-
Constructs a Cholesky decomposer.
- RealComplexCooConcats - Class in org.flag4j.linalg.ops.sparse.coo.real_complex
-
This utility class contains implementations for ops which concatenate sparse COO matrices and vectors.
- RealComplexCooTensorOps - Class in org.flag4j.linalg.ops.sparse.coo.real_complex
-
Utility class for computing ops between a complex sparse COO tensor and a real coo tensor.
- RealComplexCsrDenseOps - Class in org.flag4j.linalg.ops.dense_sparse.csr.real_complex
-
This class contains low-level ops which act on a real/complex dense and a complex/real sparse
CSR matrix
. - RealComplexCsrMatMult - Class in org.flag4j.linalg.ops.sparse.csr.real_complex
-
This class provides low-level implementation of matrix multiplication between a real CSR matrix and a complex CSR matrix.
- RealComplexCsrOps - Class in org.flag4j.linalg.ops.sparse.csr.real_complex
-
This class contains low-level implementations for element-wise ops on real/complex CSR matrices.
- RealComplexDenseCooMatOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_complex
-
This class contains low level implementations of ops between real/complex and dense/sparse matrices.
- RealComplexDenseCooOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_complex
-
This class contains methods to apply common binary ops to a real/complex dense matrix and to a complex/real sparse matrix.
- RealComplexDenseSparseEquals - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_complex
-
This class contains methods for checking the equality of real dense/sparse and complex dense/sparse tensors.
- RealComplexDenseSparseVectorOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_complex
-
This class provides low level methods for computing ops between a real/complex dense/sparse vector and a complex/real sparse/dense vector.
- RealComplexSparseEquals - Class in org.flag4j.linalg.ops.sparse.coo.real_complex
-
This class contains methods for checking the equality of real/complex sparse tensors.
- RealComplexSparseMatOps - Class in org.flag4j.linalg.ops.sparse.coo.real_complex
-
This class has low level implementations for ops between a real sparse matrix and a complex sparse matrix.
- RealComplexSparseMatrixMultiplication - Class in org.flag4j.linalg.ops.sparse.coo.real_complex
-
This class contains low level methods for computing the multiplication between a real/complex matrix and a complex/real matrix/vector.
- RealComplexSparseVectorOps - Class in org.flag4j.linalg.ops.sparse.coo.real_complex
-
This class contains low level implementations of ops on a real sparse tensor and a complex sparse tensor.
- RealCooMatrixGetSet - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class provides methods for getting and setting elements and slices from/to a real sparse matrix.
- RealCooTensorDot - Class in org.flag4j.linalg.ops.sparse.coo.real
-
Utility class for computing tensor dot products between two
real sparse COO tensors
. - RealCooTensorOps - Class in org.flag4j.linalg.ops.sparse.coo.real
-
Utility class for computing ops between two real sparse COO tensors backed by a primitive double array.
- RealCooVectorOps - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class contains low level implementations for ops on a real sparse COO vector.
- RealCsrDenseMatrixMultiplication - Class in org.flag4j.linalg.ops.dense_sparse.csr.real
-
This class contains low-level implementations of real sparse-dense matrix multiplication where the sparse matrix is in
CSR
format. - RealCsrDenseOps - Class in org.flag4j.linalg.ops.dense_sparse.csr.real
-
This class contains low-level ops which act on a real dense and a real sparse
CSR matrix
. - RealCsrEquals - Class in org.flag4j.linalg.ops.sparse.csr.real
-
This class contains methods to check equality or approximate equality between two sparse CSR matrices.
- RealCsrManipulations - Class in org.flag4j.linalg.ops.sparse.csr.real
-
Utility class for manipulating
real sparse CSR matrices
(e.g. row swaps, column swaps, etc.). - RealCsrMatMult - Class in org.flag4j.linalg.ops.sparse.csr.real
-
This class provides low-level implementation of matrix multiplication between two real CSR matrices.
- RealCsrMatrixTensorDot - Class in org.flag4j.linalg.ops.sparse.csr.real
-
This utility class provides implementations for tensor dot products on two real sparse CSR matrices.
- RealCsrOps - Class in org.flag4j.linalg.ops.sparse.csr.real
-
This utility class contains low-level implementations for operations on real CSR matrices.
- RealCsrProperties - Class in org.flag4j.linalg.ops.sparse.csr.real
-
This class contains low-level implementations for evaluating properties of real sparse CSR matrices.
- RealDenseCooTensorOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real
-
This class contains methods to apply common binary ops to a real dense matrix and to a real sparse matrix.
- RealDenseDeterminant - Class in org.flag4j.linalg.ops.dense.real
-
This class contains methods for computing the determinant of a real dense matrix.
- RealDenseElemDiv - Class in org.flag4j.linalg.ops.dense.real
-
This class contains low level implementations of element-wise division algorithms for real dense tensors.
- RealDenseElemMult - Class in org.flag4j.linalg.ops.dense.real
-
This class contains low level implementations of element-wise multiplications algorithms for real dense tensors.
- RealDenseEquals - Class in org.flag4j.linalg.ops.dense.real
-
This class provides methods for checking the equality of real dense tensors.
- RealDenseMatMult - Class in org.flag4j.linalg.ops.dense.real
-
This class contains several low level methods for computing matrix-matrix multiplications.
- RealDenseMatMultTranspose - Class in org.flag4j.linalg.ops.dense.real
-
This class contains several low level methods for computing matrix-matrix multiplications with a transpose for two real dense matrices.
- RealDenseMatrixMultiplyDispatcher - Class in org.flag4j.linalg.ops
-
Singleton class which stores a map of all viable real dense matrix multiply algorithms and uses that map to dispatch a real dense matrix multiply problem to the appropriate algorithm.
- RealDenseMatrixMultiplyDispatcher.AlgorithmNames - Enum Class in org.flag4j.linalg.ops
-
Simple enum class containing all possible choices of real dense matrix multiply algorithms.
- RealDenseOps - Class in org.flag4j.linalg.ops.dense.real
-
This class provides low level methods for computing ops on real dense tensors.
- RealDenseProperties - Class in org.flag4j.linalg.ops.dense.real
-
This class contains low-level implementations for ops which check if a tensor satisfies some property.
- RealDenseSetOps - Class in org.flag4j.linalg.ops.dense.real
-
This class contains low-level implementations of setting ops for real dense tensors.
- RealDenseSetOps() - Constructor for class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
- RealDenseSparseEquals - Class in org.flag4j.linalg.ops.dense_sparse.coo.real
-
This class contains methods for checking the equality of a real dense and real sparse tensors.
- RealDenseSparseMatMult - Class in org.flag4j.linalg.ops.dense_sparse.coo.real
-
This class contains low level methods for computing the matrix multiplication (and matrix vector multiplication) between a real dense/sparse matrix and a real sparse/dense matrix or vector.
- RealDenseSparseMatrixMultTranspose - Class in org.flag4j.linalg.ops.dense_sparse.coo.real
-
This class contains several low level methods for computing matrix-matrix multiplications with a transpose for a real dense matrix and a real sparse matrix.
- RealDenseSparseMatrixOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real
-
This class contains low-level ops between a real dense and real sparse matrix.
- RealDenseSparseVectorOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real
-
This class provides low level methods for computing ops between a real dense/sparse vector and a real sparse/dense vector.
- RealDenseTensorBinaryOperation - Interface in org.flag4j.linalg.ops
-
Functional interface for creating a lambda which implements an operation acting on two real dense tensors.
- RealDenseTensorDot - Class in org.flag4j.linalg.ops.dense.real
-
Instances of this class can be used to compute the tensor dot product between two real dense primitive double tensors.
- RealDenseTensorDot(Shape, double[], Shape, double[], int[], int[]) - Constructor for class org.flag4j.linalg.ops.dense.real.RealDenseTensorDot
-
Constructs a tensor dot product problem for computing the tensor contraction of two tensors over the specified set of axes.
- RealDenseTranspose - Class in org.flag4j.linalg.ops.dense.real
-
This class contains several low-level algorithms for computing the transpose of real dense tensors.
- RealDenseVectorOps - Class in org.flag4j.linalg.ops.dense.real
-
This class provides low level implementations for several vector operation.
- RealExactSolver - Class in org.flag4j.linalg.solvers.exact
-
Solver for solving a well determined system of linear equations in an exact sense using the
LU decomposition.
- RealExactSolver() - Constructor for class org.flag4j.linalg.solvers.exact.RealExactSolver
-
Constructs an exact LU solver where the coefficient matrix is real dense.
- RealExactTensorSolver - Class in org.flag4j.linalg.solvers.exact
-
Solver for solving a real well determined linear tensor equation A*X=B in an exact sense.
- RealExactTensorSolver() - Constructor for class org.flag4j.linalg.solvers.exact.RealExactTensorSolver
-
Creates an exact tensor solver for solving a well determined linear tensor equation A*X=B for X in an exact sense.
- RealFieldDenseCooMatMult - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
-
This class contains low level methods for computing the matrix multiplication (and matrix vector multiplication) between a real dense/sparse matrix and a sparse/dense field matrix/vector.
- RealFieldDenseCooMatMultTranspose - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
-
This class contains several low level methods for computing matrix-matrix multiplications with a transpose for a real/field and sparse/dense matrix.
- RealFieldDenseCooMatrixOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
-
This class contains low level implementations of ops between real/field and dense/sparse matrices.
- RealFieldDenseCooOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
-
This class contains methods to apply common binary ops to a real/field dense matrix and to a field/real sparse matrix.
- RealFieldDenseCooVectorOps - Class in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
-
This class provides low level methods for computing ops between a real/field dense/sparse vector and a field/real sparse/dense vector.
- RealFieldDenseCsrMatMult - Class in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops
-
This class contains low-level implementations of real-complex sparse-dense matrix multiplication where the sparse matrix is in CSR format.
- RealFieldDenseCsrOps - Class in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops
-
This class contains low-level ops which act on a real/complex dense and a complex/real sparse CSR matrix.
- RealFieldDenseElemDiv - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class contains low-level implementations of element-wise tensor division for a dense real and dense field tensor.
- RealFieldDenseElemMult - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class contains low-level implementations of element-wise tensor multiplication for a dense real and dense field tensor.
- RealFieldDenseEquals - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class provides methods for checking the equality of one dense real and one dense field tensors.
- RealFieldDenseMatMult - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class contains several low level methods for computing dense matrix-matrix multiplications between one field matrix and one real matrix.
- RealFieldDenseMatMultTranspose - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class contains several low level methods for computing matrix-matrix multiplications with a transpose for a real dense matrix and a dense field matrix.
- RealFieldDenseOps - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class provides low level methods for computing ops with at least one real tensor and at least one field tensor.
- RealFieldDenseVectorOps - Class in org.flag4j.linalg.ops.dense.real_field_ops
-
This class provides low level implementations for vector ops with one dense real vector and one dense field vector.
- RealFloat32 - Class in org.flag4j.algebraic_structures
-
Represents an immutable real number backed by a 32-bit floating-point value.
- RealFloat32(float) - Constructor for class org.flag4j.algebraic_structures.RealFloat32
-
Constructs a real 32-bit floating point number.
- RealFloat32(RealFloat64) - Constructor for class org.flag4j.algebraic_structures.RealFloat32
-
Constructs a real 32-bit floating point number by casting a real 64-bit floating point.
- RealFloat64 - Class in org.flag4j.algebraic_structures
-
Represents an immutable real number backed by a 64-bit floating-point value.
- RealFloat64(double) - Constructor for class org.flag4j.algebraic_structures.RealFloat64
-
Constructs a new
RealFloat64
instance with the specified double value. - RealFloat64(RealFloat32) - Constructor for class org.flag4j.algebraic_structures.RealFloat64
-
Constructs a new
RealFloat64
instance with the specifiedRealFloat32
value. - RealForwardSolver - Class in org.flag4j.linalg.solvers.exact.triangular
-
This solver solves linear systems of equations where the coefficient matrix in a lower triangular real dense matrix and the constant vector is a real dense vector.
- RealForwardSolver() - Constructor for class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Creates a solver to solve a linear system where the coefficient matrix is lower triangular.
- RealForwardSolver(boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Creates a solver to solve a linear system where the coefficient matrix is lower triangular or unit lower triangular.
- RealForwardSolver(boolean, boolean) - Constructor for class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Creates a solver to solve a linear system where the coefficient matrix is lower triangular or unit lower triangular.
- RealGaussian - Class in org.flag4j.rng.distributions
-
A real Gaussian (e.g. normal) distribution.
- RealGaussian(RandomComplex, double, double) - Constructor for class org.flag4j.rng.distributions.RealGaussian
-
Constructs a real Gaussian distribution.
- RealHess - Class in org.flag4j.linalg.decompositions.hess
-
Computes the Hessenburg decomposition of a real dense square matrix.
- RealHess() - Constructor for class org.flag4j.linalg.decompositions.hess.RealHess
-
Creates a real Hessenburg decomposer which will reduce the matrix to an upper quasi-triangular matrix which is has zeros below the first sub-diagonal.
- RealHess(boolean) - Constructor for class org.flag4j.linalg.decompositions.hess.RealHess
-
Creates a real Hessenburg decomposer which will reduce the matrix to an upper quasi-triangular matrix which is has zeros below the first sub-diagonal.
- RealInt16 - Class in org.flag4j.algebraic_structures
-
A real number backed by a 16-bit integer number.
- RealInt16(short) - Constructor for class org.flag4j.algebraic_structures.RealInt16
-
Constructs a real 16-bit integer number.
- RealInt32 - Class in org.flag4j.algebraic_structures
-
A real number backed by a 32-bit integer number.
- RealInt32(int) - Constructor for class org.flag4j.algebraic_structures.RealInt32
-
Constructs a real 32-bit floating point number.
- RealInt32(RealInt16) - Constructor for class org.flag4j.algebraic_structures.RealInt32
-
Constructs a real 32-bit integer number from a
RealInt16
. - RealLstsqSolver - Class in org.flag4j.linalg.solvers.lstsq
-
This class solves a linear system of equations Ax=b in a least-squares sense.
- RealLstsqSolver() - Constructor for class org.flag4j.linalg.solvers.lstsq.RealLstsqSolver
-
Constructs a least-squares solver to solve a system Ax=b in a least square sense.
- RealLU - Class in org.flag4j.linalg.decompositions.lu
-
This class provides methods for computing the LU decomposition of a real dense matrix.
- RealLU() - Constructor for class org.flag4j.linalg.decompositions.lu.RealLU
-
Constructs a LU decomposer to decompose the specified matrix using partial pivoting.
- RealLU(LU.Pivoting) - Constructor for class org.flag4j.linalg.decompositions.lu.RealLU
-
Constructs a LU decomposer to decompose the specified matrix.
- RealLU(LU.Pivoting, double) - Constructor for class org.flag4j.linalg.decompositions.lu.RealLU
-
Constructs a LU decomposer to decompose the specified matrix.
- RealOps - Class in org.flag4j.linalg.ops.common.real
-
This class provides low level methods for computing ops on real tensors.
- RealProperties - Class in org.flag4j.linalg.ops.common.real
-
This class provides low level methods for checking tensor properties.
- RealQR - Class in org.flag4j.linalg.decompositions.qr
-
Instances of this class compute the
QR
decomposition of areal dense matrix
. - RealQR() - Constructor for class org.flag4j.linalg.decompositions.qr.RealQR
-
Creates a
QR
decomposer. - RealQR(boolean) - Constructor for class org.flag4j.linalg.decompositions.qr.RealQR
-
Creates a
QR
decomposer to compute either the full or reducedQR
decomposition. - RealSchur - Class in org.flag4j.linalg.decompositions.schur
-
This class computes the Schur decomposition of a real dense square matrix.
- RealSchur() - Constructor for class org.flag4j.linalg.decompositions.schur.RealSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix.
- RealSchur(boolean) - Constructor for class org.flag4j.linalg.decompositions.schur.RealSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix where the
U
matrix may or may not be computed. - RealSchur(boolean, long) - Constructor for class org.flag4j.linalg.decompositions.schur.RealSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix.
- RealSchur(long) - Constructor for class org.flag4j.linalg.decompositions.schur.RealSchur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix.
- RealSparseEquals - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class contains methods for checking the equality of real sparse tensors.
- RealSparseManipulations - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This utility class provides methods for inserting/removing values in a real sparse vector.
- RealSparseMatMult - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class contains low level implementations of matrix multiplication for real sparse matrices.
- RealSparseMatrixManipulations - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This utility class contains implementations for real sparse COO matrix manipulations.
- RealSparseMatrixOps - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class has low level implementations for ops between two real sparse matrices.
- RealSparseMatrixProperties - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class contains low level implementations for methods to evaluate certain properties of a real sparse matrix.
- RealSparseNorms - Class in org.flag4j.linalg.ops.sparse.coo.real
-
This class contains low level implementations of norms for tensors, matrices and vector.
- RealSVD - Class in org.flag4j.linalg.decompositions.svd
-
Instances of this class can be used to compute the singular value decomposition (SVD) of a
real dense matrix
. - RealSVD() - Constructor for class org.flag4j.linalg.decompositions.svd.RealSVD
-
Creates a decomposer to compute the singular value decomposition of a real matrix.
- RealSVD(boolean) - Constructor for class org.flag4j.linalg.decompositions.svd.RealSVD
-
Creates a decomposer to compute the singular value decomposition of a real matrix.
- RealSVD(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.svd.RealSVD
-
Creates a decomposer to compute the singular value decomposition of a real matrix.
- RealUniform - Class in org.flag4j.rng.distributions
-
A uniform real distribution.
- RealUniform(RandomComplex, double, double) - Constructor for class org.flag4j.rng.distributions.RealUniform
-
Constructs a real uniform distribution.
- RealUnitaryDecomposition - Class in org.flag4j.linalg.decompositions.unitary
-
This class is the base class for real matrix decompositions which proceed by using unitary/orthogonal transformations (specifically HouseholderOld reflectors) to bring a matrix into an upper triangular/Hessenburg matrix.
- RealUnitaryDecomposition(int) - Constructor for class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Creates a real unitary decomposer which will reduce the matrix to an upper triangular/Hessenburg matrix which is has zeros below the specified sub-diagonal.
- RealUnitaryDecomposition(int, boolean) - Constructor for class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Creates a real unitary decomposer which will reduce the matrix to an upper triangular/Hessenburg matrix which has zeros below the specified sub-diagonal (must be 0 or 1).
- recip() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Computes the element-wise reciprocals of this tensor.
- recip() - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Computes the element-wise reciprocals of this tensor.
- recip() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the element-wise reciprocals of this tensor.
- recip() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise reciprocals of non-zero values of this tensor.
- recip() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the element-wise reciprocals of the non-zero elements of this sparse tensor.
- recip() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise reciprocals of the non-zero values of this tensor.
- recip(double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Computes the reciprocals, element-wise, of a tensor.
- recip(V[], V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Computes the reciprocals, element-wise, of a tensor.
- reduce(T[], BinaryOperator<T>) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.TransformSemiRing
-
Reduces the given array of field elements to a single element by repeatedly applying a binary operator to combine elements.
- reduced - Variable in class org.flag4j.linalg.decompositions.qr.ComplexQR
-
Flag indicating if the reduced (true) or full (false)
QR
decomposition should be computed. - reduced - Variable in class org.flag4j.linalg.decompositions.qr.RealQR
-
Flag indicating if the reduced (true) or full (false)
QR
decomposition should be computed. - reduced - Variable in class org.flag4j.linalg.decompositions.svd.SVD
-
Flag which indicates if the reduced (or full) SVD should be computed.
- ref(CMatrix) - Static method in class org.flag4j.linalg.RowEchelon
-
Computes a row echelon form of a Matrix.
- ref(Matrix) - Static method in class org.flag4j.linalg.RowEchelon
-
Computes a row echelon form of a Matrix.
- removeCol(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Removes a specified column from this matrix.
- removeCol(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Removes a specified column from this matrix.
- removeCol(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Removes a specified column from this matrix.
- removeCol(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Removes a specified column from this matrix.
- removeCol(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Removes a specified column from this matrix.
- removeCol(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Removes a specified column from this matrix.
- removeCol(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Removes a specified column from this matrix.
- removeCol(CooMatrix, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixManipulations
-
Removes a specified column from a sparse matrix.
- removeCols(int...) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Removes a specified set of columns from this matrix.
- removeCols(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Removes a specified set of columns from this matrix.
- removeCols(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Removes a specified set of columns from this matrix.
- removeCols(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Removes a specified set of columns from this matrix.
- removeCols(int...) - Method in class org.flag4j.arrays.dense.Matrix
-
Removes a specified set of columns from this matrix.
- removeCols(int...) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Removes a specified set of columns from this matrix.
- removeCols(int...) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Removes a specified set of columns from this matrix.
- removeCols(CooMatrix, int...) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixManipulations
-
Removes a list of specified columns from a sparse matrix.
- removeRow(int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Removes a specified row from this matrix.
- removeRow(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Removes a specified row from this matrix.
- removeRow(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Removes a specified row from this matrix.
- removeRow(int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Removes a specified row from this matrix.
- removeRow(int) - Method in class org.flag4j.arrays.dense.Matrix
-
Removes a specified row from this matrix.
- removeRow(int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Removes a specified row from this matrix.
- removeRow(int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Removes a specified row from this matrix.
- removeRow(CooMatrix, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixManipulations
-
Removes a specified row from a sparse matrix.
- removeRows(int...) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Removes a specified set of rows from this matrix.
- removeRows(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Removes a specified set of rows from this matrix.
- removeRows(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Removes a specified set of rows from this matrix.
- removeRows(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Removes a specified set of rows from this matrix.
- removeRows(int...) - Method in class org.flag4j.arrays.dense.Matrix
-
Removes a specified set of rows from this matrix.
- removeRows(int...) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Removes a specified set of rows from this matrix.
- removeRows(int...) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Removes a specified set of rows from this matrix.
- removeRows(CooMatrix, int...) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixManipulations
-
Removes multiple rows from a real sparse matrix.
- reordered(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication between two real dense matrices using the standard algorithm with j-k loops swapped.
- reordered(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm with j-k loops swapped.
- reordered(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm with j-k loops swapped.
- reordered(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication between two dense matrices using the standard algorithm with j-k loops swapped.
- REORDERED - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- REORDERED - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- repeat(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(int, int) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(int, int) - Method in class org.flag4j.arrays.dense.Vector
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(int, int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(int, int[]) - Static method in class org.flag4j.util.ArrayJoiner
-
Repeats an array a specified number of times.
- repeat(Object[], int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseConcat
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(CooVector, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Repeats a vector
n
times along a certain axis to create a matrix. - repeat(T[], int[], int, int, int, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConcat
-
Repeats a sparse COO vector
n
times along a certain axis to create a matrix. - resetAll() - Static method in class org.flag4j.concurrency.Configurations
-
Resets all configurations to their default values.
- resetAll() - Static method in class org.flag4j.io.PrintOptions
-
Resets all print options to their default values.
- reshape(int...) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.sparse.CooVector
-
Copies and reshapes this tensor.
- reshape(Shape) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Copies and reshapes this tensor.
- Restrictions - Search tag in class org.flag4j.util.ArrayUtils
- Section
- Restrictions: - Search tag in class org.flag4j.util.ArrayBuilder
- Section
- Restrictions: - Search tag in class org.flag4j.util.ArrayConversions
- Section
- rightMult(CMatrix) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Right multiplies this permutation matrix to the specified matrix.
- rightMult(CVector) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Right multiplies this permutation matrix to the specified vector.
- rightMult(Matrix) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Right multiplies this permutation matrix to the specified matrix.
- rightMult(Vector) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Right multiplies this permutation matrix to the specified vector.
- rightMult2x2Rotator(CMatrix, CMatrix, int, Complex128[]) - Static method in class org.flag4j.linalg.transformations.Givens
-
Right multiplies a 2x2 Givens rotator to a matrix at the specified row.
- rightMult2x2Rotator(Matrix, Matrix, int, double[]) - Static method in class org.flag4j.linalg.transformations.Givens
-
Right multiplies a 2x2 Givens rotator to a matrix at the specified row.
- rightMultReflector(CMatrix, Complex128[], Complex128, int, int, int) - Static method in class org.flag4j.linalg.transformations.Householder
-
Right multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
H, represented by the vectorv
, to another matrixA
. - rightMultReflector(CMatrix, CVector, Complex128, int, int, int) - Static method in class org.flag4j.linalg.transformations.Householder
-
Right multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
H, represented by the vectorv
, to another matrixA
. - rightMultReflector(Matrix, double[], double, int, int, int) - Static method in class org.flag4j.linalg.transformations.Householder
-
Right multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
T, represented by the vectorv
, to another matrixA
. - rightMultReflector(Matrix, Vector, double, int, int, int) - Static method in class org.flag4j.linalg.transformations.Householder
-
Right multiplies a Householder matrix
H=I-
invalid input: '&alpha'vv
T, represented by the vectorv
, to another matrixA
. - Ring<T> - Interface in org.flag4j.algebraic_structures
-
Defines a mathematical ring structure and specifies the operations that ring elements must support.
- RingMatrix<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represents a dense matrix backed by a
Ring
array. - RingMatrix(int, int, T) - Constructor for class org.flag4j.arrays.dense.RingMatrix
-
Creates a dense ring matrix with the specified data and filled with
filledValue
. - RingMatrix(int, int, T[]) - Constructor for class org.flag4j.arrays.dense.RingMatrix
-
Creates a dense ring matrix with the specified data and shape.
- RingMatrix(int, int, T[][]) - Constructor for class org.flag4j.arrays.dense.RingMatrix
-
Creates a dense ring matrix with the specified data and shape.
- RingMatrix(Shape, T) - Constructor for class org.flag4j.arrays.dense.RingMatrix
-
Creates a dense ring matrix with the specified data and filled with
filledValue
. - RingMatrix(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.RingMatrix
-
Creates a tensor with the specified data and shape.
- RingMatrix(T[][]) - Constructor for class org.flag4j.arrays.dense.RingMatrix
-
Creates a dense ring matrix with the specified data and shape.
- RingOps - Class in org.flag4j.linalg.ops.common.ring_ops
-
Utility class useful for computing ops on
Ring
tensors. - RingProperties - Class in org.flag4j.linalg.ops.common.ring_ops
-
Utility class for checking properties of
Ring's
- RingTensor<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represent a dense tensor backed by a
Ring
array. - RingTensor(Object) - Constructor for class org.flag4j.arrays.dense.RingTensor
-
Creates a tensor from an nD array.
- RingTensor(Shape, T) - Constructor for class org.flag4j.arrays.dense.RingTensor
-
Creates a dense ring tensor with the specified data and filled with
filledValue
. - RingTensor(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.RingTensor
-
Creates a tensor with the specified data and shape.
- RingTensorMixin<T,
U, - Interface in org.flag4j.arrays.backend.ring_arraysV> -
This interface provides default functionality for all tensors whose data are elements of a
Ring
. - RingVector<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represents a dense vector backed by a
Ring
array. - RingVector(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.RingVector
-
Creates a ring vector with the specified data and shape.
- RingVector(T[]) - Constructor for class org.flag4j.arrays.dense.RingVector
-
Creates a ring vector with the specified data and shape.
- rng - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Random number generator to be used when computing a random exceptional shift.
- rng - Variable in class org.flag4j.rng.distributions.Distribution
-
The random number generator to use when sampling this distribution.
- ROOT_THREE - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The double value closer than any other to the square root of 3,
- ROOT_THREE - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The float value closer than any other to the square root of 3
- ROOT_THREE - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value representing the square root of three.
- ROOT_THREE - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value representing the square root of three.
- ROOT_TWO - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The double value closer than any other to the square root of 2.
- ROOT_TWO - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The float value closer than any other to the square root of 2
- ROOT_TWO - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value representing the square root of two.
- ROOT_TWO - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value representing the square root of two.
- rotate2D(double) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a rotation matrix, R(θ), which rotates 2D column vectors
theta
degrees. - rotate3D(double, double, double) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a 3D rotation matrix, R(α, β, γ), representing a rotation with yaw, pitch, and roll angles α, β, and γ respectively.
- rotate3D(double, Vector) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a 3D rotation matrix, Ru(θ), which representing a rotation of θ degrees about an axis unit vector u.
- rotateEuler(double, double, double) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a 3D rotation matrix, RE(α, β, γ), representing a rotation described by proper Euler angles (α, β, γ).
- rotateX3D(double) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a matrix which rotates 3D column vectors about the x-axis
theta
degrees. - rotateY3D(double) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a matrix which rotates 3D column vectors about the y-axis
theta
degrees. - rotateZ3D(double) - Static method in class org.flag4j.linalg.transformations.Rotation
-
Constructs a matrix which rotates 3D column vectors about the z-axis
theta
degrees. - Rotation - Class in org.flag4j.linalg.transformations
-
The
Rotation
class provides utility methods to compute rotation matrices for 2D and 3D rotations. - round() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Rounds all data in this matrix to the nearest integer.
- round() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Rounds each entry of this tensor to the nearest whole number.
- round() - Method in class org.flag4j.arrays.dense.CMatrix
-
Rounds all data in this matrix to the nearest integer.
- round(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Rounds the values of a tensor to the nearest integer.
- round(double[], int) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Rounds the values of a tensor with specified precision.
- round(int) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Rounds all data within this matrix to the specified precision.
- round(int) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Rounds each entry in this tensor to the nearest whole number.
- round(int) - Method in class org.flag4j.arrays.dense.CMatrix
-
Rounds all data within this matrix to the specified precision.
- round(int) - Method in class org.flag4j.arrays.dense.CTensor
-
Rounds all data within this tensor to the specified precision.
- round(int) - Method in class org.flag4j.arrays.dense.CVector
-
Rounds all data within this vector to the specified precision.
- round(int) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Rounds all data within this matrix to the specified precision.
- round(int) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Rounds all data within this tensor to the specified precision.
- round(int) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Rounds all data within this vector to the specified precision.
- round(int) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Rounds all data within this matrix to the specified precision.
- round(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Rounds both components of a complex number to the nearest respective integer.
- round(Complex128[], int) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Rounds the values of a tensor with specified precision.
- round(Complex128, int) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Rounds number to specified number of decimal places.
- round(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Rounds both components of a complex number to the nearest respective integer.
- round(Complex64[], int) - Static method in class org.flag4j.linalg.ops.common.complex.Complex64Ops
-
Rounds the values of a tensor with specified precision.
- round(Complex64, int) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Rounds number to specified number of decimal places.
- round(RealFloat32, int) - Static method in class org.flag4j.algebraic_structures.RealFloat32
-
Rounds number to specified number of decimal places.
- round(RealFloat64, int) - Static method in class org.flag4j.algebraic_structures.RealFloat64
-
Rounds number to specified number of decimal places.
- roundToZero() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Rounds values in this tensor which are close to zero in absolute value to zero.
- roundToZero(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Sets all elements of this matrix to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Rounds values which are close to zero in absolute value to zero.
- roundToZero(double) - Method in class org.flag4j.arrays.dense.CMatrix
-
Sets all elements of this matrix to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.dense.CTensor
-
Sets all elements of this tensor to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.dense.CVector
-
Sets all elements of this vector to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Sets all elements of this matrix to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Sets all elements of this tensor to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Sets all elements of this vector to zero if they are within
tol
of zero. - roundToZero(double) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Sets all elements of this matrix to zero if they are within
tol
of zero. - roundToZero(double[], double) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Rounds values which are close to zero in absolute value to zero.
- roundToZero(Complex128[], double) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Rounds values which are close to zero in absolute value to zero.
- roundToZero(Complex128, double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Rounds a complex numbers to zero if its magnitude within the specified tolerance from zero.
- roundToZero(Complex64[], float) - Static method in class org.flag4j.linalg.ops.common.complex.Complex64Ops
-
Rounds values which are close to zero in absolute value to zero.
- roundToZero(Complex64, float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Rounds a complex numbers to zero if its magnitude within the specified tolerance from zero.
- rowData() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Returns the value of the
rowData
record component. - RowEchelon - Class in org.flag4j.linalg
-
This class contains static methods for computing row echelon, reduced row echelon, and extended reduced row echelon forms of a matrix.
- rowIndices - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Row indices for non-zero value of this sparse COO matrix.
- rowIndices - Variable in class org.flag4j.arrays.sparse.CooMatrix
-
Row indices for non-zero value of this sparse COO matrix.
- rowIndicesToArray() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Converts the row indices of this sparse matrix data to a primitive integer array.
- rowPermute - Variable in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Row permutation matrix for
LU
decomposition. - rowPointers - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Pointers indicating starting index of each row within the
AbstractCsrSemiringMatrix.colIndices
andAbstractTensor.data
arrays. - rowPointers - Variable in class org.flag4j.arrays.sparse.CsrMatrix
-
Pointers indicating starting index of each row within the
CsrMatrix.colIndices
andAbstractTensor.data
arrays. - rowSwaps - Variable in class org.flag4j.linalg.decompositions.lu.LU
- rref(CMatrix) - Static method in class org.flag4j.linalg.RowEchelon
-
Computes the reduced row echelon form of a matrix.
- rref(Matrix) - Static method in class org.flag4j.linalg.RowEchelon
-
Computes the reduced row echelon form of a matrix.
S
- S - Variable in class org.flag4j.linalg.decompositions.svd.SVD
-
The rectangular diagonal S corresponding to M=USVH in the SVD.
- SAFE_MIN_F32 - Static variable in class org.flag4j.util.Flag4jConstants
-
The smallest "safe" 32-bit floating point value.
- SAFE_MIN_F64 - Static variable in class org.flag4j.util.Flag4jConstants
-
The smallest "safe" 64-bit floating point value.
- sameShape(AbstractTensor<?, ?, ?>) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Checks if a tensor has the same shape as this tensor.
- sample() - Method in class org.flag4j.rng.distributions.Complex128BiGaussian
-
Randomly samples this distribution.
- sample() - Method in class org.flag4j.rng.distributions.Complex128UniformDisk
-
Randomly samples this complex annular uniform distribution centered at (
Complex128UniformDisk.centerRe
,Complex128UniformDisk.centerIm
) with inner and outer radiusComplex128UniformDisk.min
andComplex128UniformDisk.max
respectively. - sample() - Method in class org.flag4j.rng.distributions.Complex128UniformRect
-
Randomly samples this complex rectangular uniform distribution.
- sample() - Method in class org.flag4j.rng.distributions.Distribution
-
Randomly samples this distribution.
- sample() - Method in class org.flag4j.rng.distributions.RealGaussian
-
Randomly samples this Gaussian distribution.
- sample() - Method in class org.flag4j.rng.distributions.RealUniform
-
Randomly samples this uniform distribution.
- scalDiv(double[], double, double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Computes the scalar division of a tensor.
- scalDiv(double[], Complex128) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Computes the scalar division of a tensor.
- scalDiv(double[], T, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the scalar multiplication of a tensor.
- scalDiv(T[], double, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the scalar division of a tensor.
- scalePerm - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
Stores both the scaling and permutation information for the balanced matrix.
- scalMult(double[], double, double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Computes the scalar multiplication of a tensor.
- scalMult(double[], double, int, int, double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Computes the scalar multiplication of a tensor.
- scalMult(double[], double, int, int, int, double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Scales entries by the specified
factor
withinsrc
starting at indexstart
and scaling a total ofn
elements spaced bystride
. - scalMult(double[], V, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Computes the scalar multiplication of a tensor.
- scalMult(T[], double, int, int, int, T[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Scales entries by the specified
factor
withinsrc
starting at indexstart
and scaling a total ofn
elements spaced bystride
. - scalMult(T[], T, T[]) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.SemiringOps
-
Computes the scalar multiplication of a tensor.
- scalMult(T[], T, T[], int, int) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.SemiringOps
-
Computes the scalar multiplication of a tensor.
- scalMult(V[], double, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Computes the scalar multiplication of a tensor with a scalar value.
- schattenNorm(CMatrix, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Schatten p-norm of a complex dense matrix.
- schattenNorm(Matrix, double) - Static method in class org.flag4j.linalg.MatrixNorms
-
Computes the Schatten p-norm of a real dense matrix.
- Schur<T,
U> - Class in org.flag4j.linalg.decompositions.schur -
The base class for Schur decompositions.
- Schur(boolean, RandomComplex, UnitaryDecomposition<T, U>) - Constructor for class org.flag4j.linalg.decompositions.schur.Schur
-
Creates a decomposer to compute the Schur decomposition for a real dense matrix.
- second() - Method in record class org.flag4j.arrays.Pair
-
Returns the value of the
second
record component. - second() - Method in record class org.flag4j.arrays.Triple
-
Returns the value of the
second
record component. - selectAlgorithmVector(Shape) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher
-
Dynamically chooses matrix-vector multiply algorithm based on the shapes of the matrix to multiply.
- Semiring<T> - Interface in org.flag4j.algebraic_structures
-
Defines a mathematical semiring structure and specifies the operations that semiring elements must support.
- SemiringCsrMatMult - Class in org.flag4j.linalg.ops.sparse.csr.semiring_ops
-
Utility class for computing matrix multiplication of a sparse CSR
Semiring
matrix. - SemiringCsrOps - Class in org.flag4j.linalg.ops.sparse.csr.semiring_ops
-
Utility class for computing ops on sparse CSR
Semiring
tensors. - SemiringCsrProperties - Class in org.flag4j.linalg.ops.sparse.csr.semiring_ops
-
Utility class containing methods useful for determining certain properties of a sparse CSR
Semiring
matrix. - SemiringMatrix<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represents a dense matrix backed by a
Semiring
array. - SemiringMatrix(int, int, T) - Constructor for class org.flag4j.arrays.dense.SemiringMatrix
-
Creates a dense semiring matrix with the specified data and filled with
filledValue
. - SemiringMatrix(int, int, T[]) - Constructor for class org.flag4j.arrays.dense.SemiringMatrix
-
Creates a dense semiring matrix with the specified data and shape.
- SemiringMatrix(int, int, T[][]) - Constructor for class org.flag4j.arrays.dense.SemiringMatrix
-
Creates a dense semiring matrix with the specified data and shape.
- SemiringMatrix(Shape, T) - Constructor for class org.flag4j.arrays.dense.SemiringMatrix
-
Creates a dense semiring matrix with the specified data and filled with
filledValue
. - SemiringMatrix(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.SemiringMatrix
-
Creates a tensor with the specified data and shape.
- SemiringMatrix(T[][]) - Constructor for class org.flag4j.arrays.dense.SemiringMatrix
-
Creates a dense semiring matrix with the specified data and shape.
- SemiringOps - Class in org.flag4j.linalg.ops.common.semiring_ops
-
This utility class contains ops for tensors whose elements are members of a
Field
. - SemiringProperties - Class in org.flag4j.linalg.ops.common.semiring_ops
-
This utility class provides methods useful for determining properties of semiring tensors.
- SemiringTensor<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represent a dense tensor backed by a
Semiring
array. - SemiringTensor(Object) - Constructor for class org.flag4j.arrays.dense.SemiringTensor
-
Creates a tensor from an nD array.
- SemiringTensor(Shape, T) - Constructor for class org.flag4j.arrays.dense.SemiringTensor
-
Creates a dense semiring tensor with the specified data and filled with
filledValue
. - SemiringTensor(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.SemiringTensor
-
Creates a tensor with the specified data and shape.
- SemiringTensorMixin<T,
U, - Interface in org.flag4j.arrays.backend.semiring_arraysV> -
This interface provides default functionality for all tensors whose data are elements of a
Semiring
. - SemiringVector<T> - Class in org.flag4j.arrays.dense
-
Instances of this class represents a dense vector backed by a
Semiring
array. - SemiringVector(Shape, T[]) - Constructor for class org.flag4j.arrays.dense.SemiringVector
-
Creates a semiring vector with the specified data and shape.
- SemiringVector(T[]) - Constructor for class org.flag4j.arrays.dense.SemiringVector
-
Creates a semiring vector with the specified data and shape.
- set(double[], Shape, double, int...) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets an element of a tensor to the specified value.
- set(double, int) - Method in class org.flag4j.arrays.dense.CVector
-
Sets the specified index of this vector to the provided real value.
- set(double, int...) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Sets the element of this tensor at the specified target index.
- set(double, int, int) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Sets an index of this matrix to the specified value.
- set(double, int, int) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Sets the specified index of this matrix to the provided value.
- set(Double, int...) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Sets the element of this tensor at the specified indices.
- set(Double, int...) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Sets the element of this tensor at the specified indices.
- set(Double, int...) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Sets the element of this tensor at the specified indices.
- set(Double, int...) - Method in class org.flag4j.arrays.sparse.CooVector
-
Sets the element of this tensor at the specified indices.
- set(Double, int...) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Sets the element of this tensor at the specified indices.
- set(Double, int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets an index of this matrix to the specified value.
- set(Double, int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Sets an index of this matrix to the specified value.
- set(Double, int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Sets an index of this matrix to the specified value.
- set(T, int...) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Sets the element of this tensor at the specified indices.
- set(V, int...) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Sets the element of this tensor at the specified indices.
- set(V, int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Sets the element of this tensor at the specified target.
- set(V, int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Sets the element of this tensor at the specified indices.
- set(V, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets an index of this matrix to the specified value.
- set(W, int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Sets the element of this tensor at the specified indices.
- set(W, int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Sets the element of this tensor at the specified indices.
- set(W, int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Sets an index of this matrix to the specified value.
- set(W, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Sets an index of this matrix to the specified value.
- set(W, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Sets an index of this matrix to the specified value.
- set(Y, int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Sets the element of this tensor at the specified indices.
- setBlockSize(int) - Static method in class org.flag4j.concurrency.Configurations
-
Sets the current block size used in blocked algorithms.
- setCentering(boolean) - Static method in class org.flag4j.io.PrintOptions
-
Sets the centering flag.
- setCol(double[], int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a column of this matrix at the given index to the specified values.
- setCol(Double[], int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a column of this matrix at the given index to the specified values.
- setCol(Vector, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a column of this matrix at the given index to the specified values.
- setCol(Shape, T[], int[], int[], int, int, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Sets a column of a sparse matrix to the values in a sparse tensor.
- setCol(CooMatrix, int, double[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Sets a column of a sparse matrix to the data of a dense array.
- setCol(CooMatrix, int, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Sets a column of a sparse matrix to the values in a sparse tensor.
- setCol(CooVector, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Sets a column of this matrix at the given index to the specified values.
- setCol(CooVector, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Sets a column of this matrix at the given index to the specified values.
- setCol(U, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets a specified column of this matrix to a vector.
- setCol(V[], int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets a specified column of this matrix to an array.
- setCol(V, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Sets a specified column of this matrix to a vector.
- setCol(V, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Sets a column of this matrix at the given index to the specified vector.
- setCol(V, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Sets a specified column of this matrix to a vector.
- setExceptionalThreshold(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Sets the number of iterations of the QR algorithm to perform without deflation before performing a random shift.
- setExceptionalThreshold(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Sets the number of iterations of the QR algorithm to perform without deflation before performing a random shift.
- setExceptionalThreshold(int) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Sets the number of iterations of the QR algorithm to perform without deflation before performing a random shift.
- setMaxColumns(int) - Static method in class org.flag4j.io.PrintOptions
-
Sets the maximum number of columns to print.
- setMaxIterationFactor(int) - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Specify maximum iteration factor for computing the total number of iterations to run the QR algorithm for when computing the decomposition.
- setMaxIterationFactor(int) - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Specify maximum iteration factor for computing the total number of iterations to run the QR algorithm for when computing the decomposition.
- setMaxIterationFactor(int) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Specify maximum iteration factor for computing the total number of iterations to run the QR algorithm for when computing the decomposition.
- setMaxRows(int) - Static method in class org.flag4j.io.PrintOptions
-
Set the maximum number of rows to print.
- setMaxRowsCols(int) - Static method in class org.flag4j.io.PrintOptions
-
Set the maximum number of rows and columns to print.
- setMaxRowsCols(int, int) - Static method in class org.flag4j.io.PrintOptions
-
Set the maximum number of rows and columns to print.
- setNumThreads(int) - Static method in class org.flag4j.concurrency.Configurations
-
Sets the number of threads to use in concurrent algorithms.
- setNumThreadsAsAvailableProcessors() - Static method in class org.flag4j.concurrency.Configurations
-
Sets the number of threads for use in concurrent ops as the number of processors available to the Java virtual machine.
- setPadding(int) - Static method in class org.flag4j.io.PrintOptions
-
Sets the minimum padding amount for the columns.
- setParallelismLevel(int) - Static method in class org.flag4j.concurrency.ThreadManager
-
Sets the number of threads to use in the thread pool.
- setPrecision(int) - Static method in class org.flag4j.io.PrintOptions
-
Sets the printing precision for which values in a matrix/vector
- setRow(double[], int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a row of this matrix at the given index to the specified values.
- setRow(double[], int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Sets a specified row of this matrix to an array.
- setRow(Double[], int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a row of this matrix at the given index to the specified values.
- setRow(Vector, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a row of this matrix at the given index to the specified values.
- setRow(Shape, T[], int[], int[], int, int, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Sets a specified row of a real sparse COO matrix to the values in a sparse COO vector.
- setRow(CooMatrix, int, double[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Sets a specified row of a real sparse matrix to the values of a dense array.
- setRow(CooMatrix, int, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Sets a specified row of a real sparse COO matrix to the values in a sparse COO vector.
- setRow(CooVector, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Sets a row of this matrix at the given index to the specified values.
- setRow(CooVector, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Sets a row of this matrix at the given index to the specified values.
- setRow(U, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets a specified row of this matrix to a vector.
- setRow(V[], int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets a specified row of this matrix to an array.
- setRow(V, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Sets a specified row of this matrix to a vector.
- setRow(V, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Sets a specified row of this matrix to a vector.
- setRow(V, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Sets a specified row of this matrix to a vector.
- setSlice(double[][], int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a slice of this matrix to the specified
values
. - setSlice(Double[][], int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a slice of this matrix to the specified
values
. - setSlice(Matrix, int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets a slice of this matrix to the specified
values
. - setSlice(Shape, T[], int[], int[], Shape, T[], int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooGetSet
-
Copies a sparse matrix and sets a slice of the sparse COO matrix to the data of another sparse COO matrix.
- setSlice(CooMatrix, double[][], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Copies a sparse matrix and sets a slice of the sparse matrix to the data of a dense array.
- setSlice(CooMatrix, int[][], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Copies a sparse matrix and sets a slice of the sparse matrix to the data of a dense array.
- setSlice(CooMatrix, Matrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Copies a sparse matrix and sets a slice of the sparse matrix to the data of a dense matrix.
- setSlice(CooMatrix, CooMatrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooMatrixGetSet
-
Copies a sparse matrix and sets a slice of the sparse matrix to the data of another sparse matrix.
- setSlice(T, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets a slice of this matrix to the specified values.
- setSliceCopy(Matrix, int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setSliceCopy(CooMatrix, int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setSliceCopy(CsrMatrix, int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setSliceCopy(T, int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setSliceCopy(T, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setSliceCopy(T, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setSliceCopy(T, int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Creates a copy of this matrix and sets a slice of the copy to the specified values.
- setUp(CMatrix) - Method in class org.flag4j.linalg.decompositions.hess.HermHess
-
Performs basic setup for the decomposition.
- setUp(Matrix) - Method in class org.flag4j.linalg.decompositions.hess.SymmHess
-
Performs basic setup for the decomposition.
- setUp(T) - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Performs basic setup and initializes data structures to be used in the decomposition.
- setUp(T) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Initializes storage and other parameters for the decomposition.
- setUpArrays() - Method in class org.flag4j.linalg.decompositions.schur.ComplexSchur
-
Initializes temporary work arrays to be used in the decomposition.
- setUpArrays() - Method in class org.flag4j.linalg.decompositions.schur.RealSchur
-
Initializes temporary work arrays to be used in the decomposition.
- setUpArrays() - Method in class org.flag4j.linalg.decompositions.schur.Schur
-
Initializes temporary work arrays to be used in the decomposition.
- setValues(double[][]) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets the value of this matrix using a 2D array.
- setValues(double[][], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(int[][]) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets the value of this matrix using a 2D array.
- setValues(int[][], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(int[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(Double[][]) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets the value of this matrix using a 2D array.
- setValues(Double[][], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(Double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(Integer[][]) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets the value of this matrix using a 2D array.
- setValues(Integer[][], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(Integer[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseSetOps
-
Sets the value of this matrix using a 2D array.
- setValues(Matrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Sets the value of this matrix using another matrix.
- setValues(V[][]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Sets the value of this matrix using a 2D array.
- setZeroElement(V) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Sets the zero element for the field of this tensor.
- setZeroElement(V) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Sets the zero element for the field of this tensor.
- setZeroElement(W) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Sets the zero element for the semiring of this tensor.
- setZeroElement(W) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Sets the zero element for the semiring of this tensor.
- setZeroElement(Y) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Sets the zero element for the field of this tensor.
- sgn(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
The complex signum function.
- sgn(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
The complex signum function.
- sgn(RealFloat32) - Static method in class org.flag4j.algebraic_structures.RealFloat32
-
Evaluates the signum or sign function on a field element.
- sgn(RealFloat64) - Static method in class org.flag4j.algebraic_structures.RealFloat64
-
Evaluates the signum or sign function on a field element.
- sgn(RealInt16) - Static method in class org.flag4j.algebraic_structures.RealInt16
-
Evaluates the signum or sign function on a ring element.
- sgn(RealInt32) - Static method in class org.flag4j.algebraic_structures.RealInt32
-
Evaluates the signum or sign function on a ring element.
- shape - Variable in class org.flag4j.arrays.backend.AbstractTensor
-
The shape of this tensor.
- shape - Variable in class org.flag4j.arrays.sparse.PermutationMatrix
-
Shape of this permutation matrix.
- shape() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Returns the value of the
shape
record component. - shape() - Method in record class org.flag4j.arrays.SparseTensorData
-
Returns the value of the
shape
record component. - shape() - Method in record class org.flag4j.arrays.SparseVectorData
-
Returns the value of the
shape
record component. - Shape - Class in org.flag4j.arrays
-
Represents the shape of a multidimensional array (e.g. tensor, matrix, vector, etc.), specifying its dimensions and providing utilities for shape-related ops.
- Shape(int...) - Constructor for class org.flag4j.arrays.Shape
-
Constructs a shape object from specified dimensions.
- shape1 - Variable in class org.flag4j.linalg.ops.TensorDot
- shape2 - Variable in class org.flag4j.linalg.ops.TensorDot
- shapeEntriesError(Shape, int) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for a shape which cannot hold a specified number of data.
- shapeRankErr(int, int) - Static method in class org.flag4j.util.ErrorMessages
-
Gets an error message for an incorrect shape.
- shift - Variable in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Stores the shifted value of the first entry in a HouseholderOld vector.
- shift(int, int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Shifts all indices in an array by a specified amount.
- shiftCol - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Stores the non-zero data of the first column of the shifted matrix (A- invalid input: '&rho'1I)(A-invalid input: '&rho'2 I) where invalid input: '&rho'1 and invalid input: '&rho'2 are the two shifts.
- shiftRange(int, int[], int, int) - Static method in class org.flag4j.util.ArrayUtils
-
Shifts a range of indices in an array by a specified amount.
- shuffle(double[]) - Method in class org.flag4j.rng.RandomArray
-
Randomly shuffles array using the Fisher–Yates algorithm.
- shuffle(int[]) - Method in class org.flag4j.rng.RandomArray
-
Randomly shuffles array using the Fisher–Yates algorithm.
- shuffle(Object[]) - Method in class org.flag4j.rng.RandomArray
-
Randomly shuffles array using the Fisher–Yates algorithm.
- sin(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the trigonometric sine of a complex value.
- sin(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the trigonometric sine of a complex value.
- sinceLastExceptional - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
The number of iterations run in the QR algorithm without deflating or performing an exceptional shift.
- SingularMatrixException - Exception Class in org.flag4j.util.exceptions
-
An exception which is thrown when some operation not defined for singular matrices is attempted to be performed on a singular matrix.
- SingularMatrixException() - Constructor for exception class org.flag4j.util.exceptions.SingularMatrixException
-
Creates a SingularMatrixException with the simple error message "Matrix is singular."
- SingularMatrixException(String) - Constructor for exception class org.flag4j.util.exceptions.SingularMatrixException
-
Creates a SingularMatrixException with a specified error message.
- sinh(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the hyperbolic sine of a complex value.
- sinh(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the hyperbolic sine of a complex value.
- size - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
The total size of this sparse COO vector (including zero values).
- size - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
The size of this vector.
- size - Variable in class org.flag4j.arrays.dense.Vector
-
The size of this vector.
- size - Variable in class org.flag4j.arrays.sparse.CooVector
-
The full size of this sparse COO vector (including the zeros.).
- size - Variable in class org.flag4j.arrays.sparse.PermutationMatrix
-
Size of this permutation matrix.
- size - Variable in class org.flag4j.linalg.decompositions.balance.Balancer
-
This size of the matrix to be balanced.
- size() - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Gets the size/length of a vector.
- size() - Method in record class org.flag4j.arrays.IntTuple
-
Gets the size of the tuple.
- size() - Method in record class org.flag4j.arrays.Tuple
-
Gets the size of the tuple.
- slice(int) - Method in class org.flag4j.arrays.Shape
-
Returns a slice of this shape starting from the specified index to the end of this shape's dimensions.
- slice(int, int) - Method in class org.flag4j.arrays.Shape
-
Returns a slice of this shape from the specified start index to the stop index of this shape's dimensions.
- SmartMatrix - Class in org.flag4j.arrays
-
The
SmartMatrix
class provides a unified interface for performing operations on matrices of various types without requiring users to know the specific underlying implementation. - SmartMatrix(double[][]) - Constructor for class org.flag4j.arrays.SmartMatrix
-
Constructs a
SmartMatrix
from a 2D primitive double array. - SmartMatrix(Complex128[][]) - Constructor for class org.flag4j.arrays.SmartMatrix
-
Constructs a
SmartMatrix
from a 2DComplex128
array. - SmartMatrix(MatrixMixin<?, ?, ?, ?>) - Constructor for class org.flag4j.arrays.SmartMatrix
-
Constructs a
SmartMatrix
which is backed by the specified matrix. - SmartMatrix(T[][]) - Constructor for class org.flag4j.arrays.SmartMatrix
-
Constructs a
SmartMatrix
from a 2DField
array. - SmartMatrix(T[][]) - Constructor for class org.flag4j.arrays.SmartMatrix
-
Constructs a
SmartMatrix
from a 2DSemiringMatrix
array. - solve(CMatrix, CMatrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Solves the linear system of equations given by U*X=B where the coefficient matrix U is an upper triangular matrix.
- solve(CMatrix, CMatrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Performs forward substitution for a unit lower triangular matrix L and a matrix B.
- solve(CMatrix, CVector) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Solves the linear system of equations given by U*x=b where the coefficient matrix U is an upper triangular matrix.
- solve(CMatrix, CVector) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Performs forward substitution for a unit lower triangular matrix L and a vector b.
- solve(Matrix, Matrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Solves the linear system of equations given by U*X=B where the coefficient matrix U is an
upper triangular
matrix. - solve(Matrix, Matrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Performs forward substitution for a unit lower triangular matrix L and a matrix B.
- solve(Matrix, Vector) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Solves the linear system of equations given by U*x=b where the coefficient matrix U is an
upper triangular
matrix. - solve(Matrix, Vector) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Performs forward substitution for a unit lower triangular matrix L and a vector b.
- solve(T, T) - Method in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Solves the set of linear system of equations given by
A*X=B
for the matrixX
. - solve(T, T) - Method in class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Solves the linear tensor equation given by AX=B for the tensor X.
- solve(T, T) - Method in interface org.flag4j.linalg.solvers.LinearMatrixSolver
-
Solves the linear matrix equation AX=B for the matrix X.
- solve(T, T) - Method in interface org.flag4j.linalg.solvers.LinearSolver
-
Solves the linear tensor equation AX=B for the tensor X.
- solve(T, T) - Method in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Solves the set of linear system of equations given by
A*X=B
for the matrixX
whereA
,B
, andX
are matrices. - solve(T, U) - Method in class org.flag4j.linalg.solvers.exact.ExactSolver
-
Solves the linear system of equations given by
A*x=b
for the vectorx
. - solve(T, U) - Method in interface org.flag4j.linalg.solvers.LinearMatrixSolver
-
Solves the linear system of equations Ax=b for the vector x.
- solve(T, U) - Method in class org.flag4j.linalg.solvers.lstsq.LstsqSolver
-
Solves the linear system given by
Ax=b
in the least-squares sense. - solveIdentity(CMatrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Solves the linear system of equations given by U*X=I where the coefficient matrix U is an
upper triangular
matrix and I is theidentity
matrix of appropriate size. - solveIdentity(CMatrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexForwardSolver
-
Performs forward substitution for a unit lower triangular matrix L and the identity matrix.
- solveIdentity(Matrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Solves the linear system of equations given by U*X=I where the coefficient matrix U is an
upper triangular
matrix and I is theidentity
matrix of appropriate size. - solveIdentity(Matrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealForwardSolver
-
Performs forward substitution for a unit lower triangular matrix L and the identity matrix.
- solveLower(CMatrix, CMatrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.ComplexBackSolver
-
Solves a special case of the linear system U*X=L for X where the coefficient matrix U is an
upper triangular
matrix and the constant matrix L islower triangular
. - solveLower(Matrix, Matrix) - Method in class org.flag4j.linalg.solvers.exact.triangular.RealBackSolver
-
Solves a special case of the linear system U*X=L for X where the coefficient matrix U is an
upper triangular
matrix and the constant matrix L islower triangular
. - sortCsrMatrix(double[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Sorts the non-zero data and column indices of a sparse CSR matrix lexicographically by row and column index.
- sortCsrMatrix(Object[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Sorts the non-zero data and column indices of a sparse CSR matrix lexicographically by row and column index.
- sortIndices() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.sparse.CooVector
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- sortIndices() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Sorts the indices of this tensor in lexicographical order while maintaining the associated value for each index.
- SparseElementSearch - Class in org.flag4j.linalg.ops.sparse
-
This class provides methods for efficiently finding if a sparse vector, matrix, or tensor contains a non-zero item at a specified index.
- SparseMatrixData<T> - Record Class in org.flag4j.arrays
-
Data class for storing information for a sparse (CSR or COO) matrix.
- SparseMatrixData(Shape, List<T>, List<Integer>, List<Integer>) - Constructor for record class org.flag4j.arrays.SparseMatrixData
-
Creates an instance of a
SparseMatrixData
record class. - sparseSort() - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Sorts the wrapped indices in lexicographical order while maintaining the order of the non-zero values so that their order matches the order of the indices.
- SparseTensorData<T> - Record Class in org.flag4j.arrays
-
Data class for storing information for a sparse COO tensor.
- SparseTensorData(Shape, List<T>, List<int[]>) - Constructor for record class org.flag4j.arrays.SparseTensorData
-
Creates an instance of a
SparseTensorData
record class. - SparseUtils - Class in org.flag4j.linalg.ops.sparse
-
Contains common utility functions for working with sparse matrices.
- SparseUtils() - Constructor for class org.flag4j.linalg.ops.sparse.SparseUtils
- SparseVectorData<T> - Record Class in org.flag4j.arrays
-
Data class for storing information for a sparse COO vector.
- SparseVectorData(Shape, List<T>, List<Integer>) - Constructor for record class org.flag4j.arrays.SparseVectorData
-
Creates an instance of a
SparseVectorData
record class. - sparsity - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
The sparsity of this matrix.
- sparsity - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Stores the sparsity of this matrix.
- sparsity - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
The sparsity of this matrix.
- sparsity - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
The sparsity of this matrix.
- sparsity() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Gets the sparsity of this matrix as a decimal percentage.
- sparsity() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Gets the sparsity of this tensor as a decimal percentage.
- sparsity() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Gets the sparsity of this matrix as a decimal percentage.
- sparsity() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Gets the sparsity of this matrix as a decimal percentage.
- sparsity() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
The sparsity of this sparse tensor.
- sparsity() - Method in class org.flag4j.arrays.sparse.CooTensor
-
The sparsity of this sparse tensor.
- sparsity() - Method in class org.flag4j.arrays.sparse.CooVector
-
The sparsity of this sparse tensor.
- sparsity() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
The sparsity of this sparse CSR matrix.
- Special Values: - Search tag in class org.flag4j.algebraic_structures.Complex128
- Section
- Special Values: - Search tag in class org.flag4j.algebraic_structures.Complex64
- Section
- sqrt() - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes the square root of this field element.
- sqrt() - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes the square root of this field element.
- sqrt() - Method in interface org.flag4j.algebraic_structures.Field
-
Computes the square root of this field element.
- sqrt() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the square root of this field element.
- sqrt() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the square root of this field element.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldTensor
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldVector
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCsrFieldMatrix
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldTensor
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldVector
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Computes the element-wise square root of this tensor.
- sqrt() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the element-wise square root of this tensor.
- sqrt(double) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the principle square root of a number.
- sqrt(double[]) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Computes the element-wise square root of a tensor as complex values.
- sqrt(double[]) - Static method in class org.flag4j.linalg.ops.common.real.RealOps
-
Computes the element-wise square root of a tensor.
- sqrt(float) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the principle square root of a number.
- sqrt(V[], V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Computes the element-wise square root of a tensor.
- sqrtComplex() - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the element-wise square root of a tensor.
- src1 - Variable in class org.flag4j.linalg.ops.TensorDot
- src1Axes - Variable in class org.flag4j.linalg.ops.TensorDot
- src1Dims - Variable in class org.flag4j.linalg.ops.TensorDot
- src1NewAxes - Variable in class org.flag4j.linalg.ops.TensorDot
- src2 - Variable in class org.flag4j.linalg.ops.TensorDot
- src2Axes - Variable in class org.flag4j.linalg.ops.TensorDot
- src2Dims - Variable in class org.flag4j.linalg.ops.TensorDot
- src2NewAxes - Variable in class org.flag4j.linalg.ops.TensorDot
- stack(Object[], Object[], int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseConcat
-
Stacks two vectors along specified axis.
- stack(Matrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Stacks matrices along columns.
- stack(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Stacks two vectors vertically as if they were row vectors to form a matrix with two rows.
- stack(Vector, int) - Method in class org.flag4j.arrays.dense.Vector
-
Stacks two vectors along specified axis.
- stack(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Stacks matrices along columns.
- stack(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Stacks two vectors vertically as if they were row vectors to form a matrix with two rows.
- stack(CooVector, int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Stacks two vectors along specified axis.
- stack(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Stacks two vectors along columns as if they were row vectors.
- stack(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Stacks matrices along columns.
- stack(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Stacks matrices along columns.
- stack(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Stacks matrices along columns.
- stack(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Stacks matrices along columns.
- stack(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Stacks matrices along columns.
- stack(T) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Stacks two vectors vertically as if they were row vectors to form a matrix with two rows.
- stack(T[], int[], int[], int, T[], int[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConcat
-
Stacks two sparse COO matrices along columns.
- stack(T[], int[], T[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConcat
-
Stacks two sparse COO vectors joining along columns as if they were row vectors.
- stack(T, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Stacks matrices along specified axis.
- stack(T, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Stacks two vectors along specified axis.
- stack(T, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Stacks two vectors along specified axis.
- stack(T, int) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Stacks two vectors along specified axis.
- standard(double[], int[], int[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatMult
-
Computes the matrix multiplication between two sparse matrices using a standard algorithm.
- standard(double[], int[], int[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the matrix multiplication between a real sparse matrix and a real dense matrix using a standard algorithm.
- standard(double[], int[], int[], Shape, Complex128[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the matrix multiplication between two sparse matrices using a standard algorithm.
- standard(double[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a standard algorithm.
- standard(double[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the matrix multiplication between a real dense matrix and a real sparse matrix using a standard algorithm.
- standard(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the matrix multiplication between two real dense matrices using the standard algorithm.
- standard(double[], Shape, int[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Computes the transpose of a tensor.
- standard(double[], Shape, int[], double[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Computes the transpose of a tensor.
- standard(double[], Shape, int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Transposes tensor along specified axes using a standard transpose algorithm.
- standard(double[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a standard algorithm.
- standard(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm.
- standard(Object[], Shape, int[], Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Computes the transpose of a tensor.
- standard(Object[], Shape, int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Transposes tensor along specified axes using a standard transpose algorithm.
- standard(Complex128[], int[], int[], Shape, double[], int[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the matrix multiplication between two sparse matrices using a standard algorithm.
- standard(AbstractCsrFieldMatrix<?, ?, ?, T>, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix multiplication between a complex sparse CSR matrix and a real dense matrix.
- standard(AbstractDenseFieldMatrix<?, ?, T>, CsrMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.
- standard(AbstractCsrSemiringMatrix<?, ?, ?, T>, AbstractDenseSemiringMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops.DenseCsrSemiringMatMult
-
Computes the matrix multiplication between a sparse CSR matrix and a dense field matrix.
- standard(AbstractDenseSemiringMatrix<?, ?, T>, AbstractCsrSemiringMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops.DenseCsrSemiringMatMult
-
Computes the matrix multiplication between a dense matrix and a sparse CSR field matrix.
- standard(Matrix, AbstractCsrFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.
- standard(Matrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseMatrixMultiplication
-
Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.
- standard(Shape, T[], int[], int[], Shape, T[], int[], int[], T[], Semiring<T>) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices.
- standard(CsrCMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices.
- standard(CsrMatrix, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix multiplication between a real sparse CSR matrix and a complex dense matrix.
- standard(CsrMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseMatrixMultiplication
-
Computes the matrix multiplication between a real sparse CSR matrix and a real dense matrix.
- standard(CsrMatrix, CsrCMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices.
- standard(CsrMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices.
- standard(T[], int[], int[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a standard algorithm.
- standard(T[], int[], int[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatMult
-
Computes the matrix multiplication between two sparse matrices using a standard algorithm.
- standard(T[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the matrix multiplication between a sparse COO matrix and a dense matrix using a standard algorithm.
- standard(T[], Shape, double[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a standard algorithm.
- standard(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm.
- standard(T[], Shape, T[], int[], int[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the matrix multiplication between a dense matrix and a sparse COO matrix using a standard algorithm.
- standard(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the matrix multiplication between two dense matrices using the standard algorithm.
- STANDARD - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- STANDARD - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- STANDARD_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
- STANDARD_VECTOR - Enum constant in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
- standardAsSparse(CsrCMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices and returns the result as a sparse matrix.
- standardAsSparse(CsrMatrix, CsrCMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices and returns the result as a sparse matrix.
- standardAsSparse(CsrMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices and returns the result as a sparse matrix.
- standardConcurrent(double[], Shape, int[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Computes the transpose of a tensor using a concurrent implementation.
- standardConcurrent(double[], Shape, int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Transposes tensor along specified axes using a standard concurrent transpose algorithm.
- standardConcurrent(Object[], Shape, int[], Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Computes the transpose of a tensor using a concurrent implementation.
- standardConcurrent(Object[], Shape, int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Transposes tensor along specified axes using a standard concurrent transpose algorithm.
- standardConcurrentHerm(T[], Shape, int[], T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes the conjugate transpose of a tensor using a concurrent implementation.
- standardConcurrentHerm(T[], Shape, int, int, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes complex conjugate transpose of a tensor along specified axes using a standard concurrent transpose algorithm.
- standardHerm(T[], Shape, int[], T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes the conjugate transpose of a tensor using a standard implementation.
- standardHerm(T[], Shape, int, int, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes complex conjugate transpose of a tensor along specified axes using a standard transpose algorithm.
- standardIntMatrix(int[][]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Transposes a matrix using the standard algorithm.
- standardMatrix(double[], int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Transposes a matrix using the standard algorithm.
- standardMatrix(Object[], int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Transposes a matrix using the standard algorithm.
- standardMatrixConcurrent(double[], int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseTranspose
-
Computes the transpose of a matrix using a standard concurrent algorithm.
- standardMatrixConcurrent(Object[], int, int, Object[]) - Static method in class org.flag4j.linalg.ops.dense.DenseTranspose
-
Computes the transpose of a matrix using a standard concurrent algorithm.
- standardMatrixConcurrentHerm(T[], int, int, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes the complex conjugate transpose of a matrix using a standard concurrent algorithm.
- standardMatrixHerm(T[], int, int, T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingHermitianTranspose
-
Computes complex conjugate transpose of a matrix using the standard algorithm.
- standardToSparse(Shape, T[], int[], int[], Shape, T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrMatMult
-
Computes the matrix multiplication between two sparse CSR matrices and returns the result as a sparse matrix.
- standardTranspose(CsrMatrix, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix multiplication between a real sparse CSR matrix and the transpose of a complex dense matrix.
- standardTranspose(CsrMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseMatrixMultiplication
-
Computes the matrix multiplication between a real sparse CSR matrix and the transpose of a real dense matrix.
- standardVector(double[], int[], int[], Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatMult
-
Computes the multiplication between a sparse matrix and a sparse vector using a standard algorithm.
- standardVector(double[], int[], int[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the sparse matrix dense vector multiplication using a standard algorithm.
- standardVector(double[], int[], int[], Shape, Complex128[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the multiplication between a sparse matrix and a sparse vector using a standard algorithm.
- standardVector(double[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the sparse matrix dense vector multiplication using a standard algorithm.
- standardVector(double[], Shape, double[], int[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatMult
-
Computes the dense matrix sparse vector multiplication using a standard algorithm.
- standardVector(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseMatMult
-
Computes the multiplication of a real dense matrix with a real dense vector using the standard algorithm.
- standardVector(double[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a standard algorithm.
- standardVector(double[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using the standard algorithm.
- standardVector(Complex128[], int[], int[], Shape, double[], int[], Shape) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatrixMultiplication
-
Computes the multiplication between a sparse matrix and a sparse vector using a standard algorithm.
- standardVector(AbstractCsrFieldMatrix<?, ?, ?, T>, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a complex dense vector.
- standardVector(AbstractCsrSemiringMatrix<?, ?, ?, T>, AbstractDenseSemiringVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops.DenseCsrSemiringMatMult
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a dense field vector.
- standardVector(Shape, T[], int[], int[], int, T[], int[], T[], T) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrMatMult
-
Computes the matrix-vector multiplication between a sparse CSR matrix and a sparse COO vector.
- standardVector(CsrCMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrMatMult
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a complex sparse COO vector.
- standardVector(CsrMatrix, AbstractDenseFieldVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrMatMult
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a complex dense vector.
- standardVector(CsrMatrix, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseMatrixMultiplication
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a real dense vector.
- standardVector(CsrMatrix, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrMatMult
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a complex sparse COO vector.
- standardVector(CsrMatrix, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrMatMult
-
Computes the matrix-vector multiplication between a real sparse CSR matrix and a real sparse COO vector.
- standardVector(T[], int[], int[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the sparse matrix dense vector multiplication using a standard algorithm.
- standardVector(T[], int[], int[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringMatMult
-
Computes the multiplication between a sparse matrix and a sparse vector using a standard algorithm.
- standardVector(T[], int[], int[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the sparse matrix dense vector multiplication using a standard algorithm.
- standardVector(T[], Shape, double[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatMult
-
Computes the dense matrix sparse vector multiplication using a standard algorithm.
- standardVector(T[], Shape, double[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseMatMult
-
Computes the multiplication of a real dense matrix with a dense field vector using the standard algorithm.
- standardVector(T[], Shape, T[], int[], T[]) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatMult
-
Computes the dense matrix sparse vector multiplication using a standard algorithm.
- standardVector(T[], Shape, T[], Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMult
-
Computes the multiplication of a dense matrix with a dense vector using the standard algorithm.
- std - Variable in class org.flag4j.rng.distributions.RealGaussian
-
Standard deviation of the Gaussian distribution.
- storeReflectors - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Flag indicating if
Q
should be computed in the decomposition. - stridedFillZeros(double[], int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with zeros separated by the given stride.
- stridedFillZeros(double[], int, int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with a range of zeros, each separated by the given stride.
- stridedFillZeros(Complex128[], int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with zeros separated by the given stride.
- stridedFillZeros(Complex128[], int, int, int) - Static method in class org.flag4j.util.ArrayBuilder
-
Fills an array with a range of zeros, each separated by the given stride.
- StringUtils - Class in org.flag4j.util
-
A class which provides simple utility methods for
strings
. - sub(double) - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes difference of an element of this field and a real number.
- sub(double) - Method in interface org.flag4j.algebraic_structures.Field
-
Computes difference of an element of this field and a real number.
- sub(double) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes difference of an element of this field and a real number.
- sub(double) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes difference of an element of this field and a real number.
- sub(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Subtracts a primitive scalar value from each entry of this tensor.
- sub(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Subtracts a primitive scalar value from each entry of this tensor.
- sub(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Subtracts a primitive scalar value from each entry of this tensor.
- sub(double) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Subtracts a scalar value from each non-zero element of this tensor.
- sub(double) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Subtracts a scalar value from each non-zero value of this tensor.
- sub(double) - Method in class org.flag4j.arrays.sparse.CooVector
-
Subtracts a scalar value non-zero from each element of this tensor.
- sub(double[], double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Computes the element-wise subtraction of two tensors.
- sub(double[], double, double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Subtracts a scalar from every element of a tensor.
- sub(double[], T, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Subtracts a scalar value from all data of a tensor.
- sub(double[], V, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Subtracts a scalar value from each entry of the
src
tensor. - sub(float) - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes difference of an element of this field and a real number.
- sub(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Subtracts a scalar value from each entry of this tensor.
- sub(Double) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Subtracts a scalar value from each non-zero entry of this tensor.
- sub(Double) - Method in class org.flag4j.arrays.sparse.CooVector
-
Subtracts a scalar value from each non-zero entry of this tensor.
- sub(Complex128) - Method in class org.flag4j.algebraic_structures.Complex128
-
Computes difference of two elements of this field.
- sub(Complex128) - Method in class org.flag4j.arrays.dense.Matrix
-
Subtracts a complex-valued scalar from each entry of this matrix.
- sub(Complex128) - Method in class org.flag4j.arrays.dense.Tensor
-
Subtracts a complex-valued scalar from each element of this tensor.
- sub(Complex128) - Method in class org.flag4j.arrays.dense.Vector
-
Subtracts a complex-valued scalar from each entry of this vector.
- sub(Complex128) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Subtracts a scalar value from each non-zero element of this tensor.
- sub(Complex128) - Method in class org.flag4j.arrays.sparse.CooVector
-
Subtracts a scalar value from each non-zero entry of this tensor.
- sub(Complex128) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Subtracts a complex-valued scalar from all non-zero data of this sparse matrix.
- sub(Complex64) - Method in class org.flag4j.algebraic_structures.Complex64
-
Computes difference of two elements of this field.
- sub(RealFloat32) - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes difference of two elements of this field.
- sub(RealFloat64) - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes difference of two elements of this field.
- sub(RealInt16) - Method in class org.flag4j.algebraic_structures.RealInt16
-
Computes difference of two elements of this ring.
- sub(RealInt32) - Method in class org.flag4j.algebraic_structures.RealInt32
-
Computes difference of two elements of this field.
- sub(AbstractCooFieldMatrix<?, ?, ?, T>, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Subtracts a complex dense matrix from a complex sparse matrix.
- sub(AbstractCooFieldTensor<?, ?, T>, Field<T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Subtracts a scalar from a sparse COO tensor.
- sub(AbstractCooFieldTensor<?, ?, T>, AbstractDenseFieldTensor<?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Subtracts a complex dense tensor from a complex sparse tensor.
- sub(AbstractCooFieldVector<?, ?, ?, ?, T>, AbstractDenseFieldVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Subtracts a complex dense vector from a complex sparse vector.
- sub(AbstractCsrFieldMatrix<?, ?, ?, T>, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Computes the element-wise difference of two matrices.
- sub(AbstractDenseFieldMatrix<?, ?, T>, AbstractCooFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Subtracts a real sparse matrix from a real dense matrix.
- sub(AbstractDenseFieldMatrix<?, ?, T>, AbstractCsrFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.field_ops.DenseCsrFieldOps
-
Computes the element-wise difference of two matrices.
- sub(AbstractDenseFieldMatrix<?, ?, T>, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Subtracts a real sparse matrix from a complex dense matrix.
- sub(AbstractDenseFieldMatrix<?, ?, T>, CsrMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Computes the element-wise difference of two matrices.
- sub(AbstractDenseFieldTensor<?, T>, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Computes the element-wise tensor a complex sparse tensor from a complex dense tensor.
- sub(AbstractDenseFieldTensor<?, T>, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Adds a dense complex tensor to a real sparse tensor.
- sub(AbstractDenseFieldVector<?, ?, T>, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Subtracts a complex sparse vector from a complex dense vector.
- sub(AbstractDenseFieldVector<?, ?, T>, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Subtracts a real sparse vector from a complex dense vector.
- sub(CMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the difference of this matrix with a complex dense matrix.
- sub(CTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CVector) - Method in class org.flag4j.arrays.dense.Vector
-
Subtracts a complex dense vector from this vector.
- sub(CVector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseVectorOps
-
Subtracts a real sparse vector from a complex dense vector.
- sub(Matrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(Matrix, CooCMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooMatOps
-
Subtracts a real sparse matrix from a real dense matrix.
- sub(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Subtracts a real sparse matrix from a real dense matrix.
- sub(Matrix, CsrCMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_complex.RealComplexCsrDenseOps
-
Computes the element-wise difference of two matrices.
- sub(RingMatrix<T>) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Computes the element-wise difference of two matrices.
- sub(SemiringMatrix<T>) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Computes the element-wise difference of two matrices.
- sub(Tensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(Tensor, CooCTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Subtracts a sparse complex tensor from a real dense tensor.
- sub(Tensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Subtracts a real sparse tensor from a real dense tensor.
- sub(Vector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise difference between two tensors of the same shape.
- sub(Vector, CooCVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseVectorOps
-
Subtracts a complex sparse vector from a real dense vector.
- sub(Vector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Subtracts a real sparse vector from a real dense vector.
- sub(Shape, double[], Shape, T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the element-wise subtraction of two tensors.
- sub(Shape, T[], int[], Shape, T[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingVectorOps
-
Computes the element-wise vector subtraction between two real sparse vectors.
- sub(Shape, T[], Shape, double[], T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Computes the element-wise subtraction of two tensors.
- sub(Shape, T[], Shape, T[], T[]) - Static method in class org.flag4j.linalg.ops.dense.ring_ops.DenseRingTensorOps
-
Computes the element-wise difference between two dense tensors.
- sub(Shape, V[], int[][], Shape, V[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingTensorOps
-
Sums two complex sparse COO tensors and stores result in a new COO tensor.
- sub(Shape, V[], int[], int[], Shape, V[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingMatrixOps
-
Computes the element-wise difference of two sparse matrices.
- sub(SmartMatrix) - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the element-wise difference of two matrices.
- sub(CooCMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the difference of this matrix with a real sparse COO matrix.
- sub(CooCMatrix, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a double all data (including zero values) of a complex sparse matrix.
- sub(CooCMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooMatOps
-
Subtracts a real sparse matrix from a real dense matrix.
- sub(CooCMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Subtracts a real sparse matrix from a complex sparse matrix.
- sub(CooCTensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooCTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise difference between two tensors of the same shape and stores the result in this tensor.
- sub(CooCTensor, double) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Adds a scalar to a real sparse COO tensor.
- sub(CooCTensor, Tensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Subtracts a real dense tensor from a complex sparse tensor.
- sub(CooCTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooTensorOps
-
Computes difference of two sparse COO tensors and stores result in a new COO tensor.
- sub(CooCVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooCVector) - Method in class org.flag4j.arrays.dense.Vector
-
Subtracts a complex sparse vector from this vector.
- sub(CooCVector, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseVectorOps
-
Subtracts a complex dense vector from a complex sparse vector.
- sub(CooCVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the element-wise vector subtraction between a real sparse vector and a complex sparse vector.
- sub(CooMatrix) - Method in class org.flag4j.arrays.dense.CMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the difference of this matrix with a real sparse COO matrix.
- sub(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Computes the element-wise difference to two matrices.
- sub(CooMatrix) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooMatrix, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Subtracts a double from all data (including zero values) of a real sparse matrix.
- sub(CooMatrix, Complex128) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Adds a complex number to all data (including zero values) of a real sparse matrix.
- sub(CooMatrix, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Subtracts a real sparse matrix from a real dense matrix.
- sub(CooMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Subtracts a real dense matrix from a real sparse matrix.
- sub(CooMatrix, CooCMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseMatOps
-
Subtracts a complex sparse matrix from a real sparse matrix.
- sub(CooMatrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixOps
-
Computes the subtraction between two real sparse matrices.
- sub(CooSemiringMatrix<T>) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Computes the element-wise difference of two matrices.
- sub(CooTensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooTensor) - Method in class org.flag4j.arrays.dense.Tensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooTensor) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooTensor, double) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Subtracts a scalar from each entry of a real sparse COO tensor.
- sub(CooTensor, Complex128) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseCooOps
-
Subtracts a scalar from a real sparse COO tensor.
- sub(CooTensor, AbstractDenseFieldTensor<?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Subtracts a complex dense tensor from a real sparse tensor.
- sub(CooTensor, Tensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Subtracts a real dense tensor from a real sparse tensor.
- sub(CooTensor, CooCTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexCooTensorOps
-
Computes difference of two sparse COO tensors and stores result in a new COO tensor.
- sub(CooTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooTensorOps
-
Computes difference between two sparse COO tensors and stores result in a new COO tensor.
- sub(CooVector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooVector) - Method in class org.flag4j.arrays.dense.Vector
-
Subtracts a real sparse vector from this vector.
- sub(CooVector) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CooVector, double) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Subtracts a real number from each entry of a sparse vector, including the zero data.
- sub(CooVector, Complex128) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Subtracts a real number from each entry of a sparse vector, including the zero data.
- sub(CooVector, AbstractDenseFieldVector<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Subtracts a complex dense vector from a complex sparse vector.
- sub(CooVector, Vector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Subtracts a real dense vector from a real sparse vector.
- sub(CooVector, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseVectorOps
-
Computes the element-wise vector subtraction between a real sparse vector and a complex sparse vector.
- sub(CooVector, CooVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooVectorOps
-
Computes the element-wise vector subtraction between two real sparse vectors.
- sub(CsrCMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the difference of this matrix with a real sparse CSR matrix.
- sub(CsrCMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_complex.RealComplexCsrDenseOps
-
Computes the element-wise difference of two matrices.
- sub(CsrCMatrix, CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Computes the element-wise difference of two matrices.
- sub(CsrMatrix) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the difference of this matrix with a real sparse CSR matrix.
- sub(CsrMatrix) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(CsrMatrix, AbstractDenseFieldMatrix<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops.RealFieldDenseCsrOps
-
Computes the element-wise difference of two matrices.
- sub(CsrMatrix, Matrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.csr.real.RealCsrDenseOps
-
Computes the element-wise difference of two matrices.
- sub(CsrMatrix, CsrCMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real_complex.RealComplexCsrOps
-
Computes the element-wise difference of two matrices.
- sub(T) - Method in interface org.flag4j.algebraic_structures.Ring
-
Computes difference of two elements of this ring.
- sub(T) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the element-wise difference of two matrices.
- sub(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingVector
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCsrRingMatrix
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Computes the element-wise difference of two matrices.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Computes the element-wise difference between two tensors of the same shape.
- sub(T) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Warning: throws
UnsupportedOperationException
as subtraction is not defined for general semiring matrices. - sub(T[], double, T[]) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseOps
-
Subtracts a scalar value from all data of a tensor.
- sub(T[], T, T[]) - Static method in class org.flag4j.linalg.ops.common.ring_ops.RingOps
-
Subtracts a scalar value from each entry of an array.
- sub(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Subtracts a scalar value from each entry of this tensor.
- sub(V) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Subtracts a scalar value from each entry of this tensor.
- sub(V[], double, V[]) - Static method in class org.flag4j.linalg.ops.common.field_ops.FieldOps
-
Subtracts a primitive scalar value from each entry of the
src
tensor. - sub(W) - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Subtracts a scalar value from each entry of this tensor.
- subDiagonal - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Sub-diagonal of the upper quasi-triangular matrix.
- subEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Subtracts a scalar primitive value from each entry of this tensor and stores the result in this tensor.
- subEq(double) - Method in interface org.flag4j.arrays.backend.field_arrays.TensorOverField
-
Subtracts a scalar primitive value from each entry of this tensor and stores the result in this tensor.
- subEq(double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Subtracts a scalar primitive value from each entry of this tensor and stores the result in this tensor.
- subEq(double[], double) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Subtracts a scalar from each entry of this tensor and stores the result in the tensor.
- subEq(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Computes element-wise subtraction between tensors and stores the result in the first tensor.
- subEq(Double) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Subtracts a scalar value from each entry of this tensor and stores the result in this tensor.
- subEq(Double) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Subtracts a scalar value from each non-zero entry of this tensor and stores the result in this tensor.
- subEq(Double) - Method in class org.flag4j.arrays.sparse.CooVector
-
Subtracts a scalar value from each non-zero entry of this tensor and stores the result in this tensor.
- subEq(AbstractDenseFieldMatrix<?, ?, T>, AbstractCooFieldMatrix<?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldMatrixOps
-
Subtracts a complex sparse matrix from a complex dense matrix and stores the result in the dense matrix.
- subEq(AbstractDenseFieldMatrix<?, ?, T>, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooMatrixOps
-
Subtracts a real sparse matrix from a complex dense matrix and stores the result in the first matrix.
- subEq(AbstractDenseFieldTensor<?, T>, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldTensorOps
-
Computes element-wise subtraction of a complex dense tensor with a complex sparse tensor.
- subEq(AbstractDenseFieldTensor<?, T>, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooOps
-
Computes element-wise subtraction between a complex dense tensor and a real sparse tensor.
- subEq(AbstractDenseFieldVector<?, ?, T>, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldVectorOps
-
Computes the element-wise subtraction between a dense complex vector and sparse complex vectors.
- subEq(AbstractDenseFieldVector<?, ?, T>, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops.RealFieldDenseCooVectorOps
-
Computes the vector subtraction between a dense complex vector and a real sparse vector.
- subEq(Matrix, CooMatrix) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixOps
-
Subtracts a real sparse matrix from a real dense matrix and stores the result in the first matrix.
- subEq(Tensor) - Method in class org.flag4j.arrays.dense.CTensor
-
Computes the element-wise difference of this tensor with a real dense tensor and stores the result in this tensor.
- subEq(Tensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseCooTensorOps
-
Subtracts a real sparse tensor from a real dense tensor and stores the result in the dense tensor.
- subEq(Vector) - Method in class org.flag4j.arrays.dense.CVector
-
Computes the element-wise difference between two vectors of the same shape.
- subEq(Vector) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the element-wise difference between two tensors and stores the result in this tensor.
- subEq(Vector, CooVector) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseVectorOps
-
Adds a real dense vector to a real sparse vector and stores the result in the first vector.
- subEq(T) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the element-wise difference between two tensors of the same shape and stores the result in this tensor.
- subEq(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingMatrix
-
Computes the element-wise difference between two matrices of the same shape and stores the result in this matrix.
- subEq(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingTensor
-
Computes the element-wise difference between two tensors of the same shape and stores the result in this tensor.
- subEq(T) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractDenseRingVector
-
Computes the element-wise difference between two vectors of the same shape and stores the result in this vectors.
- subEq(V) - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Subtracts a scalar value from each entry of this tensor and stores the result in this tensor.
- subEq(V) - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Subtracts a scalar value from each entry of this tensor and stores the result in this tensor.
- subEq(W) - Method in interface org.flag4j.arrays.backend.ring_arrays.TensorOverRing
-
Subtracts a scalar value from each entry of this tensor and stores the result in this tensor.
- SubSpace - Class in org.flag4j.linalg
-
This class contains several methods for computing the subspace of a matrix.
- SubVisitor - Class in org.flag4j.arrays.backend.smart_visitors
- SubVisitor(MatrixMixin<?, ?, ?, ?>) - Constructor for class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- sum() - Method in interface org.flag4j.arrays.backend.field_arrays.FieldTensorMixin
-
Computes the sum of all values in this tensor.
- sum() - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDoubleTensor
-
Computes the sum of all values in this tensor.
- sum() - Method in interface org.flag4j.arrays.backend.ring_arrays.RingTensorMixin
-
Computes the sum of all values in this tensor.
- sum() - Method in interface org.flag4j.arrays.backend.semiring_arrays.SemiringTensorMixin
-
Computes the sum of all values in this tensor.
- sum() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the sum of all values in this tensor.
- sum(double...) - Static method in class org.flag4j.linalg.ops.common.real.AggregateReal
-
Computes the sum of all data in this tensor.
- sum(Complex128...) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the sum of all data of specified array.
- sum(Complex64...) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the sum of all data of specified array.
- sum(RealFloat32...) - Static method in class org.flag4j.algebraic_structures.RealFloat32
-
Computes the sum of all data of specified array.
- sum(RealFloat64...) - Static method in class org.flag4j.algebraic_structures.RealFloat64
-
Computes the sum of all data of specified array.
- sum(T...) - Static method in class org.flag4j.linalg.ops.common.semiring_ops.AggregateSemiring
-
Computes the sum of all data in this tensor.
- Supported Projections: - Search tag in class org.flag4j.linalg.transformations.Projection
- Section
- SVD<T> - Class in org.flag4j.linalg.decompositions.svd
-
This abstract class specifies methods for computing the singular value decomposition (SVD) of a matrix.
- SVD(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.svd.SVD
-
Creates a decomposer to compute the Schur decomposition.
- swap(double[], int, int) - Static method in class org.flag4j.util.ArrayUtils
-
Swaps to elements in an array.
- swap(int[], int, int) - Static method in class org.flag4j.util.ArrayUtils
-
Swaps to elements in an array.
- swap(Object[], int, int) - Static method in class org.flag4j.util.ArrayUtils
-
Swaps to elements in an array.
- swapAxes(int, int) - Method in class org.flag4j.arrays.Shape
-
Swaps two axes of this shape.
- swapCols(int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Swaps specified columns in the matrix.
- swapCols(int, int) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Swaps two columns in this permutation matrix.
- swapCols(int, int) - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Tracks the swapping of two columns during gaussian elimination with full pivoting.
- swapCols(int, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Swaps two columns, over a specified range, within the
Balancer.balancedMatrix
matrix. - swapCols(int, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Swaps two columns, over a specified range, within the
Balancer.balancedMatrix
matrix. - swapCols(int, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Swaps two columns, over a specified range, within the
Balancer.balancedMatrix
matrix. - swapCols(Shape, Object[], int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooManipulations
-
Swaps two columns, in place, in a sparse COO matrix.
- swapCols(Shape, T[], int, int) - Static method in class org.flag4j.linalg.ops.dense.DenseOps
-
Swaps specified columns in the matrix.
- swapCols(CooMatrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixManipulations
-
Swaps two columns, in place, in a sparse matrix.
- swapCols(CsrMatrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrManipulations
-
Swaps two columns in a sparse CSR matrix.
- swapCols(T[], int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Swaps two columns in a sparse CSR matrix.
- swapColsUnsafe(Shape, double[], int, int, int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Swaps two columns, over a specified range of rows, within a matrix.
- swapColsUnsafe(Shape, T[], int, int, int, int) - Static method in class org.flag4j.linalg.ops.dense.DenseOps
-
Swaps two columns, over a specified range of rows, within a matrix.
- swapRows(int, int) - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Swaps specified rows in the matrix.
- swapRows(int, int) - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Swaps two rows in this permutation matrix.
- swapRows(int, int) - Method in class org.flag4j.linalg.decompositions.lu.LU
-
Tracks the swapping of two rows during gaussian elimination with partial or full pivoting.
- swapRows(int, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Swaps two rows, over a specified range, within the
Balancer.balancedMatrix
matrix. - swapRows(int, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Swaps two rows, over a specified range, within the
Balancer.balancedMatrix
matrix. - swapRows(int, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Swaps two rows, over a specified range, within the
Balancer.balancedMatrix
matrix. - swapRows(Shape, Object[], int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooManipulations
-
Swaps two rows, in place, in a sparse COO matrix.
- swapRows(Shape, T[], int, int) - Static method in class org.flag4j.linalg.ops.dense.DenseOps
-
Swaps specified rows in the matrix.
- swapRows(CooMatrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealSparseMatrixManipulations
-
Swaps two rows, in place, in a sparse matrix.
- swapRows(CsrMatrix, int, int) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrManipulations
-
Swaps two rows in a sparse CSR matrix.
- swapRows(T[], int[], int[], int, int) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Swaps two rows in a sparse CSR matrix.
- swapRowsUnsafe(Shape, double[], int, int, int, int) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Swaps two rows, over a specified range of columns, within a matrix.
- swapRowsUnsafe(Shape, T[], int, int, int, int) - Static method in class org.flag4j.linalg.ops.dense.DenseOps
-
Swaps two rows, over a specified range of columns, within a matrix.
- symmetry() - Method in record class org.flag4j.io.MatrixMarketHeader
-
Returns the value of the
symmetry
record component. - SymmHess - Class in org.flag4j.linalg.decompositions.hess
-
Computes the Hessenburg decomposition of a real dense symmetric matrix.
- SymmHess() - Constructor for class org.flag4j.linalg.decompositions.hess.SymmHess
-
Constructs a Hessenberg decomposer for symmetric matrices.
- SymmHess(boolean) - Constructor for class org.flag4j.linalg.decompositions.hess.SymmHess
-
Constructs a Hessenberg decomposer for symmetric matrices.
- SymmHess(boolean, boolean) - Constructor for class org.flag4j.linalg.decompositions.hess.SymmHess
-
Constructs a Hessenberg decomposer for symmetric matrices.
- symmLeftRightMultReflector(Matrix, double[], double, int, double[]) - Static method in class org.flag4j.linalg.transformations.Householder
-
Applies a Householder matrix
H=I-
invalid input: '&alpha'vv
T, represented by the vectorv
to a symmetric matrixA
on both the left and right side. - SymmTriDiag - Class in org.flag4j.arrays.sparse
-
A real symmetric tri-diagonal matrix.
- SymmTriDiag(double[], double[]) - Constructor for class org.flag4j.arrays.sparse.SymmTriDiag
-
Constructs a symmetric tri-diagonal matrix with the provided diagonal and off-diagonal data.
T
- T - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
For storing the (possibly block) upper triangular matrix
T
in the Schur decomposition. - T() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the transpose of this matrix.
- T() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the transpose of this matrix.
- T() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the transpose of a tensor by exchanging the first and last axes of this tensor.
- T() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the transpose/inverse of this permutation matrix.
- T(int...) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the transpose of this tensor.
- T(int...) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the transpose of this tensor.
- T(int, int) - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.dense.Vector
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - T(int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the transpose of a tensor by exchanging
axis1
andaxis2
. - tan(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the trigonometric tangent value of a complex value.
- tan(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the trigonometric tangent value of a complex value.
- tanh(Complex128) - Static method in class org.flag4j.algebraic_structures.Complex128
-
Computes the hyperbolic tangent of a complex value.
- tanh(Complex64) - Static method in class org.flag4j.algebraic_structures.Complex64
-
Computes the hyperbolic tangent of a complex value.
- temp - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
Array for holding temporary values when computing the shifts.
- TEN - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value
10.0
. - TEN - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value
10.0
. - TEN - Static variable in class org.flag4j.algebraic_structures.RealInt16
-
The numerical value 10.
- TEN - Static variable in class org.flag4j.algebraic_structures.RealInt32
-
The numerical value 10.
- Tensor - Class in org.flag4j.arrays.dense
-
A real dense tensor backed by a primitive double array.
- Tensor(Object) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a tensor from an nD array.
- Tensor(Tensor) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Constructs a copy of the specified tensor.
- Tensor(Shape) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a zero tensor with the shape.
- Tensor(Shape, double) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a tensor with the specified shape filled with
fillValue
. - Tensor(Shape, double...) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a tensor with the specified data and shape.
- Tensor(Shape, int...) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a tensor with the specified data and shape.
- Tensor(Shape, Double[]) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a tensor with the specified data and shape.
- Tensor(Shape, Integer[]) - Constructor for class org.flag4j.arrays.dense.Tensor
-
Creates a tensor with the specified data and shape.
- tensorDot(CooCMatrix, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooFieldMatrix<T>, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooMatrix, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooRingMatrix<T>, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooSemiringMatrix<T>, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooTensor, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooTensor, CooTensor, int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.real.RealCooTensorDot
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CooVector, int[], int[]) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CsrCMatrix, int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CsrFieldMatrix<T>, int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CsrMatrix, int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CsrMatrix, CsrMatrix, int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrMatrixTensorDot
-
Computes the tensor contraction of
src1
withsrc2
over the specified set of axes. - tensorDot(CsrRingMatrix<T>, int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(CsrSemiringMatrix<T>, int[], int[]) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(T) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the tensor dot product of this tensor with a second tensor.
- tensorDot(T, int) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the tensor contraction of this tensor with a specified tensor over the specified axes.
- tensorDot(T, int[], int[]) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(T, int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(T, int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(T, int[], int[]) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(T, int[], int[]) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.
- tensorDot(T, int, int) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the tensor contraction of this tensor with a specified tensor over the specified axes.
- TensorDot<T> - Class in org.flag4j.linalg.ops
-
The base class for all classes whose instances may be used to compute a tensor dot product.
- TensorDot(Shape, T, Shape, T, int[], int[]) - Constructor for class org.flag4j.linalg.ops.TensorDot
-
Constructs a tensor dot product problem for computing the tensor contraction of two tensors over the specified set of axes.
- tensorEquals(double[], Shape, double[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseEquals
-
Checks if two dense tensors are equal.
- tensorEquals(double[], Shape, T[], Shape) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseEquals
-
Checks if two dense tensors are equal.
- tensorEquals(AbstractDenseFieldTensor<?, T>, AbstractCooFieldTensor<?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldEquals
-
Checks if a complex dense tensor is equal to a complex sparse tensor.
- tensorEquals(CTensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseEquals
-
Checks if a complex dense tensor is equal to a real sparse tensor.
- tensorEquals(Tensor, AbstractDenseFieldTensor<?, T>) - Static method in class org.flag4j.linalg.ops.dense.real_field_ops.RealFieldDenseEquals
-
Checks if two real dense tensors are equal.
- tensorEquals(Tensor, Tensor) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseEquals
-
Checks if two real dense tensors are equal.
- tensorEquals(Tensor, CooCTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseEquals
-
Checks if a real dense tensor is equal to a complex sparse tensor.
- tensorEquals(Tensor, CooTensor) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseEquals
-
Checks if a real dense tensor is equal to a real sparse tensor.
- tensorEquals(CooTensor, CooCTensor) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseEquals
-
Checks if a real sparse tensor and complex sparse tensor are equal.
- tensorEquals(T[], Shape, T[], Shape) - Static method in class org.flag4j.linalg.ops.dense.DenseEquals
-
Checks if two dense tensors are equal.
- tensorHermTranspose(Shape, T[], int[][], int[], T[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingHermTranspose
-
Computes the Hermitian transpose of a sparse COO tensor.
- tensorHermTranspose(Shape, T[], int[][], int, int, T[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.ring_ops.CooRingHermTranspose
-
Computes the Hermitian transpose of a sparse COO tensor by exchanging
axis1
andaxis2
. - TensorInvert - Class in org.flag4j.linalg
-
This utility class provides static methods for computing the 'inverse' of a tensor with respect to some tensor dot product operation.
- TensorOperation - Interface in org.flag4j.concurrency
-
Functional interface for general tensor operation.
- TensorOverField<T,
U, - Interface in org.flag4j.arrays.backend.field_arraysV, W> -
This interface specifies methods which any tensor whose data are elements of a field should implement.
- TensorOverRing<T,
U, - Interface in org.flag4j.arrays.backend.ring_arraysV, W> -
This interface specifies methods which any tensor whose data are elements of a ring should implement.
- TensorOverSemiring<T,
U, - Interface in org.flag4j.arrays.backend.semiring_arraysV, W> -
This interface specifies methods which any tensor whose data are elements of a semiring should implement.
- TensorReader - Class in org.flag4j.io
-
The TensorReader class provides several static methods for reading serialized tensors, matrices, and vectors from a file.
- TensorShapeException - Exception Class in org.flag4j.util.exceptions
-
An exception to be thrown when there is an error related to tensor shapes.
- TensorShapeException(String) - Constructor for exception class org.flag4j.util.exceptions.TensorShapeException
-
Creates a
TensorShapeException
to be thrown for a linear algebra related error. - tensorTr() - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the generalized tensor trace of this tensor along first and second axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.backend.primitive_arrays.AbstractDenseDoubleTensor
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in interface org.flag4j.arrays.backend.semiring_arrays.TensorOverSemiring
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.sparse.CooTensor
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.sparse.CooVector
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(int, int) - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(Shape, double[], int, int, Shape, double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseOps
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTr(Shape, T[], int[][], int, int) - Static method in class org.flag4j.linalg.ops.sparse.coo.semiring_ops.CooSemiringTensorOps
-
Computes the generalized trace of a tensor along the specified axes.
- tensorTr(Shape, T[], int, int, Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringOps
-
Computes the generalized trace of this tensor along the specified axes.
- tensorTranspose(Shape, Object[], int[][], int[], Object[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooTranspose
-
Computes the transpose of a sparse COO tensor.
- tensorTranspose(Shape, Object[], int[][], int, int, Object[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooTranspose
-
Computes the transpose of a sparse COO tensor by exchanging
axis1
andaxis2
. - TensorWriter - Class in org.flag4j.io
-
The
TensorWriter
class provides static methods for serializing and saving tensors, matrices, and vectors to files. - third() - Method in record class org.flag4j.arrays.Triple
-
Returns the value of the
third
record component. - ThreadManager - Class in org.flag4j.concurrency
-
This class contains the base thread pool for all concurrent ops and methods for managing the pool.
- THREE - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The complex number with zero imaginary part and three real part.
- THREE - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The complex number with zero imaginary part and three real part.
- THREE - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value
3.0
. - THREE - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value
3.0
. - THREE - Static variable in class org.flag4j.algebraic_structures.RealInt16
-
The numerical value 3.
- THREE - Static variable in class org.flag4j.algebraic_structures.RealInt32
-
The numerical value 4.
- toArrayList(double[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of doubles to an
array list
. - toArrayList(int[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of doubles to an
array list
. - toArrayList(Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of complex numbers to an
array list
. - toComplex() - Method in class org.flag4j.arrays.dense.Matrix
-
Converts this matrix to an equivalent complex matrix.
- toComplex() - Method in class org.flag4j.arrays.dense.Tensor
-
Converts this tensor to an equivalent complex valued tensor.
- toComplex() - Method in class org.flag4j.arrays.dense.Vector
-
Converts this real dense vector to an equivalent complex dense vector.
- toComplex() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Converts this real sparse COO matrix to an equivalent complex sparse COO matrix.
- toComplex() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Converts this tensor to an equivalent complex tensor.
- toComplex() - Method in class org.flag4j.arrays.sparse.CooVector
-
Converts this vector to an equivalent sparse vector.
- toComplex128(double[], Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex128(int[], Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex128(Double[], Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex128(Integer[], Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex128(String[], Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex128(Complex64[], Complex128[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array to an array of
complex numbers
. - toComplex64(float[], Complex64[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex64(int[], Complex64[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex64(Float[], Complex64[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex64(Integer[], Complex64[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplex64(String[], Complex64[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts array to an array of
complex numbers
. - toComplexArrayList(double[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of doubles to a complex
array list
. - toCoo() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Converts this sparse CSR matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.dense.CTensor
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.CVector
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Converts this dense tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.Matrix
-
Converts this dense tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.RingMatrix
-
Converts this dense tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Converts this dense tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.Tensor
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.dense.Vector
-
Converts this dense tensor to an equivalent sparse COO tensor.
- toCoo() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Converts this sparse CSR matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Converts this sparse CSR matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Converts this CSR matrix to an equivalent
COO matrix
. - toCoo() - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Converts this sparse CSR matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Converts this sparse CSR matrix to an equivalent sparse COO matrix.
- toCoo() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Converts this permutation matrix to a
real sparse COO matrix
. - toCoo(double) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo(double) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo(double) - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo(double) - Method in class org.flag4j.arrays.dense.CTensor
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo(double) - Method in class org.flag4j.arrays.dense.CVector
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo(double) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo(double) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo(double) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Converts this matrix to an equivalent sparse COO matrix.
- toCoo(double) - Method in class org.flag4j.arrays.dense.Tensor
-
Converts this tensor to an equivalent sparse COO tensor.
- toCoo(Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringConversions
-
Converts a dense matrix to an equivalent sparse COO matrix.
- toCoo(Shape, T[], double) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringConversions
-
Converts a dense matrix to an equivalent sparse COO matrix.
- toCoo(Shape, T[], int[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrConversions
-
Converts a sparse CSR matrix to an equivalent sparse COO matrix.
- toCooTensor(Shape, T[]) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringConversions
-
Converts a dense tensor to an equivalent sparse COO tensor.
- toCooTensor(Shape, T[], double) - Static method in class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringConversions
-
Converts a dense tensor to an equivalent sparse COO tensor.
- toCsr() - Method in class org.flag4j.arrays.backend.field_arrays.AbstractCooFieldMatrix
-
Converts this sparse COO matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Converts this sparse COO matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Converts this sparse COO matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.dense.Matrix
-
Converts this dense matrix to sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.dense.RingMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Converts this sparse COO matrix to an equivalent sparse CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Converts this sparse COO matrix to an equivalent compressed sparse row (CSR) matrix.
- toCsr() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Converts this COO matrix to an equivalent CSR matrix.
- toCsr() - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Converts this sparse COO matrix to an equivalent compressed sparse row (CSR) matrix.
- toCsr() - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Converts this sparse COO matrix to an equivalent compressed sparse row (CSR) matrix.
- toCsr() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Converts this permutation matrix to a
real sparse COO matrix
. - toCsr(double) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr(double) - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr(double) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr(double) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr(double) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Converts this matrix to an equivalent sparse CSR matrix.
- toCsr(Shape, T[], int[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConversions
-
Converts a COO matrix to an equivalent CSR matrix.
- toCsv(String, MatrixMixin<?, ?, ?, ?>) - Static method in class org.flag4j.io.TensorWriter
-
Writes a matrix to a CSV file.
- toCsv(String, MatrixMixin<?, ?, ?, ?>, String) - Static method in class org.flag4j.io.TensorWriter
-
Writes a matrix to a CSV file.
- toDense() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Converts this sparse COO matrix to an equivalent dense matrix.
- toDense() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
Converts this COO tensor to an equivalent dense tensor.
- toDense() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Converts this sparse COO matrix to an equivalent dense matrix.
- toDense() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Converts this sparse CSR matrix to an equivalent dense matrix.
- toDense() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Converts this sparse tensor to an equivalent dense tensor.
- toDense() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Converts this sparse tensor to an equivalent dense tensor.
- toDense() - Method in class org.flag4j.arrays.sparse.CooVector
-
Converts this sparse tensor to an equivalent dense tensor.
- toDense() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Converts this sparse CSR matrix to an equivalent dense matrix.
- toDense() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Converts this permutation matrix to a
real dense matrix
. - toDense() - Method in class org.flag4j.arrays.sparse.SymmTriDiag
-
Converts this symmetric tri-diagonal matrix to an equivalent dense matrix.
- toDense(Shape, T[], int[][], T[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooConversions
-
Converts a sparse COO tensor to an equivalent dense tensor.
- toDense(Shape, T[], int[], int[], T[], T) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrConversions
-
Converts a sparse CSR matrix to a dense matrix.
- toMatrix() - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Converts a vector to an equivalent matrix representing the vector as a column vector.
- toMatrix() - Method in class org.flag4j.arrays.dense.CTensor
-
Converts this tensor to an equivalent matrix.
- toMatrix() - Method in class org.flag4j.arrays.dense.FieldTensor
-
Converts this tensor to an equivalent matrix.
- toMatrix() - Method in class org.flag4j.arrays.dense.Tensor
-
Converts this tensor to an equivalent matrix.
- toMatrix() - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Converts this tensor to an equivalent matrix.
- toMatrix() - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Converts this tensor to an equivalent matrix.
- toMatrix() - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Converts this tensor to an equivalent matrix.
- toMatrix(boolean) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringVector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in interface org.flag4j.arrays.backend.VectorMixin
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in class org.flag4j.arrays.dense.Vector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(boolean) - Method in class org.flag4j.arrays.sparse.CooVector
-
Converts a vector to an equivalent matrix representing either a row or column vector.
- toMatrix(Shape) - Method in class org.flag4j.arrays.dense.FieldTensor
-
Converts this tensor to a matrix with the specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.dense.RingTensor
-
Converts this tensor to a matrix with the specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.dense.SemiringTensor
-
Converts this tensor to a matrix with the specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.dense.Tensor
-
Converts this tensor to an equivalent matrix with the specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Converts this tensor to a matrix with specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Converts this tensor to a matrix with the specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Converts this tensor to a matrix with the specified shape.
- toMatrix(Shape) - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Converts this tensor to a matrix with the specified shape.
- toMatrixMarket(String, MatrixMixin<?, ?, ?, ?>, String...) - Static method in class org.flag4j.io.TensorWriter
-
Writes a matrix to a Matrix Market Exchange Format file.
- toPolar() - Method in class org.flag4j.algebraic_structures.Complex128
-
Converts a complex number to an equivalent polar from.
- toPolar() - Method in class org.flag4j.algebraic_structures.Complex64
-
Converts a complex number to an equivalent polar from.
- toReal() - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this complex matrix to a real matrix.
- toReal() - Method in class org.flag4j.arrays.dense.CTensor
-
Converts this complex tensor to a real tensor.
- toReal() - Method in class org.flag4j.arrays.dense.CVector
-
Converts this complex vector to a real vector.
- toReal() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Converts this matrix to an equivalent real matrix.
- toReal() - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Converts this complex vector to a real vector.
- toReal() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Converts this complex vector to a real vector.
- toReal() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Converts this matrix to an equivalent real matrix.
- toReal(Complex128[]) - Static method in class org.flag4j.linalg.ops.common.complex.Complex128Ops
-
Converts a complex tensor to a real tensor by copying the real component and discarding the imaginary component.
- toString() - Method in class org.flag4j.algebraic_structures.Complex128
-
Converts the complex number to a string representation.
- toString() - Method in class org.flag4j.algebraic_structures.Complex64
-
Converts the complex number to a string representation.
- toString() - Method in class org.flag4j.algebraic_structures.RealFloat32
-
Converts this field element to a string representation.
- toString() - Method in class org.flag4j.algebraic_structures.RealFloat64
-
Returns a string representation of this
RealFloat64
instance. - toString() - Method in class org.flag4j.algebraic_structures.RealInt16
-
Converts this ring element to a string representation.
- toString() - Method in class org.flag4j.algebraic_structures.RealInt32
-
Converts this ring element to a string representation.
- toString() - Method in class org.flag4j.arrays.dense.CMatrix
-
Generates a human-readable string representing this matrix.
- toString() - Method in class org.flag4j.arrays.dense.CTensor
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.dense.CVector
-
Converts this vector to a human-readable string format.
- toString() - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Generates a human-readable string representing this matrix.
- toString() - Method in class org.flag4j.arrays.dense.FieldTensor
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.dense.FieldVector
-
Converts this vector to a human-readable string format.
- toString() - Method in class org.flag4j.arrays.dense.Matrix
-
Generates a human-readable string representing this matrix.
- toString() - Method in class org.flag4j.arrays.dense.RingMatrix
-
Generates a human-readable string representing this matrix.
- toString() - Method in class org.flag4j.arrays.dense.RingTensor
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.dense.RingVector
-
Converts this vector to a human-readable string format.
- toString() - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Generates a human-readable string representing this matrix.
- toString() - Method in class org.flag4j.arrays.dense.SemiringTensor
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.dense.SemiringVector
-
Converts this vector to a human-readable string format.
- toString() - Method in class org.flag4j.arrays.dense.Tensor
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.dense.Vector
-
Converts this vector to a human-readable string format.
- toString() - Method in record class org.flag4j.arrays.IntTuple
-
Returns a string representation of this record class.
- toString() - Method in record class org.flag4j.arrays.Pair
-
Returns a string representation of this record class.
- toString() - Method in class org.flag4j.arrays.Shape
-
Converts this Shape object to a string format.
- toString() - Method in class org.flag4j.arrays.SmartMatrix
-
Converts this matrix to a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooCTensor
-
Formats this sparse COO tensor as a human-readable string specifying the full shape, non-zero data, and non-zero indices.
- toString() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Formats this sparse COO tensor as a human-readable string specifying the full shape, non-zero data, and non-zero indices.
- toString() - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Formats this sparse COO tensor as a human-readable string specifying the full shape, non-zero data, and non-zero indices.
- toString() - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Formats this sparse COO tensor as a human-readable string specifying the full shape, non-zero data, and non-zero indices.
- toString() - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CooTensor
-
Formats this sparse COO tensor as a human-readable string specifying the full shape, non-zero data, and non-zero indices.
- toString() - Method in class org.flag4j.arrays.sparse.CooVector
-
Formats this tensor as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Formats this sparse matrix as a human-readable string.
- toString() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Converts this permutation matrix to a human-readable string.
- toString() - Method in record class org.flag4j.arrays.SparseMatrixData
-
Returns a string representation of this record class.
- toString() - Method in record class org.flag4j.arrays.SparseTensorData
-
Returns a string representation of this record class.
- toString() - Method in record class org.flag4j.arrays.SparseVectorData
-
Returns a string representation of this record class.
- toString() - Method in record class org.flag4j.arrays.Triple
-
Returns a string representation of this record class.
- toString() - Method in record class org.flag4j.arrays.Tuple
-
Returns a string representation of this record class.
- toString() - Method in record class org.flag4j.io.MatrixMarketHeader
-
The String representation of this Matrix Market Exchange Format header.
- totalEntries() - Method in class org.flag4j.arrays.backend.AbstractTensor
-
Gets the total number of data in this tensor.
- totalEntries() - Method in class org.flag4j.arrays.Shape
-
Gets the total number of data for a tensor with this shape.
- totalEntriesIntValueExact() - Method in class org.flag4j.arrays.Shape
-
Gets the total number of data for a tensor with this shape.
- toTensor() - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Converts this matrix to an equivalent rank 2 tensor.
- toTensor() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Converts this matrix to an equivalent rank 1 tensor.
- toTensor() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Converts this CSR matrix to an equivalent sparse COO tensor.
- toTensor() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.dense.Matrix
-
Converts this matrix to an equivalent
Tensor
. - toTensor() - Method in class org.flag4j.arrays.dense.RingMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.dense.Vector
-
Converts this vector to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooCVector
-
Converts this matrix to an equivalent rank 1 tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Converts this matrix to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Converts this matrix to an equivalent rank 1 tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Converts this sparse COO matrix to an equivalent
sparse COO tensor
. - toTensor() - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Converts this matrix to an equivalent rank 2 tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Converts this matrix to an equivalent rank 1 tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Converts this matrix to an equivalent rank 2 tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Converts this matrix to an equivalent rank 1 tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CooVector
-
Converts this sparse vector to an equivalent tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Converts this CSR matrix to an equivalent sparse COO tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Converts this CSR matrix to an equivalent sparse COO tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Converts this sparse CSR matrix to an equivalent sparse COO tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Converts this CSR matrix to an equivalent sparse COO tensor.
- toTensor() - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Converts this CSR matrix to an equivalent sparse COO tensor.
- toTensor(Shape) - Method in class org.flag4j.arrays.backend.ring_arrays.AbstractCooRingMatrix
-
Converts this matrix to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Converts this matrix to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringVector
-
Converts this vector to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Converts this CSR matrix to an equivalent COO tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent tensor with the specified
newShape
. - toTensor(Shape) - Method in class org.flag4j.arrays.dense.CMatrix
-
Converts this matrix to an equivalent tensor with the specified
newShape
. - toTensor(Shape) - Method in class org.flag4j.arrays.dense.FieldMatrix
-
Converts this matrix to an equivalent tensor with the specified
newShape
. - toTensor(Shape) - Method in class org.flag4j.arrays.dense.RingMatrix
-
Converts this matrix to an equivalent tensor with the specified
newShape
. - toTensor(Shape) - Method in class org.flag4j.arrays.dense.SemiringMatrix
-
Converts this matrix to an equivalent tensor with the specified
newShape
. - toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooCMatrix
-
Converts this matrix to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooCVector
-
Converts this vector to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooFieldMatrix
-
Converts this matrix to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooFieldVector
-
Converts this vector to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooRingMatrix
-
Converts this matrix to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooRingVector
-
Converts this vector to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooSemiringMatrix
-
Converts this matrix to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CooSemiringVector
-
Converts this vector to an equivalent tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CsrCMatrix
-
Converts this CSR matrix to an equivalent COO tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Converts this CSR matrix to an equivalent COO tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CsrRingMatrix
-
Converts this CSR matrix to an equivalent COO tensor with the specified shape.
- toTensor(Shape) - Method in class org.flag4j.arrays.sparse.CsrSemiringMatrix
-
Converts this CSR matrix to an equivalent COO tensor with the specified shape.
- toVector() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Converts this matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Converts this sparse CSR matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Converts this sparse CSR matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Converts this matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.dense.CTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.dense.FieldTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.dense.Matrix
-
Converts this matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.dense.RingTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.dense.SemiringTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.dense.Tensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.sparse.CooFieldTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Converts this matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.sparse.CooRingTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.sparse.CooSemiringTensor
-
Converts this tensor to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.sparse.CsrFieldMatrix
-
Converts this matrix to an equivalent vector.
- toVector() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Converts this matrix to an equivalent vector.
- tr() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringMatrix
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.dense.Matrix
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.sparse.CooMatrix
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.sparse.CsrMatrix
-
Computes the trace of this matrix.
- tr() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the trace of this permutation matrix.
- tr(Class<T>) - Method in class org.flag4j.arrays.SmartMatrix
-
Computes the trace of this matrix.
- trace() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Computes the trace of this matrix.
- trace() - Method in class org.flag4j.arrays.sparse.PermutationMatrix
-
Computes the trace of this permutation matrix.
- trace(T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.semiring_ops.SemiringCsrOps
-
Computes the trace of a sparse CSR matrix.
- transformData - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Pointer to the internal data array of
UnitaryDecomposition.transformMatrix
. - transformMatrix - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Storage for the upper triangular/Hessenburg matrix and the vectors of the HouseholderOld reflectors used in the decomposition.
- TransformSemiRing - Class in org.flag4j.linalg.ops.common.semiring_ops
-
A utility class for computing transformations on
Semiring
arrays. - transpose(CsrMatrix) - Static method in class org.flag4j.linalg.ops.sparse.csr.real.RealCsrOps
-
Transposes a sparse CSR matrix.
- transpose(T[], int[], int[], T[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.csr.CsrOps
-
Computes transpose of complex CSR matrix.
- TransposeDispatcher - Class in org.flag4j.linalg.ops
-
Provides a dispatch method for dynamically choosing the best matrix transpose algorithm.
- Triple<T> - Record Class in org.flag4j.arrays
-
Data record to store a triplet of values (i.e., a 3-tuple).
- Triple(T, T, T) - Constructor for record class org.flag4j.arrays.Triple
-
Creates an instance of a
Triple
record class. - TRUE - Static variable in class org.flag4j.algebraic_structures.BoolSemiring
-
The boolean value true.
- Tuple<T> - Record Class in org.flag4j.arrays
-
Data record to store an ordered list of values (i.e., an n-tuple).
- Tuple(T...) - Constructor for record class org.flag4j.arrays.Tuple
-
Creates an instance of a
Tuple
record class. - TWO - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The complex number with zero imaginary part and two real part.
- TWO - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The complex number with zero imaginary part and two real part.
- TWO - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value
2.0
. - TWO - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value
2.0
. - TWO - Static variable in class org.flag4j.algebraic_structures.RealInt16
-
The numerical value 2.
- TWO - Static variable in class org.flag4j.algebraic_structures.RealInt32
-
The numerical value 2.
U
- U - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
For storing the unitary
U
matrix in the Schur decomposition. - U - Variable in class org.flag4j.linalg.decompositions.svd.SVD
-
The unitary matrix U corresponding to M=USVH in the SVD.
- unbox(Double[], double[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of
Double
objects to a primitive array (i.e. unboxing). - unbox(Integer[], int[]) - Static method in class org.flag4j.util.ArrayConversions
-
Converts an array of
Integer
objects to a primitive array (i.e. unboxing). - unboxFlatten(Double[][]) - Static method in class org.flag4j.util.ArrayUtils
-
Flattens a two-dimensional array and unboxes.
- uniqueSorted(int[]) - Static method in class org.flag4j.util.ArrayUtils
-
Gets the unique values from an array and sorts them.
- UnitaryDecomposition<T,
U> - Class in org.flag4j.linalg.decompositions.unitary -
This class is the base class for all decompositions which proceed by using unitary transformations (specifically HouseholderOld reflectors) to bring a matrix into an upper triangular matrix (QR decomposition) or an upper Hessenburg matrix (Hessenburg decomposition).
- UnitaryDecomposition(int, boolean) - Constructor for class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Creates a real unitary decomposer which will reduce the matrix to an upper quasi-triangular matrix (Either truly upper or upper Hessenburg).
- unsafeGetFlatIndex(int...) - Method in class org.flag4j.arrays.Shape
-
Computes the index of the 1D data array for a dense tensor from nD indices for a tensor with this shape.
- unsafePermuteAxes(int...) - Method in class org.flag4j.arrays.Shape
-
Permutes the axes of this shape.
- unwrap(double[], int[]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Unwraps sparse data values and indices.
- unwrap(double[], int[][]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Unwraps sparse data values and indices.
- unwrap(double[], int[], int[]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Unwraps sparse data values and indices.
- unwrap(Object[], int[]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Unwraps sparse data values and indices.
- unwrap(Object[], int[][]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Unwraps sparse data values and indices.
- unwrap(Object[], int[], int[]) - Method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Unwraps sparse data values and indices.
- updateData(int) - Method in class org.flag4j.linalg.decompositions.hess.HermHess
-
Updates the
UnitaryDecomposition.transformMatrix
matrix using the computed Householder vector fromComplexUnitaryDecomposition.computeHouseholder(int)
. - updateData(int) - Method in class org.flag4j.linalg.decompositions.hess.SymmHess
-
Updates the
UnitaryDecomposition.transformMatrix
matrix using the computed Householder vector fromRealUnitaryDecomposition.computeHouseholder(int)
. - updateData(int) - Method in class org.flag4j.linalg.decompositions.unitary.ComplexUnitaryDecomposition
-
Updates the
UnitaryDecomposition.transformMatrix
matrix using the computed Householder vector fromComplexUnitaryDecomposition.computeHouseholder(int)
. - updateData(int) - Method in class org.flag4j.linalg.decompositions.unitary.RealUnitaryDecomposition
-
Updates the
UnitaryDecomposition.transformMatrix
matrix using the computed HouseholderOld vector fromRealUnitaryDecomposition.computeHouseholder(int)
. - updateData(int) - Method in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
Updates the
UnitaryDecomposition.transformMatrix
matrix using the computed HouseholderOld vector fromUnitaryDecomposition.computeHouseholder(int)
. - Usage: - Search tag in class org.flag4j.arrays.SmartMatrix
- Section
- Usage Example - Search tag in class org.flag4j.io.TensorWriter
- Section
- Usage Example: - Search tag in class org.flag4j.algebraic_structures.BoolSemiring
- Section
- Usage Example: - Search tag in class org.flag4j.algebraic_structures.Complex128
- Section
- Usage Example: - Search tag in class org.flag4j.algebraic_structures.Complex64
- Section
- Usage Example: - Search tag in interface org.flag4j.algebraic_structures.Field
- Section
- Usage Example: - Search tag in interface org.flag4j.algebraic_structures.Ring
- Section
- Usage Example: - Search tag in interface org.flag4j.algebraic_structures.Semiring
- Section
- Usage Examples - Search tag in class org.flag4j.util.ArrayConversions
- Section
- Usage Examples - Search tag in class org.flag4j.util.ArrayUtils
- Section
- Usage Examples: - Search tag in class org.flag4j.arrays.sparse.CsrFieldMatrix
- Section
- Usage Examples: - Search tag in class org.flag4j.arrays.sparse.CsrMatrix
- Section
- Usage Examples: - Search tag in class org.flag4j.arrays.sparse.CsrSemiringMatrix
- Section
- Usage Examples: - Search tag in org.flag4j.arrays.SmartMatrix.tr(Class<T>)
- Section
- useCentering() - Static method in class org.flag4j.io.PrintOptions
-
Gets the centering flag.
V
- V - Variable in class org.flag4j.linalg.decompositions.svd.SVD
-
The unitary matrix V corresponding to M=USVH in the SVD.
- validateArrayIndices(int, int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that a set of indices is within
[0, upperBound)
. - validateCsrMatrix(Shape, int, int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Validates that the provided arguments specify a valid CSR matrix.
- ValidateParameters - Class in org.flag4j.util
-
This utility class contains several methods for ensuring parameters satisfy some condition.
- validateSlice(Shape, int, int, int, int) - Static method in class org.flag4j.linalg.ops.sparse.SparseUtils
-
Validates that the specified slice is a valid slice of a matrix with the specified
shape
. - validateTensorIndex(Shape, int...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks if the provided nD index is contained in a tensor defined by the given
shape
. - validateTensorIndices(Shape, int[]...) - Static method in class org.flag4j.util.ValidateParameters
-
Checks that a set of nD indices are valid indices for a tensor with the specified shape.
- valueOf(String) - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMField
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMObject
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMSymmetry
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.flag4j.linalg.decompositions.lu.LU.Pivoting
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
-
Returns the enum constant of this class with the specified name.
- ValueOfRound(double, int) - Static method in class org.flag4j.util.StringUtils
-
Gets the string representation of a double rounded to the specified precision.
- ValueOfRound(T, int) - Static method in class org.flag4j.util.StringUtils
-
Gets the string representation of a field element rounded to the specified precision if possible.
- values() - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMField
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMObject
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.flag4j.io.MatrixMarketHeader.MMSymmetry
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.flag4j.linalg.decompositions.lu.LU.Pivoting
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.flag4j.linalg.ops.dense.semiring_ops.DenseSemiringMatMultDispatcher.AlgorithmNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.flag4j.linalg.ops.RealDenseMatrixMultiplyDispatcher.AlgorithmNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector - Class in org.flag4j.arrays.dense
-
A dense vector backed by a primitive double array.
- Vector(double...) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector with specified data.
- Vector(int) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector of specified size filled with zeros.
- Vector(int...) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector with specified data.
- Vector(int, double) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector of specified size filled with a specified value.
- Vector(Vector) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector from another vector.
- Vector(Shape) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector of the specified shape filled with zeros.
- Vector(Shape, double) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a vector of specified size filled with a specified value.
- Vector(Shape, double[]) - Constructor for class org.flag4j.arrays.dense.Vector
-
Creates a tensor with the specified data and shape.
- vectorEquals(double[], double[]) - Static method in class org.flag4j.linalg.ops.dense.real.RealDenseEquals
-
Checks if two real dense vectors are equal.
- vectorEquals(double[], double[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseEquals
-
Checks if a real dense vector is equal to a sparse vector equals.
- vectorEquals(double[], Complex128[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseEquals
-
Checks if a real dense vector is equal to a complex sparse vector equals.
- vectorEquals(Complex128[], double[], int[], int) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.real_complex.RealComplexDenseSparseEquals
-
Checks if a complex dense vector is equal to a real sparse vector.
- vectorEquals(AbstractDenseFieldVector<?, ?, T>, AbstractCooFieldVector<?, ?, ?, ?, T>) - Static method in class org.flag4j.linalg.ops.dense_sparse.coo.field_ops.DenseCooFieldEquals
-
Checks if a complex dense vector is equal to a complex sparse vector.
- vectorEquals(CooVector, CooCVector) - Static method in class org.flag4j.linalg.ops.sparse.coo.real_complex.RealComplexSparseEquals
-
Checks if a real sparse vector and complex sparse vector are equal.
- vectorMaxAbs(int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Computes the maximum absolute value of a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorMaxAbs(int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Computes the maximum absolute value of a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorMaxAbs(int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Computes the maximum absolute value of a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - VectorMixin<T,
U, - Interface in org.flag4j.arrays.backendV, W> -
This interface specifies methods which all vectors should implement.
- vectorNorm(int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Computes the ℓ2 norm of a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorNorm(int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Computes the ℓ2 norm of a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorNorm(int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Computes the ℓ2 norm of a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - VectorNorms - Class in org.flag4j.linalg
-
A utility class for computing vector norms, including various types of ℓp norms, with support for both dense and sparse vectors.
- vectorScale(double, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.Balancer
-
Scales a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorScale(double, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.ComplexBalancer
-
Scales a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorScale(double, int, int, int) - Method in class org.flag4j.linalg.decompositions.balance.RealBalancer
-
Scales a vector with
n
elements fromBalancer.balancedMatrix
's 1D data array starting at indexstart
and spaced bystride
. - vectorType() - Method in interface org.flag4j.arrays.backend.MatrixMixin
-
Checks what type of vector this matrix is. i.e. not a vector, a 1x1 matrix, a row vector, or a column vector.
- View - Class in org.flag4j.linalg.transformations
-
Utility class containing static for generating view matrices.
- visit(CMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(FieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(FieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(FieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(FieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(FieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(FieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(Matrix) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(Matrix) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(Matrix) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(Matrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(Matrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(Matrix) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(RingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(RingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(RingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(RingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(RingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(RingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(SemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(SemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(SemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(SemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(SemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(SemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CooCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CooCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CooCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CooCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CooCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CooCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CooFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CooFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CooFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CooFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CooFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CooFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CooMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CooMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CooMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CooMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CooMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CooMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CooRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CooRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CooRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CooRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CooRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CooRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CooSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CooSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CooSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CooSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CooSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CooSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CsrCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CsrCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CsrCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CsrCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CsrCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CsrCMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CsrFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CsrFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CsrFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CsrFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CsrFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CsrFieldMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CsrMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CsrMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CsrMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CsrMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CsrMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CsrMatrix) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CsrRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CsrRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CsrRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CsrRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CsrRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CsrRingMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
- visit(CsrSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.AddVisitor
- visit(CsrSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.DivVisitor
- visit(CsrSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.ElemMultVisitor
- visit(CsrSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatMultVisitor
- visit(CsrSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.MatrixVisitor
- visit(CsrSemiringMatrix<U>) - Method in class org.flag4j.arrays.backend.smart_visitors.SubVisitor
W
- workArray - Variable in class org.flag4j.linalg.decompositions.schur.Schur
-
An array for storing temporary values along the colum of a matrix when applying Householder reflectors.
- workArray - Variable in class org.flag4j.linalg.decompositions.unitary.UnitaryDecomposition
-
For temporarily storage when applying HouseholderOld vectors.
- wrap(double[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Factory method which wraps data in an instance of
CooDataSorter
and returns that instance. - wrap(double[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Factory method which wraps data in an instance of
CooDataSorter
and returns that instance. - wrap(double[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Factory method which wraps data in an instance of
CooDataSorter
and returns that instance. - wrap(Object[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Factory method which wraps data in an instance of
CooDataSorter
and returns that instance. - wrap(Object[], int[][]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Factory method which wraps data in an instance of
CooDataSorter
and returns that instance. - wrap(Object[], int[], int[]) - Static method in class org.flag4j.linalg.ops.sparse.coo.CooDataSorter
-
Factory method which wraps data in an instance of
CooDataSorter
and returns that instance. - wrap(CVector, Shape) - Method in class org.flag4j.linalg.solvers.exact.ComplexExactTensorSolver
-
Wraps solution as a tensor and reshapes to the proper shape.
- wrap(Vector, Shape) - Method in class org.flag4j.linalg.solvers.exact.RealExactTensorSolver
-
Wraps solution as a tensor and reshapes to the proper shape.
- wrap(V, Shape) - Method in class org.flag4j.linalg.solvers.exact.ExactTensorSolver
-
Wraps solution as a tensor and reshapes to the proper shape.
- wrapArray(double...) - Static method in class org.flag4j.algebraic_structures.RealFloat64
-
Wraps a primitive double array as a
RealFloat64
array. - wrapArray(float...) - Static method in class org.flag4j.algebraic_structures.RealFloat32
-
Wraps a primitive float array as a
RealFloat32
array. - wrapArray(Double[]) - Static method in class org.flag4j.algebraic_structures.RealFloat64
-
Wraps a
Double
array as aRealFloat64
array. - wrapArray(Float...) - Static method in class org.flag4j.algebraic_structures.RealFloat32
-
Wraps a
Float
array as aRealFloat32
array. - write(String, AbstractTensor<?, ?, ?>) - Static method in class org.flag4j.io.TensorWriter
-
Writes a tensor to a file using a
ObjectOutputStream
. - write(String, MatrixMixin<?, ?, ?, ?>, String...) - Static method in class org.flag4j.io.MatrixMarketWriter
-
Writes a matrix to a file in Matrix Market Exchange Format file.
X
- x - Variable in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
For storing vector results.
- X - Variable in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
For storing matrix results.
- xCol - Variable in class org.flag4j.linalg.solvers.exact.triangular.BackSolver
-
For temporary storage of matrix columns to help improve cache performance.
- xCol - Variable in class org.flag4j.linalg.solvers.exact.triangular.ForwardSolver
-
Temporary storage for columns of the solution matrix.
- xor(BoolSemiring) - Method in class org.flag4j.algebraic_structures.BoolSemiring
-
Computes the exclusive OR (XOR) of this
BoolSemiring
with another.
Z
- ZERO - Static variable in class org.flag4j.algebraic_structures.BoolSemiring
-
The boolean value false.
- ZERO - Static variable in class org.flag4j.algebraic_structures.Complex128
-
The complex number with zero imaginary and real parts.
- ZERO - Static variable in class org.flag4j.algebraic_structures.Complex64
-
The complex number with zero imaginary and real parts.
- ZERO - Static variable in class org.flag4j.algebraic_structures.RealFloat32
-
The numerical value
0.0
. - ZERO - Static variable in class org.flag4j.algebraic_structures.RealFloat64
-
The numerical value
0.0
. - ZERO - Static variable in class org.flag4j.algebraic_structures.RealInt16
-
The numerical value 0.
- ZERO - Static variable in class org.flag4j.algebraic_structures.RealInt32
-
The numerical value 0.
- zeroElement - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringMatrix
-
The zero element for the semiring that this tensor's elements belong to.
- zeroElement - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCooSemiringTensor
-
The zero element for the semiring that this tensor's elements belong to.
- zeroElement - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
-
The zero element for the semiring that this tensor's elements belong to.
- zeroElement - Variable in class org.flag4j.arrays.backend.semiring_arrays.AbstractDenseSemiringTensor
-
The zero element for the semiring that this tensor's elements belong to.
- zeroPivotTol - Variable in class org.flag4j.linalg.decompositions.lu.LU
-
Tolerance for determining if pivot value is to be considered zero in LU decomposition with no pivoting.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form