Contents

la_norm_as_float(_:_:)

Declaration

func la_norm_as_float(_ vector: la_object_t, _ vector_norm: la_norm_t) -> Float

Discussion

Compute a norm of a vector or matrix.

“vector” refers to the fact that this function computes the norm of its argument considered as a vector, and not an operator norm. The actual argument may be either a vector or a matrix. If it is not a vector or matrix, or if the vector_norm parameter is not a supported value, NAN is returned.

See Also

Functions