object

# `linear_algebra`

Linear algebra predicates for numeric vectors and matrices implemented without dependencies on machine learning libraries.

Availability:
`logtalk_load(linear_algebra(loader))`
Author: Paulo Moura
Version: 1:1:0
Date: 2026-05-21
Compilation flags:
`static, context_switching_calls`
Implements:
`public` linear_algebra_protocol
Uses:
list
numberlist
type
Remarks:
(none)
Inherited public predicates:
add_matrices/3 add_scaled_outer_product/4 add_scaled_vector/4 add_vectors/3 backward_substitution/3 basis_vector/3 center_gram_matrix/4 center_gram_vector/4 cholesky_decomposition/2 covariance_matrix/2 determinant/2 diagonal_matrix/2 diagonal_matrix/3 diagonal_matrix/4 difference_norm/3 dot_product/3 euclidean_norm/2 first_significant_component/2 first_significant_component/3 forward_substitution/3 frobenius_norm/2 gram_matrix/2 identity_matrix/2 inverse_matrix/2 invert_from_cholesky/2 least_squares/3 lower_triangular_part/2 lower_triangular_part/3 matrix_column/3 matrix_column_means/2 matrix_diagonal/2 matrix_diagonal/3 matrix_matrix_product/3 matrix_rank/2 matrix_rank/3 matrix_row/3 matrix_row_means/2 matrix_trace/2 matrix_value/4 matrix_vector_product/3 new_matrix/4 new_vector/3 new_vector_like/2 normalize_vector/2 normalize_vector/3 null_space/2 null_space/3 outer_product/3 pseudo_inverse/2 pseudo_inverse/3 qr_decomposition/3 scale_matrix/3 scale_vector/3 shift_matrix_diagonal/3 solve_cholesky/3 solve_linear_system/3 solve_linear_systems/3 solve_lower_triangular_matrix/3 solve_upper_triangular/3 solve_upper_triangular_matrix/3 stabilize_vector_sign/2 stabilize_vector_sign/3 subtract_matrices/3 subtract_vectors/3 symmetric_eigen/3 symmetric_eigen/4 symmetric_eigen/5 transpose_matrix/2 upper_triangular_part/2 upper_triangular_part/3 vector_norm/3 vector_value/3

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)