Skip to content

lalg

Contains functions related to matrices and linear algebra. More...

Functions

Name
template <typename D >
var::matrix< D >
eye(int n)
Produeces identity matrix of length n
template <typename D >
var::matrix< D >
perms(D a, D b)

Detailed Description

Contains functions related to matrices and linear algebra.

Short for Linear ALGebra

Functions Documentation

function eye

template <typename D >
var::matrix< D > eye(
    int n
)

Produeces identity matrix of length n

Parameters:

  • n

Template Parameters:

  • D

Return: var::matrix<D>

function perms

template <typename D >
var::matrix< D > perms(
    D a,
    D b
)

Updated on 4 September 2022 at 18:30:41 EEST