create_block_diagonal {nnR}R Documentation

Function for creating a block diagonal given two matrices.

Description

Function for creating a block diagonal given two matrices.

Usage

create_block_diagonal(matrix1, matrix2)

Arguments

matrix1

A matrix.

matrix2

A matrix

Value

A block diagonal matrix with matrix1 on top left and matrix2 on bottom right.


[Package nnR version 0.1.0 Index]