Class MatrixUtils | Barracuda | 0.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class MatrixUtils

    Inheritance
    Object
    MatrixUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public class MatrixUtils

    Methods

    ClearFloatArray(Single*, Single, Int32)

    Declaration
    public static void ClearFloatArray(float *arr, float val, int count)
    Parameters
    Type Name Description
    Single* arr
    Single val
    Int32 count

    CopyBlockWithPadding(Single*, Int32, Int32, Int32, Int32, Single*, Int32, Boolean)

    Declaration
    public static void CopyBlockWithPadding(float *matrixIn, int row, int N, int col, int M, float *blockOut, int bs, bool transpose = false)
    Parameters
    Type Name Description
    Single* matrixIn
    Int32 row
    Int32 N
    Int32 col
    Int32 M
    Single* blockOut
    Int32 bs
    Boolean transpose

    CopyBlockWithPadding(Single*, Int32, Int32, Int32, Int32, Single[], Int32, Boolean)

    Declaration
    public static void CopyBlockWithPadding(float *matrixIn, int row, int N, int col, int M, float[] blockOut, int bs, bool transpose = false)
    Parameters
    Type Name Description
    Single* matrixIn
    Int32 row
    Int32 N
    Int32 col
    Int32 M
    Single[] blockOut
    Int32 bs
    Boolean transpose

    CopyBlockWithPadding(Single*, Single*, Int32, Int32, Int32, Int32, Int32)

    Declaration
    public static void CopyBlockWithPadding(float *blockOut, float *matrixIn, int row, int N, int col, int M, int bs)
    Parameters
    Type Name Description
    Single* blockOut
    Single* matrixIn
    Int32 row
    Int32 N
    Int32 col
    Int32 M
    Int32 bs

    CopyBlockWithPadding(Single[], Single*, Int32, Int32, Int32, Int32, Int32)

    Declaration
    public static void CopyBlockWithPadding(float[] blockOut, float *matrixIn, int row, int N, int col, int M, int bs)
    Parameters
    Type Name Description
    Single[] blockOut
    Single* matrixIn
    Int32 row
    Int32 N
    Int32 col
    Int32 M
    Int32 bs

    CopyFloatArray(Single*, Single*, Int32)

    Declaration
    public static void CopyFloatArray(float *from, float *to, int count)
    Parameters
    Type Name Description
    Single* from
    Single* to
    Int32 count

    MultiplyBlockUnroll8xhPadded(Single*, Single*, Single*, Int32)

    Declaration
    public static void MultiplyBlockUnroll8xhPadded(float *Ap, float *Bp, float *Cp, int bs)
    Parameters
    Type Name Description
    Single* Ap
    Single* Bp
    Single* Cp
    Int32 bs

    MultiplyBlockUnroll8xhParallelWithPadding(Single*, Int32, Int32, Single*, Int32, Int32, Single*, Int32, Int32, Int32, Boolean, Boolean)

    Declaration
    public static void MultiplyBlockUnroll8xhParallelWithPadding(float *Ap, int AN, int AM, float *Bp, int BN, int BM, float *Cp, int CN, int CM, int bs, bool transposeA = false, bool transposeB = false)
    Parameters
    Type Name Description
    Single* Ap
    Int32 AN
    Int32 AM
    Single* Bp
    Int32 BN
    Int32 BM
    Single* Cp
    Int32 CN
    Int32 CM
    Int32 bs
    Boolean transposeA
    Boolean transposeB
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023