MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / operator*

Method operator*

src/geode/geometry/square_matrix.cpp:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87 template < index_t dimension >
88 geode::Vector< dimension > SquareMatrix< dimension >::operator*(
89 const geode::Vector< dimension >& vector ) const
90 {
91 Vector< dimension > result;
92 for( const auto d : LRange{ dimension } )
93 {
94 result.set_value( d, matrix_rows_[d].dot( vector ) );
95 }
96 return result;
97 }
98
99 template < index_t dimension >
100 SquareMatrix< dimension > SquareMatrix< dimension >::operator*(

Callers

nothing calls this directly

Calls 3

dotMethod · 0.80
set_valueMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected