Skip to content

Commit

Permalink
add symb_matrix()
Browse files Browse the repository at this point in the history
  • Loading branch information
friendly committed Jul 30, 2024
1 parent 0588ccd commit 9423d7c
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: matlib
Type: Package
Title: Matrix Functions for Teaching and Learning Linear Algebra and
Multivariate Statistics
Version: 0.9.8
Date: 2024-07-22
Version: 0.9.9
Date: 2024-07-30
Authors@R: c(person(given = "Michael", family = "Friendly",
role=c("aut", "cre"), email="[email protected]",
comment=c(ORCID="0000-0002-3237-0941")),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export(showEqn)
export(svdDemo)
export(swp)
export(symMat)
export(symb_matrix)
export(tr)
export(vandermode)
export(vec)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# matlib 0.9.9

- added `symb_matrix()` to create a symbolic matrix

# matlib 0.9.8

- added `circle()` for drawing circles in diagrams
Expand Down
4 changes: 2 additions & 2 deletions dev/symb-matrix.R → R/symb-matrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
#' \code{"v"} uses vertical bars \code{"|", "|"};
#' \code{"V"} uses double vertical bars \code{"||", "||"};
#' \code{""} generates a plain matrix without delimeters
#' @param indent characters to indent each line
#' @param indent characters to indent each line [not yet implemented]
#'
#' @author Michael Friendly
#' @export
#' @examples
#' symb_matrix("x", rows = "n", cols = "m", brackets = "p) # default
#' symb_matrix("x", rows = "n", cols = "m", brackets = "p") # default
#' symb_matrix("\\beta", "p", "q")
#'
#' # numeric rows/cols
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

**Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics**, http://friendly.github.io/matlib/

Version 0.9.8
Version 0.9.9

These functions were originally designed for tutorial purposes in teaching & learning matrix algebra
ideas using R. In some cases, functions are provided for concepts or computations available
Expand Down
60 changes: 60 additions & 0 deletions man/symb_matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9423d7c

Please sign in to comment.