Outer#

inline Matrix33 Outer(const Vec3 &a, const Vec3 &b)#

Computes the outer product of two vectors.

Parameters:
  • a[in] First vector (column vector)

  • b[in] Second vector (treated as row vector)

Returns:

Matrix where result(i,j) = a[i] * b[j]