Returns the greatest scalar in the vector.
SDK
- Xcode 11.0+
Framework
- Swift Standard Library
Declaration
func max() -> Scalar
Available when Scalar conforms to Floating Point.
Returns the greatest scalar in the vector.
SDK
Framework
func max() -> Scalar