# Crate rfw_math[−][src]

## Modules

`bool` vector mask types.

`f32` vector, quaternion and matrix types.

`f64` vector, quaternion and matrix types.

`i32` vector types.

Traits adding swizzle methods to all vector types.

`u32` vector types.

## Macros

Creates a `DMat2` from two column vectors that can be used to initialize a constant value.

Creates a `DMat3` from three column vectors that can be used to initialize a constant value.

Creates a `DMat4` from four column vectors that can be used to initialize a constant value.

Creates a `DQuat` from `x`, `y`, `z` and `w` values that can be used to initialize a constant value.

Creates a `DVec2` that can be used to initialize a constant value.

Creates a `DVec3` that can be used to initialize a constant value.

Creates a `DVec4` that can be used to initialize a constant value.

Creates a `IVec2` that can be used to initialize a constant value.

Creates a `IVec3` that can be used to initialize a constant value.

Creates a `IVec4` that can be used to initialize a constant value.

Creates a `Mat2` from two column vectors that can be used to initialize a constant value.

Creates a `Mat3` from three column vectors that can be used to initialize a constant value.

Creates a `Mat3A` from three column vectors that can be used to initialize a constant value.

Creates a `Mat4` from four column vectors that can be used to initialize a constant value.

Creates a `Quat` from `x`, `y`, `z` and `w` values that can be used to initialize a constant value.

Creates a `UVec2` that can be used to initialize a constant value.

Creates a `UVec3` that can be used to initialize a constant value.

Creates a `UVec4` that can be used to initialize a constant value.

Creates a `Vec2` that can be used to initialize a constant value.

Creates a `Vec3` that can be used to initialize a constant value.

Creates a `Vec3A` that can be used to initialize a constant value.

Creates a `Vec4` that can be used to initialize a constant value.

## Structs

A 2D affine transform, which can represent translation, rotation, scaling and shear.

A 3D affine transform, which can represent translation, rotation, scaling and shear.

A 2-dimensional boolean vector.

A 3-dimensional boolean vector.

A 3-dimensional SIMD vector mask.

A 4-dimensional boolean vector.

A 4-dimensional SIMD vector mask.

A 2D affine transform, which can represent translation, rotation, scaling and shear.

A 3D affine transform, which can represent translation, rotation, scaling and shear.

A 2x2 column major matrix.

A 3x3 column major matrix.

A 4x4 column major matrix.

A quaternion representing an orientation.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2x2 column major matrix.

A 3x3 column major matrix.

A 3x3 column major matrix.

A 4x4 column major matrix.

A quaternion representing an orientation.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2-dimensional vector.

A 3-dimensional vector without SIMD support.

A 3-dimensional vector with SIMD support.

A 4-dimensional vector.

## Enums

Euler rotation sequences.

## Traits

Swizzle methods for 2-dimensional vector types.

Swizzle methods for 3-dimensional vector types.

Swizzle methods for 3-dimensional vector types.

## Functions

Creates a 2x2 matrix from two column vectors.

Creates a 3x3 matrix from three column vectors.

Creates a 4x4 matrix from four column vectors.

Creates a quaternion from `x`, `y`, `z` and `w` values.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

Creates a 2x2 matrix from two column vectors.

Creates a 3x3 matrix from three column vectors.

Creates a 3x3 matrix from three column vectors.

Creates a 4x4 matrix from four column vectors.

Creates a quaternion from `x`, `y`, `z` and `w` values.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7229929,"math_prob":0.98290515,"size":4052,"snap":"2022-40-2023-06","text_gpt3_token_len":972,"char_repetition_ratio":0.23913044,"word_repetition_ratio":0.6733436,"special_character_ratio":0.220385,"punctuation_ratio":0.13459119,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99522,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-02T09:47:11Z\",\"WARC-Record-ID\":\"<urn:uuid:9d7202e0-857f-4347-99f4-5b13d63810df>\",\"Content-Length\":\"48803\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:120f867a-1419-44a6-8f18-c813169466c3>\",\"WARC-Concurrent-To\":\"<urn:uuid:77ecb972-4fb7-4b5f-9789-5920def0a2bc>\",\"WARC-IP-Address\":\"108.138.85.22\",\"WARC-Target-URI\":\"https://docs.rs/rfw-math/0.2.0/rfw_math/\",\"WARC-Payload-Digest\":\"sha1:4PB424V3BXSKTZB2RQ3SD4ENHJGNG5LB\",\"WARC-Block-Digest\":\"sha1:SOXGZGCU6IB426JKJH33H22BSNQ2CVTM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337307.81_warc_CC-MAIN-20221002083954-20221002113954-00096.warc.gz\"}"}