Lines Matching defs:matrix

27           struct matrix  struct
32 typedef ::color::constant::xyz::transformation::matrix<scalar_type> this_type;
35 … typedef ::color::constant::xyz::space::primary< scalar_type, space_number > system_type;
37 …color::constant::xyz::illuminant::point< scalar_type, illuminant_number, observer_number > wp_type;
39 … static /* constexpr*/ scalar_type const xr(){ return system_type::red()[0]; } // 0.64 in xr()
40 … static /* constexpr*/ scalar_type const yr(){ return system_type::red()[1]; } // 0.33 in yr()
41 … static /* constexpr*/ scalar_type const xg(){ return system_type::green()[0]; } // 0.30 in xg()
42 … static /* constexpr*/ scalar_type const yg(){ return system_type::green()[1]; } // 0.60 in yg()
43 … static /* constexpr*/ scalar_type const xb(){ return system_type::blue()[0]; } // 0.15 in xb()
44 … static /* constexpr*/ scalar_type const yb(){ return system_type::blue()[1]; } // 0.06 in yb()
47 …st detQ(){ return -yr()*yg()*yb()/( (xg()-xb())*yr() + (xb()-xr())*yg() + (xr()-xg())*yb() ) ; } in detQ()
48 …*/ scalar_type const Q11(){ return -detQ() * ( (xb()-1)*yg() + (1-xg())*yb() )/( yb()* yg() ); } in Q11()
49 …*/ scalar_type const Q12(){ return -detQ() * ( (yg()-1)*xb() + (1-yb())*xg() )/( yb()* yg() ); } in Q12()
50 …constexpr*/ scalar_type const Q13(){ return -detQ() * ( xb()*yg() - xg()*yb() ) / ( yb()*yg() ); } in Q13()
52 …*/ scalar_type const Q21(){ return detQ() * ( (xb()-1)*yr() + (1-xr())*yb() )/( yb()* yr() ); } in Q21()
53 …*/ scalar_type const Q22(){ return detQ() * ( (yr()-1)*xb() + (1-yb())*xr() )/( yb()* yr() ); } in Q22()
54 …constexpr*/ scalar_type const Q23(){ return detQ() * ( xb()*yr() - xr()*yb() ) / ( yb()*yr() ); } in Q23()
56 …*/ scalar_type const Q31(){ return -detQ() * ( (xg()-1)*yr() + (1-xr())*yg() )/( yg()* yr() ); } in Q31()
57 …*/ scalar_type const Q32(){ return -detQ() * ( (yr()-1)*xg() + (1-yg())*xr() )/( yg()* yr() ); } in Q32()
58 …constexpr*/ scalar_type const Q33(){ return -detQ() * ( xg()*yr() - xr()*yg() ) / ( yg()*yr() ); } in Q33()
61 …ar_type const Sr(){ return Q11() * wp_type::X() + Q12() * wp_type::Y() + Q13() * wp_type::Z(); } in Sr()
62 …ar_type const Sg(){ return Q21() * wp_type::X() + Q22() * wp_type::Y() + Q23() * wp_type::Z(); } in Sg()
63 …ar_type const Sb(){ return Q31() * wp_type::X() + Q32() * wp_type::Y() + Q33() * wp_type::Z(); } in Sb()
65 static /* constexpr*/ scalar_type const Xr(){ return xr()/yr() ; } in Xr()
66 static /* constexpr*/ scalar_type const Yr(){ return scalar_type(1); } in Yr()
67 … static /* constexpr*/ scalar_type const Zr(){ return (scalar_type(1)-xr()-yr())/yr(); } in Zr()
69 static /* constexpr*/ scalar_type const Xg(){ return xg()/yg(); } in Xg()
70 static /* constexpr*/ scalar_type const Yg(){ return scalar_type(1); } in Yg()
71 … static /* constexpr*/ scalar_type const Zg(){ return (scalar_type(1)-xg()-yg())/yg(); } in Zg()
73 static /* constexpr*/ scalar_type const Xb(){ return xb()/yb(); } in Xb()
74 static /* constexpr*/ scalar_type const Yb(){ return scalar_type(1); } in Yb()
75 … static /* constexpr*/ scalar_type const Zb(){ return (scalar_type(1)-xb()-yb())/yb(); } in Zb()
79 …){ return Sr()*Xr(); } // 0.4124564, [ASTM->] 0.41245643908969243 [non-ASTM->] 0.4123865632529917 in M11()
80 …){ return Sg()*Xg(); } // 0.3575761 [ASTM->] 0.35757607764390886 [non-ASTM->] 0.3575914909206254 in M12()
81 …){ return Sb()*Xb(); } // 0.1804375 [ASTM->] 0.18043748326639894 [non-ASTM->] 0.1804504912035637 in M13()
82 …){ return Sr()*Yr(); } // 0.2126729, [ASTM->] 0.21267285140562264 [non-ASTM->] 0.2126368216773238 in M21()
83 …){ return Sg()*Yg(); } // 0.7151522, [ASTM->] 0.71515215528781773 [non-ASTM->] 0.7151829818412507 in M22()
84 …{ return Sb()*Yb(); } // 0.0721750, [ASTM->] 0.072174993306559576 [non-ASTM->] 0.07218019648142547 in M23()
85 …{ return Sr()*Zr(); } // 0.0193339, [ASTM->] 0.019333895582329310 [non-ASTM->] 0.01933062015248399 in M31()
86 …){ return Sg()*Zg(); } // 0.1191920 [ASTM->] 0.11919202588130293 [non-ASTM->] 0.1191971636402085 in M32()
87 …){ return Sb()*Zb(); } // 0.9503041 [ASTM->] 0.95030407853636789 [non-ASTM->] 0.9503725870054354 in M33()
90 … M11()*(M22()*M33()-M23()*M32())-M12()*(M21()*M33()-M23()*M31())+M13()*(M21()*M32()-M22()*M31()); } in detM()
92 …onstexpr*/ scalar_type const i11(){ return ( M22()*M33()-M23()*M32() ) / detM(); } // 3.2406255; in i11()
93 …onstexpr*/ scalar_type const i12(){ return ( M13()*M32()-M12()*M33() ) / detM(); } // -1.537208; in i12()
94 …onstexpr*/ scalar_type const i13(){ return ( M12()*M23()-M13()*M22() ) / detM(); } // -0.4986286; in i13()
95 …onstexpr*/ scalar_type const i21(){ return ( M23()*M31()-M21()*M33() ) / detM(); } // -0.9689307; in i21()
96 …onstexpr*/ scalar_type const i22(){ return ( M11()*M33()-M13()*M31() ) / detM(); } // 1.8757561; in i22()
97 …onstexpr*/ scalar_type const i23(){ return ( M13()*M21()-M11()*M23() ) / detM(); } // 0.0415175; in i23()
98 …onstexpr*/ scalar_type const i31(){ return ( M21()*M32()-M22()*M31() ) / detM(); } // 0.0557101; in i31()
99 …onstexpr*/ scalar_type const i32(){ return ( M12()*M31()-M11()*M32() ) / detM(); } // -0.2040211; in i32()
100 …onstexpr*/ scalar_type const i33(){ return ( M11()*M22()-M12()*M21() ) / detM(); } // 1.0569959; in i33()