MCPcopy Create free account
hub / github.com/Kitware/VTK / Determinant2x2

Function Determinant2x2

Common/Core/vtkMath.h:767–770  ·  view source on GitHub ↗

* Compute determinant of 2x2 matrix. Two columns of matrix are input. */

Source from the content-addressed store, hash-verified

765 * Compute determinant of 2x2 matrix. Two columns of matrix are input.
766 */
767 static float Determinant2x2(const float c1[2], const float c2[2])
768 {
769 return c1[0] * c2[1] - c2[0] * c1[1];
770 }
771
772 ///@{
773 /**

Callers 10

AdjointMethod · 0.85
Determinant3x3Method · 0.85
vtkLinearSolve3x3Function · 0.85
vtkInvert3x3Function · 0.85
TestDeterminant2x2Function · 0.85
EvaluatePositionMethod · 0.85
EvaluatePositionMethod · 0.85
ReferenceToPhysicalMethod · 0.85
SetSigmaMatrixMethod · 0.85
RequestDataMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestDeterminant2x2Function · 0.68