OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Determinant
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/ui/gfx/
matrix3_unittest.cc
47
TEST(Matrix3fTest,
Determinant
) {
48
EXPECT_EQ(1.0f, Matrix3F::Identity().
Determinant
());
49
EXPECT_EQ(0.0f, Matrix3F::Zeros().
Determinant
());
50
EXPECT_EQ(0.0f, Matrix3F::Ones().
Determinant
());
55
EXPECT_EQ(390.0f, matrix.
Determinant
());
59
EXPECT_EQ(0, matrix.
Determinant
());
64
EXPECT_NEAR(0.3149f, matrix.
Determinant
(), 0.0001f);
76
EXPECT_EQ(0, singular.
Determinant
());
matrix3_f.h
66
// Value of the
determinant
of the matrix.
67
float
Determinant
() const;
matrix3_f.cc
33
// This routine is separated from the Matrix3F::
Determinant
because in
103
double
determinant
= Determinant3x3(data_);
local
104
if (std::numeric_limits<float>::epsilon() > std::abs(
determinant
))
108
(data_[M11] * data_[M22] - data_[M12] * data_[M21]) /
determinant
,
109
(data_[M02] * data_[M21] - data_[M01] * data_[M22]) /
determinant
,
110
(data_[M01] * data_[M12] - data_[M02] * data_[M11]) /
determinant
,
111
(data_[M12] * data_[M20] - data_[M10] * data_[M22]) /
determinant
,
112
(data_[M00] * data_[M22] - data_[M02] * data_[M20]) /
determinant
,
113
(data_[M02] * data_[M10] - data_[M00] * data_[M12]) /
determinant
,
114
(data_[M10] * data_[M21] - data_[M11] * data_[M20]) /
determinant
,
[
all
...]
Completed in 40 milliseconds