Skip to main content

is_orthogonal

Method of RealMatrix.

Overloads

NameDescription
is_orthogonal(const RealMatrix rhs) -> boolReturns true if the RealMatrix lhs is orthogonal to the RealMatrix rhs. This function is only supported by one-dimensional matrices (i.e. vectors)
is_orthogonal(const RealMatrix rhs, real tolerance) -> boolReturns true if the RealMatrix lhs is orthogonal to the RealMatrix rhs. This function is only supported by one-dimensional matrices (i.e. vectors)

is_orthogonal(const RealMatrix rhs) -> bool

Returns true if the RealMatrix lhs is orthogonal to the RealMatrix rhs. This function is only supported by one-dimensional matrices (i.e. vectors)

Parameters

is_orthogonal(const RealMatrix rhs, real tolerance) -> bool

Returns true if the RealMatrix lhs is orthogonal to the RealMatrix rhs. This function is only supported by one-dimensional matrices (i.e. vectors)

Parameters

  • rhs: The RealMatrix.
  • tolerance: The tolerance to use for comparison.