Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TinyMPC/TinyMPC
/ pnegate
Function
pnegate
include/Eigen/Eigen/src/Core/GenericPacketMath.h:338–339 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
336
337
/** \internal \returns -a (coeff-wise) */
338
template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
339
pnegate(const Packet& a) { return -a; }
340
341
template<> EIGEN_DEVICE_FUNC inline bool
342
pnegate(const bool& a) { return !a; }
Callers
2
pnmadd
Function · 0.70
pnmsub
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected