[][src]Module optimization_engine::matrix_operations

matrix_operations

Matrix operations used by the optimization algorithm.

Examples

fn main() {
}

Errors

Panics

Functions

inner_product

Calculate the inner product of two vectors

norm1

Calculate the 2-norm of a vector

norm2

Calculate the 2-norm of a vector

norm2_squared_diff

Calculate the squared 2-norm of the difference of two vectors

norm2_squared

Calculate the 2-norm of a vector

norm_inf

Calculate the infinity-norm of a vector

norm_inf_diff

Computes the infinity norm of the difference of two vectors