MCPcopy Create free account
hub / github.com/dengwirda/jigsaw / void_type

Function void_type

src/libcpp/mathutil.hpp:168–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 typename size_type
167 >
168 __inline_call void_type inv_2x2 (
169 size_type _la,
170 __const_ptr (real_type) _aa,
171 size_type _lx,
172 __write_ptr (real_type) _xx,
173 real_type &_da
174 )
175 {
176 _da = det_2x2(_la, _aa) ;
177
178 _xx[__ij(0, 0, _lx)] =
179 _aa[__ij(1, 1, _la)] ;
180 _xx[__ij(1, 1, _lx)] =
181 _aa[__ij(0, 0, _la)] ;
182 _xx[__ij(0, 1, _lx)] =
183 -_aa[__ij(0, 1, _la)] ;
184 _xx[__ij(1, 0, _lx)] =
185 -_aa[__ij(1, 0, _la)] ;
186 }
187
188 template <
189 typename real_type,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected