mp_units::utility::cartesian_tensor::cartesian_tensor¶
Construct from cartesian_tensor
Synopsis¶
Declared in <mp-units/utility/cartesian_tensor.h>
template<typename U>
requires std::constructible_from<T, U>
[[nodiscard]] constexpr explicit(!detail::ImplicitlyConvertibleScalar<U, T>)
cartesian_tensor(cartesian_tensor<U, N> const& other);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| other | The object to copy construct from |