MatrixL

API Reference - Matrix Operations - Exponent

Code Sample


local matrix = {
	
	{-100, -100, 100},
	{-100, -100, 100},

}

local result1 = MatrixL:exp(matrix, matrix, matrix)

local result2 = MatrixL:exp(matrix, 100)

MatrixL:printMatrix(result1)

MatrixL:printMatrix(result2)

Function

exp(...): matrix

Arguments:

… : any number of matrices or scalar. The first argument is the base for second argument, the second argument is the base for third argument, and so on.

Returns

result: the resultant matrix after operations have been applied.