matGetMatElem: Matrix of strings from base-element and column and row...

View source: R/tex_helper.R

matGetMatElemR Documentation

Matrix of strings from base-element and column and row indices

Description

Given a symbolic Matrix M with a certain dimension, we want to specify the components of M based on a given prefix of the components and the column and row indices of each component.

Usage

matGetMatElem(psBaseElement, pnNrRow, pnNrCol, psResult = "raw")

Arguments

psBaseElement

character prefix shown in front of indices

pnNrRow

number of rows

pnNrCol

number of columns

psResultFmt

format of result, currently only raw or latex is considered

Details

The result can either be in raw format Mij or in LaTeX-Math notation M_ij. The type of result is specified by the option psResultFmt. The only options that are currently recogized are latex and raw. If anything else is specified as format, it is raw per default.

Value

Matrix of strings containing the components


charlotte-ngs/rmdhelp documentation built on Oct. 31, 2023, 10:21 a.m.