TDenseMatrix::MakeDiagonal

Create a matrix with all elemets set to zero, except the diagonal elements.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/DenseMatrix.h

Include

#include "Chaos/DenseMatrix.h"

Syntax

static TDenseMatrix< MaxElements > MakeDiagonal
(
    const int32 InNumRows,
    const int32 InNumCols,
    const FReal D
)

Remarks

Create a matrix with all elemets set to zero, except the diagonal elements.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss