# The math/imath port

## Imath-3.2.1 – C++ and python library of 2D and 3D vector & matrix

## Description

    Imath is a basic, light-weight, and efficient C++ representation of 2D and 3D
    vectors and matrices and other simple but useful mathematical objects,
    functions, and data types common in computer graphics applications, including
    the "half" 16-bit floating-point type.

    Imath also includes python bindings for all types and functions, including
    optimized implementations of vector and matrix arrays.

    Features:
    * half: 16-bit floating-point type
    * Vector: V2s, V2i, V2i64, V2f, V2d, V3s, V3i, V4i64, V3f, V3d, V4s, V4i, V4i64, V4f, V4d
    * Matrix: M22f, M22d, M33f, M33d, M44f, M44d
    * Bounding box: Box2s, Box2i, Box2i64, Box2f, Box2d, Box3s, Box3i, Box3i64, Box3f, Box3d
    * Color: C3h, C3f, C3c, C4f, C4h, C4c
    * Euler angles: Eulerf, Eulerd
    * Quaternion: Quatf, Quatd
    * Viewing frustum: Frustrumf, Frustumd
    * Interval: Intervals, Intervali, Intervalf, Intervald
    * Line: Line3f, Line3d
    * Plane: Plane3f, Plane3d
    * Sphere: Sphere3f, Sphere3d
    * Shear: Shear3f, Shear3d, Shear6f, Shear6
    * Miscellaneous math functions

WWW: https://github.com/AcademySoftwareFoundation/Imath

Only for arches
  aarch64 aarch64 alpha alpha amd64 amd64 arm arm hppa hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sh sparc64 sparc64
Categories:
  devel graphics lang/python math

## Library dependencies

- STEM->=8,<9:lang/gcc/8,-libs
- devel/boost

## Build dependencies

- STEM->=8,<9:lang/gcc/8
- STEM->=8,<9:lang/gcc/8,-c++
- devel/cmake/core
- devel/ninja
- lang/python/3
- math/py-numpy

## Run dependencies

- lang/python/3